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() |
boolean |
equals(Object obj) |
String |
getBucketName() |
String |
getExpectedBucketOwner()
Returns he 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)
Set 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)
Set the account id of the expected bucket owner.
|
addHandlerContext, copyBaseTo, 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
403 (Access Denied)
error.getExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public DeleteBucketEncryptionRequest withExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest
403 (Access Denied)
error.withExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public void setExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest
403 (Access Denied)
error.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()
clone
in class AmazonWebServiceRequest
Copyright © 2022. All rights reserved.