public class InventoryCosBucketDestination extends Object implements Serializable
| Constructor and Description |
|---|
InventoryCosBucketDestination() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountId()
Returns the account ID that owns the destination bucket.
|
String |
getBucketArn()
Returns the COS resource name (ARN) of the bucket where inventory results will be published.
|
InventoryEncryption |
getEncryption() |
String |
getFormat()
Returns the output format of the inventory results.
|
String |
getPrefix()
Returns the prefix that is prepended to all inventory results.
|
void |
setAccountId(String accountId)
Sets the account ID that owns the destination bucket.
|
void |
setBucketArn(String bucketArn)
Sets the COS resource name (ARN) of the bucket where inventory results will be published.
|
void |
setEncryption(InventoryEncryption encryption)
Set the type of encryption to use to protect the inventory contents.
|
void |
setFormat(InventoryFormat format)
Sets the output format of the inventory results.
|
void |
setFormat(String format)
Sets the output format of the inventory results.
|
void |
setPrefix(String prefix)
Sets the prefix that is prepended to all inventory results.
|
InventoryCosBucketDestination |
withAccountId(String accountId)
Returns the account ID that owns the destination bucket
and returns this
InventoryCosBucketDestination object
for method chaining. |
InventoryCosBucketDestination |
withBucketArn(String bucketArn)
Sets the COS resource name (ARN) of the bucket where inventory results will be published.
|
InventoryCosBucketDestination |
withEncryption(InventoryEncryption encryption)
Set the type of encryption to use to protect the inventory contents.
|
InventoryCosBucketDestination |
withFormat(InventoryFormat format)
Sets the output format of the inventory results
and returns this
InventoryCosBucketDestination object
for method chaining. |
InventoryCosBucketDestination |
withFormat(String format)
Sets the output format of the inventory results
and returns this
InventoryCosBucketDestination object
for method chaining. |
InventoryCosBucketDestination |
withPrefix(String prefix)
Sets the prefix that is prepended to all inventory results
and returns this
InventoryCosBucketDestination object
for method chaining. |
public String getAccountId()
public void setAccountId(String accountId)
public InventoryCosBucketDestination withAccountId(String accountId)
InventoryCosBucketDestination object
for method chaining.public String getBucketArn()
public void setBucketArn(String bucketArn)
public InventoryCosBucketDestination withBucketArn(String bucketArn)
InventoryCosBucketDestination object is returned for method chaining.public String getFormat()
public void setFormat(String format)
public void setFormat(InventoryFormat format)
public InventoryCosBucketDestination withFormat(String format)
InventoryCosBucketDestination object
for method chaining.public InventoryCosBucketDestination withFormat(InventoryFormat format)
InventoryCosBucketDestination object
for method chaining.public String getPrefix()
public void setPrefix(String prefix)
public InventoryCosBucketDestination withPrefix(String prefix)
InventoryCosBucketDestination object
for method chaining.public InventoryEncryption getEncryption()
public void setEncryption(InventoryEncryption encryption)
encryption - Encryption to use. See ServerSideEncryptionCOS .public InventoryCosBucketDestination withEncryption(InventoryEncryption encryption)
encryption - Encryption to use. See ServerSideEncryptionCOS.Copyright © 2023. All rights reserved.