public class GetBucketLocationRequest extends AmazonWebServiceRequest
CreateBucketRequest
NOOP
Constructor and Description |
---|
GetBucketLocationRequest(String bucketName)
Constructs a new request object to create a new bucket with the specified
name.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Returns the name of the bucket whose location is being requested.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket whose location is being requested.
|
GetBucketLocationRequest |
withBucketName(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, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public GetBucketLocationRequest(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 String getBucketName()
public void setBucketName(String bucketName)
bucketName
- The name of the bucket whose location is being requested.public GetBucketLocationRequest withBucketName(String bucketName)
bucketName
- The name of the bucket whose location is being requested.Copyright © 2015. All rights reserved.