Class StorageLensConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.StorageLensConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StorageLensConfiguration.Builder,StorageLensConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class StorageLensConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StorageLensConfiguration.Builder,StorageLensConfiguration>
A container for the Amazon S3 Storage Lens configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStorageLensConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountLevelaccountLevel()A container for all the account-level configurations of your S3 Storage Lens configuration.StorageLensAwsOrgawsOrg()A container for the Amazon Web Services organization for this S3 Storage Lens configuration.static StorageLensConfiguration.Builderbuilder()StorageLensDataExportdataExport()A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Excludeexclude()A container for what is excluded in this configuration.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()A container for the Amazon S3 Storage Lens configuration ID.Includeinclude()A container for what is included in this configuration.BooleanisEnabled()A container for whether the S3 Storage Lens configuration is enabled.List<SdkField<?>>sdkFields()static Class<? extends StorageLensConfiguration.Builder>serializableBuilderClass()StringstorageLensArn()The Amazon Resource Name (ARN) of the S3 Storage Lens configuration.StorageLensConfiguration.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
-
id
public final String id()
A container for the Amazon S3 Storage Lens configuration ID.
- Returns:
- A container for the Amazon S3 Storage Lens configuration ID.
-
accountLevel
public final AccountLevel accountLevel()
A container for all the account-level configurations of your S3 Storage Lens configuration.
- Returns:
- A container for all the account-level configurations of your S3 Storage Lens configuration.
-
include
public final Include include()
A container for what is included in this configuration. This container can only be valid if there is no
Excludecontainer submitted, and it's not empty.- Returns:
- A container for what is included in this configuration. This container can only be valid if there is no
Excludecontainer submitted, and it's not empty.
-
exclude
public final Exclude exclude()
A container for what is excluded in this configuration. This container can only be valid if there is no
Includecontainer submitted, and it's not empty.- Returns:
- A container for what is excluded in this configuration. This container can only be valid if there is no
Includecontainer submitted, and it's not empty.
-
dataExport
public final StorageLensDataExport dataExport()
A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.
- Returns:
- A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.
-
isEnabled
public final Boolean isEnabled()
A container for whether the S3 Storage Lens configuration is enabled.
- Returns:
- A container for whether the S3 Storage Lens configuration is enabled.
-
awsOrg
public final StorageLensAwsOrg awsOrg()
A container for the Amazon Web Services organization for this S3 Storage Lens configuration.
- Returns:
- A container for the Amazon Web Services organization for this S3 Storage Lens configuration.
-
storageLensArn
public final String storageLensArn()
The Amazon Resource Name (ARN) of the S3 Storage Lens configuration. This property is read-only and follows the following format:
arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name- Returns:
- The Amazon Resource Name (ARN) of the S3 Storage Lens configuration. This property is read-only and
follows the following format:
arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name
-
toBuilder
public StorageLensConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StorageLensConfiguration.Builder,StorageLensConfiguration>
-
builder
public static StorageLensConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends StorageLensConfiguration.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.
-
-