public class SetBucketInventoryConfigurationRequest extends AmazonWebServiceRequest implements Serializable, ExpectedBucketOwnerRequest
NOOP
Constructor and Description |
---|
SetBucketInventoryConfigurationRequest() |
SetBucketInventoryConfigurationRequest(String bucketName,
InventoryConfiguration inventoryConfiguration) |
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Returns the name of the bucket where the inventory configuration will be stored.
|
String |
getExpectedBucketOwner()
Returns he account id of the expected bucket owner.
|
InventoryConfiguration |
getInventoryConfiguration()
Returns the inventory configuration.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket where the inventory configuration will be stored.
|
void |
setExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
void |
setInventoryConfiguration(InventoryConfiguration inventoryConfiguration)
Sets the inventory configuration.
|
SetBucketInventoryConfigurationRequest |
withBucketName(String bucketName)
Sets the name of the bucket where the inventory configuration will be stored
and returns
SetBucketInventoryConfigurationRequest object for
method chaining. |
SetBucketInventoryConfigurationRequest |
withExpectedBucketOwner(String expectedBucketOwner)
Set the account id of the expected bucket owner.
|
SetBucketInventoryConfigurationRequest |
withInventoryConfiguration(InventoryConfiguration inventoryConfiguration)
Sets the inventory configuration and returns the
SetBucketInventoryConfigurationRequest object
for method chaining. |
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 SetBucketInventoryConfigurationRequest()
public SetBucketInventoryConfigurationRequest(String bucketName, InventoryConfiguration inventoryConfiguration)
public String getExpectedBucketOwner()
ExpectedBucketOwnerRequest
403 (Access Denied)
error.getExpectedBucketOwner
in interface ExpectedBucketOwnerRequest
public SetBucketInventoryConfigurationRequest 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)
public SetBucketInventoryConfigurationRequest withBucketName(String bucketName)
SetBucketInventoryConfigurationRequest
object for
method chaining.public InventoryConfiguration getInventoryConfiguration()
public void setInventoryConfiguration(InventoryConfiguration inventoryConfiguration)
public SetBucketInventoryConfigurationRequest withInventoryConfiguration(InventoryConfiguration inventoryConfiguration)
SetBucketInventoryConfigurationRequest
object
for method chaining.Copyright © 2021. All rights reserved.