Class StorageLensConfiguration

    • 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 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

        public final Exclude 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

        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
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)