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
-
Method Summary
Modifier and TypeMethodDescriptionfinal AccountLevel
A container for all the account-level configurations of your S3 Storage Lens configuration.final StorageLensAwsOrg
awsOrg()
A container for the Amazon Web Services organization for this S3 Storage Lens configuration.builder()
final StorageLensDataExport
A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Exclude
exclude()
A container for what is excluded in this configuration.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
id()
A container for the Amazon S3 Storage Lens configuration ID.final Include
include()
A container for what is included in this configuration.final Boolean
A container for whether the S3 Storage Lens configuration is enabled.static Class
<? extends StorageLensConfiguration.Builder> final String
The 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 String
toString()
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
Exclude
container 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
Exclude
container 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
Include
container 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
Include
container 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.
-
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
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<StorageLensConfiguration.Builder,
StorageLensConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-