Interface UpdateLocationS3Request.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLocationS3Request.Builder,UpdateLocationS3Request>,DataSyncRequest.Builder,SdkBuilder<UpdateLocationS3Request.Builder,UpdateLocationS3Request>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateLocationS3Request
public static interface UpdateLocationS3Request.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateLocationS3Request.Builder,UpdateLocationS3Request>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateLocationS3Request.BuilderlocationArn(String locationArn)Specifies the Amazon Resource Name (ARN) of the Amazon S3 transfer location that you're updating.UpdateLocationS3Request.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateLocationS3Request.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateLocationS3Request.Builders3Config(Consumer<S3Config.Builder> s3Config)Sets the value of the S3Config property for this object.UpdateLocationS3Request.Builders3Config(S3Config s3Config)Sets the value of the S3Config property for this object.UpdateLocationS3Request.Builders3StorageClass(String s3StorageClass)Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.UpdateLocationS3Request.Builders3StorageClass(S3StorageClass s3StorageClass)Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.UpdateLocationS3Request.Buildersubdirectory(String subdirectory)Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a source or destination 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
locationArn
UpdateLocationS3Request.Builder locationArn(String locationArn)
Specifies the Amazon Resource Name (ARN) of the Amazon S3 transfer location that you're updating.
- Parameters:
locationArn- Specifies the Amazon Resource Name (ARN) of the Amazon S3 transfer location that you're updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subdirectory
UpdateLocationS3Request.Builder subdirectory(String subdirectory)
Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a source or destination location).
DataSync can't transfer objects with a prefix that begins with a slash (
/) or includes//,/./, or/../patterns. For example:-
/photos -
photos//2006/January -
photos/./2006/February -
photos/../2006/March
- Parameters:
subdirectory- Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a source or destination location).DataSync can't transfer objects with a prefix that begins with a slash (
/) or includes//,/./, or/../patterns. For example:-
/photos -
photos//2006/January -
photos/./2006/February -
photos/../2006/March
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
s3StorageClass
UpdateLocationS3Request.Builder s3StorageClass(String s3StorageClass)
Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.
For buckets in Amazon Web Services Regions, the storage class defaults to
STANDARD. For buckets on Outposts, the storage class defaults toOUTPOSTS.For more information, see Storage class considerations with Amazon S3 transfers.
- Parameters:
s3StorageClass- Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.For buckets in Amazon Web Services Regions, the storage class defaults to
STANDARD. For buckets on Outposts, the storage class defaults toOUTPOSTS.For more information, see Storage class considerations with Amazon S3 transfers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
S3StorageClass,S3StorageClass
-
s3StorageClass
UpdateLocationS3Request.Builder s3StorageClass(S3StorageClass s3StorageClass)
Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.
For buckets in Amazon Web Services Regions, the storage class defaults to
STANDARD. For buckets on Outposts, the storage class defaults toOUTPOSTS.For more information, see Storage class considerations with Amazon S3 transfers.
- Parameters:
s3StorageClass- Specifies the storage class that you want your objects to use when Amazon S3 is a transfer destination.For buckets in Amazon Web Services Regions, the storage class defaults to
STANDARD. For buckets on Outposts, the storage class defaults toOUTPOSTS.For more information, see Storage class considerations with Amazon S3 transfers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
S3StorageClass,S3StorageClass
-
s3Config
UpdateLocationS3Request.Builder s3Config(S3Config 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
default UpdateLocationS3Request.Builder s3Config(Consumer<S3Config.Builder> s3Config)
Sets the value of the S3Config property for this object. This is a convenience method that creates an instance of theS3Config.Builderavoiding the need to create one manually viaS3Config.builder().When the
Consumercompletes,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:
s3Config(S3Config)
-
overrideConfiguration
UpdateLocationS3Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateLocationS3Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-