Class CfnParallelDataProps.Builder
java.lang.Object
software.amazon.awscdk.services.translate.CfnParallelDataProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnParallelDataProps>
- Enclosing interface:
CfnParallelDataProps
@Stability(Stable)
public static final class CfnParallelDataProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnParallelDataProps>
A builder for
CfnParallelDataProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnParallelDataProps.getDescription()encryptionKey(IResolvable encryptionKey) Sets the value ofCfnParallelDataProps.getEncryptionKey()encryptionKey(CfnParallelData.EncryptionKeyProperty encryptionKey) Sets the value ofCfnParallelDataProps.getEncryptionKey()Sets the value ofCfnParallelDataProps.getName()parallelDataConfig(IResolvable parallelDataConfig) Sets the value ofCfnParallelDataProps.getParallelDataConfig()parallelDataConfig(CfnParallelData.ParallelDataConfigProperty parallelDataConfig) Sets the value ofCfnParallelDataProps.getParallelDataConfig()tags(List<? extends CfnParallelData.TagsItemsProperty> tags) Sets the value ofCfnParallelDataProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnParallelDataProps.getName()- Parameters:
name- A custom name for the parallel data resource. This parameter is required. Must be unique in the account and region.- Returns:
this
-
parallelDataConfig
@Stability(Stable) public CfnParallelDataProps.Builder parallelDataConfig(IResolvable parallelDataConfig) Sets the value ofCfnParallelDataProps.getParallelDataConfig()- Parameters:
parallelDataConfig- Specifies the format and S3 location of the parallel data input file. This parameter is required.- Returns:
this
-
parallelDataConfig
@Stability(Stable) public CfnParallelDataProps.Builder parallelDataConfig(CfnParallelData.ParallelDataConfigProperty parallelDataConfig) Sets the value ofCfnParallelDataProps.getParallelDataConfig()- Parameters:
parallelDataConfig- Specifies the format and S3 location of the parallel data input file. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnParallelDataProps.getDescription()- Parameters:
description- A custom description for the parallel data resource.- Returns:
this
-
encryptionKey
Sets the value ofCfnParallelDataProps.getEncryptionKey()- Parameters:
encryptionKey- The encryption key used to encrypt this object.- Returns:
this
-
encryptionKey
@Stability(Stable) public CfnParallelDataProps.Builder encryptionKey(CfnParallelData.EncryptionKeyProperty encryptionKey) Sets the value ofCfnParallelDataProps.getEncryptionKey()- Parameters:
encryptionKey- The encryption key used to encrypt this object.- Returns:
this
-
tags
@Stability(Stable) public CfnParallelDataProps.Builder tags(List<? extends CfnParallelData.TagsItemsProperty> tags) Sets the value ofCfnParallelDataProps.getTags()- Parameters:
tags- Tags associated with the parallel data resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnParallelDataProps>- Returns:
- a new instance of
CfnParallelDataProps - Throws:
NullPointerException- if any required attribute was not provided
-