public class GetBucketEncryptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, ExpectedBucketOwnerRequest
Represents the input of a GetBucketEncryption operation.
NOOP| Constructor and Description |
|---|
GetBucketEncryptionRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetBucketEncryptionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBucketName() |
String |
getExpectedBucketOwner()
The account id of the expected bucket owner.
|
int |
hashCode() |
void |
setBucketName(String bucketName)
The name of the bucket for which to retrieve the encryption configuration.
|
void |
setExpectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetBucketEncryptionRequest |
withBucketName(String bucketName)
The name of the bucket for which to retrieve delete the encryption configuration.
|
GetBucketEncryptionRequest |
withExpectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getExpectedBucketOwner()
ExpectedBucketOwnerRequestgetExpectedBucketOwner in interface ExpectedBucketOwnerRequestpublic GetBucketEncryptionRequest withExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequestwithExpectedBucketOwner in interface ExpectedBucketOwnerRequestpublic void setExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequestsetExpectedBucketOwner in interface ExpectedBucketOwnerRequestpublic String getBucketName()
public void setBucketName(String bucketName)
bucketName - Bucket name.public GetBucketEncryptionRequest withBucketName(String bucketName)
bucketName - Bucket name.public String toString()
toString in class ObjectObject.toString()public GetBucketEncryptionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()