Interface CreateLocationS3Request.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLocationS3Request.Builder,
,CreateLocationS3Request> DataSyncRequest.Builder
,SdkBuilder<CreateLocationS3Request.Builder,
,CreateLocationS3Request> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLocationS3Request
-
Method Summary
Modifier and TypeMethodDescriptionIf you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the DataSync agents deployed on your Outpost.agentArns
(Collection<String> agentArns) If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the DataSync agents deployed on your Outpost.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.s3BucketArn
(String s3BucketArn) The ARN of the Amazon S3 bucket.default CreateLocationS3Request.Builder
s3Config
(Consumer<S3Config.Builder> s3Config) Sets the value of the S3Config property for this object.Sets the value of the S3Config property for this object.s3StorageClass
(String s3StorageClass) The Amazon S3 storage class that you want to store your files in when this location is used as a task destination.s3StorageClass
(S3StorageClass s3StorageClass) The Amazon S3 storage class that you want to store your files in when this location is used as a task destination.subdirectory
(String subdirectory) A subdirectory in the Amazon S3 bucket.tags
(Collection<TagListEntry> tags) The key-value pair that represents the tag that you want to add to the location.tags
(Consumer<TagListEntry.Builder>... tags) The key-value pair that represents the tag that you want to add to the location.tags
(TagListEntry... tags) The key-value pair that represents the tag that you want to add to the location.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketArn
The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web Services Outpost, this must be an access point ARN.
- Parameters:
s3BucketArn
- The ARN of the Amazon S3 bucket. If the bucket is on an Amazon Web Services Outpost, this must be an access point ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 Amazon Web Services Regions, the storage class defaults to Standard. For buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.
For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
- Parameters:
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 Amazon Web Services Regions, the storage class defaults to Standard. For buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 Amazon Web Services Regions, the storage class defaults to Standard. For buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.
For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
- Parameters:
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 Amazon Web Services Regions, the storage class defaults to Standard. For buckets on Outposts, the storage class defaults to Amazon Web Services S3 Outposts.For more information about S3 storage classes, see Amazon S3 Storage Classes. Some storage classes have behaviors that can affect your S3 storage cost. For detailed information, see Considerations when working with S3 storage classes in DataSync.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Config
Sets the value of the S3Config property for this object.- Parameters:
s3Config
- The new value for the S3Config property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Config
Sets the value of the S3Config property for this object. This is a convenience method that creates an instance of theS3Config.Builder
avoiding the need to create one manually viaS3Config.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Config(S3Config)
.- Parameters:
s3Config
- a consumer that will call methods onS3Config.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentArns
If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.
- Parameters:
agentArns
- If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentArns
If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.
- Parameters:
agentArns
- If you're using DataSync on an Amazon Web Services Outpost, specify the Amazon Resource Names (ARNs) of the DataSync agents deployed on your Outpost. For more information about launching a DataSync agent on an Amazon Web Services Outpost, see Deploy your DataSync agent on Outposts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 is a convenience method that creates an instance of theTagListEntry.Builder
avoiding the need to create one manually viaTagListEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<TagListEntry>)
.- Parameters:
tags
- a consumer that will call methods onTagListEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateLocationS3Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLocationS3Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-