Package com.amazonaws.services.s3.model
Class SetBucketAccelerateConfigurationRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.SetBucketAccelerateConfigurationRequest
- All Implemented Interfaces:
ReadLimitInfo
,Cloneable
Contains options for setting the accelerate configuration for a bucket.
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionSetBucketAccelerateConfigurationRequest
(String bucketName, BucketAccelerateConfiguration configuration) Constructs a newSetBucketAccelerateConfigurationRequest
to set the bucket accelerate configuration of the specified bucket. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setAccelerateConfiguration
(BucketAccelerateConfiguration accelerateConfiguration) Sets the new accelerate configuration for the specified bucket.void
setBucketName
(String bucketName) Sets the name of the bucket whose accelerate configuration is being set.withAccelerateConfiguration
(BucketAccelerateConfiguration accelerateConfiguration) Fluent setter method forsetAccelerateConfiguration(BucketAccelerateConfiguration)
withBucketName
(String bucketName) Fluent setter method forsetBucketName(String)
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
clone, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
SetBucketAccelerateConfigurationRequest
public SetBucketAccelerateConfigurationRequest(String bucketName, BucketAccelerateConfiguration configuration) Constructs a newSetBucketAccelerateConfigurationRequest
to set the bucket accelerate configuration of the specified bucket.- Parameters:
bucketName
- The name of the bucket whose accelerate configuration is being set.configuration
- The new accelerate configuration for the specified bucket.
-
-
Method Details
-
getBucketName
- Returns:
- The name of the bucket whose accelerate configuration is being set.
-
setBucketName
Sets the name of the bucket whose accelerate configuration is being set.- Parameters:
bucketName
- The name of the bucket whose accelerate configuration is being set.- See Also:
-
withBucketName
Fluent setter method forsetBucketName(String)
- Returns:
- This
SetBucketAccelerateConfigurationRequest
object so that additional method calls may be chained together. - See Also:
-
getAccelerateConfiguration
- Returns:
- The new accelerate configuration for the specified bucket.
-
setAccelerateConfiguration
Sets the new accelerate configuration for the specified bucket.- Parameters:
accelerateConfiguration
- The new accelerate configuration for the specified bucket.
-
withAccelerateConfiguration
public SetBucketAccelerateConfigurationRequest withAccelerateConfiguration(BucketAccelerateConfiguration accelerateConfiguration) Fluent setter method forsetAccelerateConfiguration(BucketAccelerateConfiguration)
- Returns:
- This
SetBucketAccelerateConfigurationRequest
object so that additional method calls may be chained together. - See Also:
-