public static final class CfnLocationS3Props.Builder
extends java.lang.Object
CfnLocationS3Props
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLocationS3Props |
build()
Builds the configured instance.
|
CfnLocationS3Props.Builder |
s3BucketArn(java.lang.String s3BucketArn)
Sets the value of
CfnLocationS3Props.getS3BucketArn() |
CfnLocationS3Props.Builder |
s3Config(CfnLocationS3.S3ConfigProperty s3Config)
Sets the value of
CfnLocationS3Props.getS3Config() |
CfnLocationS3Props.Builder |
s3Config(IResolvable s3Config)
Sets the value of
CfnLocationS3Props.getS3Config() |
CfnLocationS3Props.Builder |
s3StorageClass(java.lang.String s3StorageClass)
Sets the value of
CfnLocationS3Props.getS3StorageClass() |
CfnLocationS3Props.Builder |
subdirectory(java.lang.String subdirectory)
Sets the value of
CfnLocationS3Props.getSubdirectory() |
CfnLocationS3Props.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnLocationS3Props.getTags() |
public CfnLocationS3Props.Builder s3Config(IResolvable s3Config)
CfnLocationS3Props.getS3Config()
s3Config
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that is used to access an Amazon S3 bucket. This parameter is required.
For detailed information about using such a role, see Creating a Location for Amazon S3 in the AWS DataSync User Guide .this
public CfnLocationS3Props.Builder s3Config(CfnLocationS3.S3ConfigProperty s3Config)
CfnLocationS3Props.getS3Config()
s3Config
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that is used to access an Amazon S3 bucket. This parameter is required.
For detailed information about using such a role, see Creating a Location for Amazon S3 in the AWS DataSync User Guide .this
public CfnLocationS3Props.Builder s3BucketArn(java.lang.String s3BucketArn)
CfnLocationS3Props.getS3BucketArn()
s3BucketArn
- The ARN of the Amazon S3 bucket.this
public CfnLocationS3Props.Builder s3StorageClass(java.lang.String s3StorageClass)
CfnLocationS3Props.getS3StorageClass()
s3StorageClass
- The Amazon S3 storage class that you want to store your files in when this location is used as a task destination.
For buckets in AWS Regions , the storage class defaults to S3 Standard.
For more information about S3 storage classes, see Amazon S3 Storage Classes . Some storage classes have behaviors that can affect your S3 storage costs. For detailed information, see Considerations When Working with Amazon S3 Storage Classes in DataSync .
this
public CfnLocationS3Props.Builder subdirectory(java.lang.String subdirectory)
CfnLocationS3Props.getSubdirectory()
subdirectory
- A subdirectory in the Amazon S3 bucket.
This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.this
public CfnLocationS3Props.Builder tags(java.util.List<? extends CfnTag> tags)
CfnLocationS3Props.getTags()
tags
- The key-value pair that represents the tag that you want to add to the location.
The value can be an empty string. We recommend using tags to name your resources.this
public CfnLocationS3Props build()
CfnLocationS3Props
java.lang.NullPointerException
- if any required attribute was not provided