Class StorageLensConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StorageLensConfiguration.Builder,StorageLensConfiguration>
A container for the Amazon S3 Storage Lens configuration.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AccountLevelA container for all the account-level configurations of your S3 Storage Lens configuration.final StorageLensAwsOrgawsOrg()A container for the Amazon Web Services organization for this S3 Storage Lens configuration.builder()final StorageLensDataExportA container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Excludeexclude()A container for what is excluded in this configuration.A container that configures your S3 Storage Lens expanded prefixes metrics report.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringid()A container for the Amazon S3 Storage Lens configuration ID.final Includeinclude()A container for what is included in this configuration.final BooleanA container for whether the S3 Storage Lens configuration is enabled.final StringA container for all prefix delimiters that are used for object keys in this S3 Storage Lens configuration.static Class<? extends StorageLensConfiguration.Builder> final StringThe Amazon Resource Name (ARN) of the S3 Storage Lens configuration.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
A container for the Amazon S3 Storage Lens configuration ID.
- Returns:
- A container for the Amazon S3 Storage Lens configuration ID.
-
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
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
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
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.
-
expandedPrefixesDataExport
A container that configures your S3 Storage Lens expanded prefixes metrics report.
- Returns:
- A container that configures your S3 Storage Lens expanded prefixes metrics report.
-
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
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
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
-
prefixDelimiter
A container for all prefix delimiters that are used for object keys in this S3 Storage Lens configuration. The prefix delimiters determine how S3 Storage Lens counts prefix depth, by separating the hierarchical levels in object keys.
-
If either a prefix delimiter or existing delimiter is undefined, Amazon S3 uses the delimiter that’s defined.
-
If both the prefix delimiter and existing delimiter are undefined, S3 uses
/as the default delimiter. -
When custom delimiters are used, both the prefix delimiter and existing delimiter must specify the same special character. Otherwise, your request results in an error.
- Returns:
- A container for all prefix delimiters that are used for object keys in this S3 Storage Lens
configuration. The prefix delimiters determine how S3 Storage Lens counts prefix depth, by separating the
hierarchical levels in object keys.
-
If either a prefix delimiter or existing delimiter is undefined, Amazon S3 uses the delimiter that’s defined.
-
If both the prefix delimiter and existing delimiter are undefined, S3 uses
/as the default delimiter. -
When custom delimiters are used, both the prefix delimiter and existing delimiter must specify the same special character. Otherwise, your request results in an error.
-
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<StorageLensConfiguration.Builder,StorageLensConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-