Class CfnTransformer.SampleDocumentsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.b2bi.CfnTransformer.SampleDocumentsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransformer.SampleDocumentsProperty>
- Enclosing interface:
CfnTransformer.SampleDocumentsProperty
@Stability(Stable)
public static final class CfnTransformer.SampleDocumentsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransformer.SampleDocumentsProperty>
A builder for
CfnTransformer.SampleDocumentsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnTransformer.SampleDocumentsProperty.getBucketName()build()Builds the configured instance.Sets the value ofCfnTransformer.SampleDocumentsProperty.getKeys()keys(IResolvable keys) Sets the value ofCfnTransformer.SampleDocumentsProperty.getKeys()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnTransformer.SampleDocumentsProperty.Builder bucketName(String bucketName) Sets the value ofCfnTransformer.SampleDocumentsProperty.getBucketName()- Parameters:
bucketName- Contains the Amazon S3 bucket that is used to hold your sample documents. This parameter is required.- Returns:
this
-
keys
Sets the value ofCfnTransformer.SampleDocumentsProperty.getKeys()- Parameters:
keys- Contains an array of the Amazon S3 keys used to identify the location for your sample documents. This parameter is required.- Returns:
this
-
keys
@Stability(Stable) public CfnTransformer.SampleDocumentsProperty.Builder keys(List<? extends Object> keys) Sets the value ofCfnTransformer.SampleDocumentsProperty.getKeys()- Parameters:
keys- Contains an array of the Amazon S3 keys used to identify the location for your sample documents. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransformer.SampleDocumentsProperty>- Returns:
- a new instance of
CfnTransformer.SampleDocumentsProperty - Throws:
NullPointerException- if any required attribute was not provided
-