Class S3BucketDestination
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.S3BucketDestination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3BucketDestination.Builder,S3BucketDestination>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3BucketDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The account ID of the owner of the S3 Storage Lens metrics export bucket.Stringarn()The Amazon Resource Name (ARN) of the bucket.static S3BucketDestination.Builderbuilder()StorageLensDataExportEncryptionencryption()The container for the type encryption of the metrics exports in this bucket.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Formatformat()StringformatAsString()<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OutputSchemaVersionoutputSchemaVersion()The schema version of the export file.StringoutputSchemaVersionAsString()The schema version of the export file.Stringprefix()The prefix of the destination bucket where the metrics export will be delivered.List<SdkField<?>>sdkFields()static Class<? extends S3BucketDestination.Builder>serializableBuilderClass()S3BucketDestination.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
format
public final Format format()
If the service returns an enum value that is not available in the current SDK version,
formatwill returnFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- See Also:
Format
-
formatAsString
public final String formatAsString()
If the service returns an enum value that is not available in the current SDK version,
formatwill returnFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- See Also:
Format
-
outputSchemaVersion
public 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,
outputSchemaVersionwill returnOutputSchemaVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoutputSchemaVersionAsString().- Returns:
- The schema version of the export file.
- See Also:
OutputSchemaVersion
-
outputSchemaVersionAsString
public 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,
outputSchemaVersionwill returnOutputSchemaVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoutputSchemaVersionAsString().- Returns:
- The schema version of the export file.
- See Also:
OutputSchemaVersion
-
accountId
public final String accountId()
The account ID of the owner of the S3 Storage Lens metrics export bucket.
- Returns:
- The account ID of the owner of the S3 Storage Lens metrics export bucket.
-
arn
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- Returns:
- 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
-
prefix
public final String prefix()
The prefix of the destination bucket where the metrics export will be delivered.
- Returns:
- The prefix of the destination bucket where the metrics export will be delivered.
-
encryption
public final StorageLensDataExportEncryption encryption()
The container for the type encryption of the metrics exports in this bucket.
- Returns:
- The container for the type encryption of the metrics exports in this bucket.
-
toBuilder
public S3BucketDestination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3BucketDestination.Builder,S3BucketDestination>
-
builder
public static S3BucketDestination.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3BucketDestination.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-