Class CfnTask.ManifestConfigSourceS3Property.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.CfnTask.ManifestConfigSourceS3Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTask.ManifestConfigSourceS3Property>
- Enclosing interface:
CfnTask.ManifestConfigSourceS3Property
@Stability(Stable)
public static final class CfnTask.ManifestConfigSourceS3Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTask.ManifestConfigSourceS3Property>
A builder for
CfnTask.ManifestConfigSourceS3Property-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketAccessRoleArn(String bucketAccessRoleArn) Sets the value ofCfnTask.ManifestConfigSourceS3Property.getBucketAccessRoleArn()build()Builds the configured instance.manifestObjectPath(String manifestObjectPath) Sets the value ofCfnTask.ManifestConfigSourceS3Property.getManifestObjectPath()manifestObjectVersionId(String manifestObjectVersionId) Sets the value ofCfnTask.ManifestConfigSourceS3Property.getManifestObjectVersionId()s3BucketArn(String s3BucketArn) Sets the value ofCfnTask.ManifestConfigSourceS3Property.getS3BucketArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketAccessRoleArn
@Stability(Stable) public CfnTask.ManifestConfigSourceS3Property.Builder bucketAccessRoleArn(String bucketAccessRoleArn) Sets the value ofCfnTask.ManifestConfigSourceS3Property.getBucketAccessRoleArn()- Parameters:
bucketAccessRoleArn- Specifies the AWS Identity and Access Management (IAM) role that allows DataSync to access your manifest.- Returns:
this
-
manifestObjectPath
@Stability(Stable) public CfnTask.ManifestConfigSourceS3Property.Builder manifestObjectPath(String manifestObjectPath) Sets the value ofCfnTask.ManifestConfigSourceS3Property.getManifestObjectPath()- Parameters:
manifestObjectPath- Specifies the Amazon S3 object key of your manifest.- Returns:
this
-
manifestObjectVersionId
@Stability(Stable) public CfnTask.ManifestConfigSourceS3Property.Builder manifestObjectVersionId(String manifestObjectVersionId) Sets the value ofCfnTask.ManifestConfigSourceS3Property.getManifestObjectVersionId()- Parameters:
manifestObjectVersionId- Specifies the object version ID of the manifest that you want DataSync to use.- Returns:
this
-
s3BucketArn
@Stability(Stable) public CfnTask.ManifestConfigSourceS3Property.Builder s3BucketArn(String s3BucketArn) Sets the value ofCfnTask.ManifestConfigSourceS3Property.getS3BucketArn()- Parameters:
s3BucketArn- Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting your manifest.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTask.ManifestConfigSourceS3Property>- Returns:
- a new instance of
CfnTask.ManifestConfigSourceS3Property - Throws:
NullPointerException- if any required attribute was not provided
-