@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3BucketDestination extends Object implements Serializable, Cloneable
A container for the bucket where the Amazon S3 Storage Lens metrics export files are located.
Constructor and Description |
---|
S3BucketDestination() |
Modifier and Type | Method and Description |
---|---|
S3BucketDestination |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account ID of the owner of the S3 Storage Lens metrics export bucket.
|
String |
getArn()
The Amazon Resource Name (ARN) of the bucket.
|
StorageLensDataExportEncryption |
getEncryption()
The container for the type encryption of the metrics exports in this bucket.
|
String |
getFormat()
|
String |
getOutputSchemaVersion()
The schema version of the export file.
|
String |
getPrefix()
The prefix of the destination bucket where the metrics export will be delivered.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The account ID of the owner of the S3 Storage Lens metrics export bucket.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the bucket.
|
void |
setEncryption(StorageLensDataExportEncryption encryption)
The container for the type encryption of the metrics exports in this bucket.
|
void |
setFormat(String format)
|
void |
setOutputSchemaVersion(String outputSchemaVersion)
The schema version of the export file.
|
void |
setPrefix(String prefix)
The prefix of the destination bucket where the metrics export will be delivered.
|
String |
toString()
Returns a string representation of this object.
|
S3BucketDestination |
withAccountId(String accountId)
The account ID of the owner of the S3 Storage Lens metrics export bucket.
|
S3BucketDestination |
withArn(String arn)
The Amazon Resource Name (ARN) of the bucket.
|
S3BucketDestination |
withEncryption(StorageLensDataExportEncryption encryption)
The container for the type encryption of the metrics exports in this bucket.
|
S3BucketDestination |
withFormat(Format format)
|
S3BucketDestination |
withFormat(String format)
|
S3BucketDestination |
withOutputSchemaVersion(OutputSchemaVersion outputSchemaVersion)
The schema version of the export file.
|
S3BucketDestination |
withOutputSchemaVersion(String outputSchemaVersion)
The schema version of the export file.
|
S3BucketDestination |
withPrefix(String prefix)
The prefix of the destination bucket where the metrics export will be delivered.
|
public S3BucketDestination withFormat(String format)
format
- Format
public S3BucketDestination withFormat(Format format)
format
- Format
public void setOutputSchemaVersion(String outputSchemaVersion)
The schema version of the export file.
outputSchemaVersion
- The schema version of the export file.OutputSchemaVersion
public String getOutputSchemaVersion()
The schema version of the export file.
OutputSchemaVersion
public S3BucketDestination withOutputSchemaVersion(String outputSchemaVersion)
The schema version of the export file.
outputSchemaVersion
- The schema version of the export file.OutputSchemaVersion
public S3BucketDestination withOutputSchemaVersion(OutputSchemaVersion outputSchemaVersion)
The schema version of the export file.
outputSchemaVersion
- The schema version of the export file.OutputSchemaVersion
public void setAccountId(String accountId)
The account ID of the owner of the S3 Storage Lens metrics export bucket.
accountId
- The account ID of the owner of the S3 Storage Lens metrics export bucket.public String getAccountId()
The account ID of the owner of the S3 Storage Lens metrics export bucket.
public S3BucketDestination withAccountId(String accountId)
The account ID of the owner of the S3 Storage Lens metrics export bucket.
accountId
- The account ID of the owner of the S3 Storage Lens metrics export bucket.public void setArn(String arn)
The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format:
arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
arn
- The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format:
arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
public String getArn()
The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format:
arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
public S3BucketDestination withArn(String arn)
The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format:
arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
arn
- The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format:
arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
public void setPrefix(String prefix)
The prefix of the destination bucket where the metrics export will be delivered.
prefix
- The prefix of the destination bucket where the metrics export will be delivered.public String getPrefix()
The prefix of the destination bucket where the metrics export will be delivered.
public S3BucketDestination withPrefix(String prefix)
The prefix of the destination bucket where the metrics export will be delivered.
prefix
- The prefix of the destination bucket where the metrics export will be delivered.public void setEncryption(StorageLensDataExportEncryption encryption)
The container for the type encryption of the metrics exports in this bucket.
encryption
- The container for the type encryption of the metrics exports in this bucket.public StorageLensDataExportEncryption getEncryption()
The container for the type encryption of the metrics exports in this bucket.
public S3BucketDestination withEncryption(StorageLensDataExportEncryption encryption)
The container for the type encryption of the metrics exports in this bucket.
encryption
- The container for the type encryption of the metrics exports in this bucket.public String toString()
toString
in class Object
Object.toString()
public S3BucketDestination clone()