public class DeleteBucketEncryptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, ExpectedBucketOwnerRequest
Represents the input of a DeleteBucketEncryption
operation.
NOOP
Constructor and Description |
---|
DeleteBucketEncryptionRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteBucketEncryptionRequest |
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 delete 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.
|
DeleteBucketEncryptionRequest |
withBucketName(String bucket)
The name of the bucket for which to delete the encryption configuration.
|
DeleteBucketEncryptionRequest |
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, withSdkRequestTimeout
public String getExpectedBucketOwner()
ExpectedBucketOwnerRequest
getExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public DeleteBucketEncryptionRequest withExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest
withExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public void setExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest
setExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public String getBucketName()
public void setBucketName(String bucketName)
bucketName
- Bucket name.public DeleteBucketEncryptionRequest withBucketName(String bucket)
bucket
- Bucket name.public String toString()
toString
in class Object
Object.toString()
public DeleteBucketEncryptionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()