public class GenericBucketRequest extends AmazonWebServiceRequest implements java.io.Serializable
Constructor and Description |
---|
GenericBucketRequest(java.lang.String bucketName)
Create a generic request for a bucket operation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBucket()
Deprecated.
Use getBucketName() instead.
|
java.lang.String |
getBucketName()
Returns the name of the target bucket.
|
void |
setBucketName(java.lang.String bucketName)
Sets the name of the target bucket.
|
GenericBucketRequest |
withBucketName(java.lang.String bucketName)
Sets the name of the target bucket, and returns this updated request
object so that additional method calls can be chained together.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public GenericBucketRequest(java.lang.String bucketName)
bucketName
- The name of the target bucket.@Deprecated public java.lang.String getBucket()
public java.lang.String getBucketName()
public void setBucketName(java.lang.String bucketName)
public GenericBucketRequest withBucketName(java.lang.String bucketName)
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.