Class CfnTask.S3Property.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.CfnTask.S3Property.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnTask.S3Property>
- Enclosing interface:
- CfnTask.S3Property
@Stability(Stable)
public static final class CfnTask.S3Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTask.S3Property>
A builder for 
CfnTask.S3Property- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbucketAccessRoleArn(String bucketAccessRoleArn) Sets the value ofCfnTask.S3Property.getBucketAccessRoleArn()build()Builds the configured instance.s3BucketArn(String s3BucketArn) Sets the value ofCfnTask.S3Property.getS3BucketArn()subdirectory(String subdirectory) Sets the value ofCfnTask.S3Property.getSubdirectory()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
bucketAccessRoleArn@Stability(Stable) public CfnTask.S3Property.Builder bucketAccessRoleArn(String bucketAccessRoleArn) Sets the value ofCfnTask.S3Property.getBucketAccessRoleArn()- Parameters:
- bucketAccessRoleArn- the value to be set.
- Returns:
- this
 
- 
s3BucketArnSets the value ofCfnTask.S3Property.getS3BucketArn()- Parameters:
- s3BucketArn- the value to be set.
- Returns:
- this
 
- 
subdirectorySets the value ofCfnTask.S3Property.getSubdirectory()- Parameters:
- subdirectory- the value to be set.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnTask.S3Property>
- Returns:
- a new instance of CfnTask.S3Property
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-