Package com.amazonaws.services.s3.model
Class GenericBucketRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.GenericBucketRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- Direct Known Subclasses:
DeleteBucketCrossOriginConfigurationRequest
,DeleteBucketLifecycleConfigurationRequest
,DeleteBucketReplicationConfigurationRequest
,DeleteBucketTaggingConfigurationRequest
,DeleteBucketWebsiteConfigurationRequest
,GetBucketAccelerateConfigurationRequest
,GetBucketCrossOriginConfigurationRequest
,GetBucketLifecycleConfigurationRequest
,GetBucketLoggingConfigurationRequest
,GetBucketNotificationConfigurationRequest
,GetBucketReplicationConfigurationRequest
,GetBucketTaggingConfigurationRequest
,GetBucketVersioningConfigurationRequest
Generic request container for web service requests on buckets.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionGenericBucketRequest
(String bucketName) Create a generic request for a bucket operation. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Use getBucketName() instead.Returns the name of the target bucket.void
setBucketName
(String bucketName) Sets the name of the target bucket.withBucketName
(String bucketName) Sets the name of the target bucket, and returns this updated request object so that additional method calls can be chained together.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
-
GenericBucketRequest
Create a generic request for a bucket operation.- Parameters:
bucketName
- The name of the target bucket.
-
-
Method Details
-
getBucket
Deprecated.Use getBucketName() instead. -
getBucketName
Returns the name of the target bucket.- Returns:
- The name of the target bucket
-
setBucketName
Sets the name of the target bucket. -
withBucketName
Sets the name of the target bucket, and returns this updated request object so that additional method calls can be chained together.- Returns:
- This updated request object so that additional method calls can be chained together.
-