Class CfnTerminology.TerminologyDataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.translate.CfnTerminology.TerminologyDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTerminology.TerminologyDataProperty>
- Enclosing interface:
CfnTerminology.TerminologyDataProperty
@Stability(Stable)
public static final class CfnTerminology.TerminologyDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTerminology.TerminologyDataProperty>
A builder for
CfnTerminology.TerminologyDataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.directionality(String directionality) Sets the value ofCfnTerminology.TerminologyDataProperty.getDirectionality()Sets the value ofCfnTerminology.TerminologyDataProperty.getFile()Sets the value ofCfnTerminology.TerminologyDataProperty.getFormat()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
file
Sets the value ofCfnTerminology.TerminologyDataProperty.getFile()- Parameters:
file- The file containing the custom terminology data, base64-encoded. This parameter is required.- Returns:
this
-
format
Sets the value ofCfnTerminology.TerminologyDataProperty.getFormat()- Parameters:
format- The data format of the custom terminology. This parameter is required.- Returns:
this
-
directionality
@Stability(Stable) public CfnTerminology.TerminologyDataProperty.Builder directionality(String directionality) Sets the value ofCfnTerminology.TerminologyDataProperty.getDirectionality()- Parameters:
directionality- The directionality of the terminology resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTerminology.TerminologyDataProperty>- Returns:
- a new instance of
CfnTerminology.TerminologyDataProperty - Throws:
NullPointerException- if any required attribute was not provided
-