public class InventoryS3BucketDestination extends Object implements Serializable
Constructor and Description |
---|
InventoryS3BucketDestination() |
Modifier and Type | Method and Description |
---|---|
String |
getAccountId()
Returns the account ID that owns the destination bucket.
|
String |
getBucketArn()
Returns the Amazon 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 Amazon 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.
|
InventoryS3BucketDestination |
withAccountId(String accountId)
Returns the account ID that owns the destination bucket
and returns this
InventoryS3BucketDestination object
for method chaining. |
InventoryS3BucketDestination |
withBucketArn(String bucketArn)
Sets the Amazon resource name (ARN) of the bucket where inventory results will be published.
|
InventoryS3BucketDestination |
withEncryption(InventoryEncryption encryption)
Set the type of encryption to use to protect the inventory contents.
|
InventoryS3BucketDestination |
withFormat(InventoryFormat format)
Sets the output format of the inventory results
and returns this
InventoryS3BucketDestination object
for method chaining. |
InventoryS3BucketDestination |
withFormat(String format)
Sets the output format of the inventory results
and returns this
InventoryS3BucketDestination object
for method chaining. |
InventoryS3BucketDestination |
withPrefix(String prefix)
Sets the prefix that is prepended to all inventory results
and returns this
InventoryS3BucketDestination object
for method chaining. |
public String getAccountId()
public void setAccountId(String accountId)
public InventoryS3BucketDestination withAccountId(String accountId)
InventoryS3BucketDestination
object
for method chaining.public String getBucketArn()
public void setBucketArn(String bucketArn)
public InventoryS3BucketDestination withBucketArn(String bucketArn)
InventoryS3BucketDestination
object is returned for method chaining.public String getFormat()
public void setFormat(String format)
public void setFormat(InventoryFormat format)
public InventoryS3BucketDestination withFormat(String format)
InventoryS3BucketDestination
object
for method chaining.public InventoryS3BucketDestination withFormat(InventoryFormat format)
InventoryS3BucketDestination
object
for method chaining.public String getPrefix()
public void setPrefix(String prefix)
public InventoryS3BucketDestination withPrefix(String prefix)
InventoryS3BucketDestination
object
for method chaining.public InventoryEncryption getEncryption()
public void setEncryption(InventoryEncryption encryption)
encryption
- Encryption to use. See ServerSideEncryptionS3
and ServerSideEncryptionKMS
.public InventoryS3BucketDestination withEncryption(InventoryEncryption encryption)
encryption
- Encryption to use. See ServerSideEncryptionS3
and ServerSideEncryptionKMS
.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.