public class DeleteBucketOwnershipControlsRequest extends AmazonWebServiceRequest implements Serializable, ExpectedBucketOwnerRequest
The Amazon S3 bucket whose OwnershipControls
you want to delete.
NOOP
Constructor and Description |
---|
DeleteBucketOwnershipControlsRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Returns the name of the bucket from which the ownership control is deleted.
|
String |
getExpectedBucketOwner()
Returns he account id of the expected bucket owner.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket from which the ownership control is deleted.
|
void |
setExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
DeleteBucketOwnershipControlsRequest |
withBucketName(String bucketName)
Sets the name of the bucket from which the ownership control is deleted
and returns this object for method chaining.
|
DeleteBucketOwnershipControlsRequest |
withExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
addHandlerContext, clone, 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 DeleteBucketOwnershipControlsRequest()
public String getBucketName()
public void setBucketName(String bucketName)
public DeleteBucketOwnershipControlsRequest withBucketName(String bucketName)
public String getExpectedBucketOwner()
ExpectedBucketOwnerRequest
403 (Access Denied)
error.getExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public DeleteBucketOwnershipControlsRequest 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