public class GetBucketOwnershipControlsRequest extends AmazonWebServiceRequest implements Serializable, ExpectedBucketOwnerRequest
The name of the Amazon S3 bucket whose OwnershipControls
you want to retrieve.
NOOP
Constructor and Description |
---|
GetBucketOwnershipControlsRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Returns the name of the bucket containing the ownership controls to retrieve.
|
String |
getExpectedBucketOwner()
The account id of the expected bucket owner.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket containing the ownership controls to retrieve.
|
void |
setExpectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner.
|
GetBucketOwnershipControlsRequest |
withBucketName(String bucketName)
Sets the name of the bucket containing the ownership controls to retrieve
and returns this object for method chaining.
|
GetBucketOwnershipControlsRequest |
withExpectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner.
|
addHandlerContext, clone, 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 getBucketName()
public void setBucketName(String bucketName)
public GetBucketOwnershipControlsRequest withBucketName(String bucketName)
public String getExpectedBucketOwner()
ExpectedBucketOwnerRequest
getExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public GetBucketOwnershipControlsRequest withExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest
withExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public void setExpectedBucketOwner(String expectedBucketOwner)
ExpectedBucketOwnerRequest
setExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
Copyright © 2020. All rights reserved.