@Generated(value="software.amazon.awssdk:codegen") public final class S3BucketDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3BucketDestination.Builder,S3BucketDestination>
A container for the bucket where the Amazon S3 Storage Lens metrics export files are located.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3BucketDestination.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The account ID of the owner of the S3 Storage Lens metrics export bucket.
|
String |
arn()
The Amazon Resource Name (ARN) of the bucket.
|
static S3BucketDestination.Builder |
builder() |
StorageLensDataExportEncryption |
encryption()
The container for the type encryption of the metrics exports in this bucket.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Format |
format()
|
String |
formatAsString()
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OutputSchemaVersion |
outputSchemaVersion()
The schema version of the export file.
|
String |
outputSchemaVersionAsString()
The schema version of the export file.
|
String |
prefix()
The prefix of the destination bucket where the metrics export will be delivered.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3BucketDestination.Builder> |
serializableBuilderClass() |
S3BucketDestination.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Format format()
If the service returns an enum value that is not available in the current SDK version, format will
return Format.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
Formatpublic final String formatAsString()
If the service returns an enum value that is not available in the current SDK version, format will
return Format.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
Formatpublic final OutputSchemaVersion outputSchemaVersion()
The schema version of the export file.
If the service returns an enum value that is not available in the current SDK version,
outputSchemaVersion will return OutputSchemaVersion.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from outputSchemaVersionAsString().
OutputSchemaVersionpublic final String outputSchemaVersionAsString()
The schema version of the export file.
If the service returns an enum value that is not available in the current SDK version,
outputSchemaVersion will return OutputSchemaVersion.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from outputSchemaVersionAsString().
OutputSchemaVersionpublic final String accountId()
The account ID of the owner of the S3 Storage Lens metrics export bucket.
public final 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:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name public final String prefix()
The prefix of the destination bucket where the metrics export will be delivered.
public final StorageLensDataExportEncryption encryption()
The container for the type encryption of the metrics exports in this bucket.
public S3BucketDestination.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3BucketDestination.Builder,S3BucketDestination>public static S3BucketDestination.Builder builder()
public static Class<? extends S3BucketDestination.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.