public class GetBucketLocationRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateBucketRequest
,
Serialized FormModifier and Type | Field and Description |
---|---|
private java.lang.String |
bucketName
The name of the bucket whose location is being requested.
|
NOOP
Constructor and Description |
---|
GetBucketLocationRequest(java.lang.String bucketName)
Constructs a new request object to create a new bucket with the specified
name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucketName()
Returns the name of the bucket whose location is being requested.
|
void |
setBucketName(java.lang.String bucketName)
Sets the name of the bucket whose location is being requested.
|
GetBucketLocationRequest |
withBucketName(java.lang.String bucketName)
Sets the name of the bucket whose location is being requested, and
returns this updated object so that additional method calls can be
chained together.
|
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
private java.lang.String bucketName
public GetBucketLocationRequest(java.lang.String bucketName)
When choosing a bucket name, keep in mind that Amazon S3 bucket names are globally unique.
bucketName
- The name for the new bucket.public java.lang.String getBucketName()
public void setBucketName(java.lang.String bucketName)
bucketName
- The name of the bucket whose location is being requested.public GetBucketLocationRequest withBucketName(java.lang.String bucketName)
bucketName
- The name of the bucket whose location is being requested.