|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.GetBucketLocationRequest
public class GetBucketLocationRequest
Provides options for requesting an Amazon S3 bucket's location. You can choose a bucket's location when creating it to ensure that the data stored in your bucket is geographically close to the applications or customers accessing your data.
CreateBucketRequest
Constructor Summary | |
---|---|
GetBucketLocationRequest(String bucketName)
Constructs a new request object to create a new bucket with the specified name. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |