Interface StorageLensConfiguration.Builder

    • Method Detail

      • id

        StorageLensConfiguration.Builder id​(String id)

        A container for the Amazon S3 Storage Lens configuration ID.

        Parameters:
        id - A container for the Amazon S3 Storage Lens configuration ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountLevel

        StorageLensConfiguration.Builder accountLevel​(AccountLevel accountLevel)

        A container for all the account-level configurations of your S3 Storage Lens configuration.

        Parameters:
        accountLevel - A container for all the account-level configurations of your S3 Storage Lens configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • include

        StorageLensConfiguration.Builder include​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • exclude

        StorageLensConfiguration.Builder exclude​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • dataExport

        StorageLensConfiguration.Builder dataExport​(StorageLensDataExport dataExport)

        A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.

        Parameters:
        dataExport - A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isEnabled

        StorageLensConfiguration.Builder isEnabled​(Boolean isEnabled)

        A container for whether the S3 Storage Lens configuration is enabled.

        Parameters:
        isEnabled - A container for whether the S3 Storage Lens configuration is enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • awsOrg

        StorageLensConfiguration.Builder awsOrg​(StorageLensAwsOrg awsOrg)

        A container for the Amazon Web Services organization for this S3 Storage Lens configuration.

        Parameters:
        awsOrg - A container for the Amazon Web Services organization for this S3 Storage Lens configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storageLensArn

        StorageLensConfiguration.Builder storageLensArn​(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

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.