Interface StorageLensTableDestination.Builder

  • Method Details

    • isEnabled

      Specifies whether the export to tables is enabled. When set to true, S3 Storage Lens exports metrics to tables in addition to any other destinations that you configure.

      Parameters:
      isEnabled - Specifies whether the export to tables is enabled. When set to true, S3 Storage Lens exports metrics to tables in addition to any other destinations that you configure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryption

      The server-side encryption for the tables that S3 Storage Lens exports metrics to. To use SSE-KMS, set sseAlgorithm to aws:kms and specify kmsKeyArn. The KMS key must be in the same Region as the configuration. After S3 Storage Lens creates the tables, you can't change their encryption.

      Parameters:
      encryption - The server-side encryption for the tables that S3 Storage Lens exports metrics to. To use SSE-KMS, set sseAlgorithm to aws:kms and specify kmsKeyArn. The KMS key must be in the same Region as the configuration. After S3 Storage Lens creates the tables, you can't change their encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryption

      The server-side encryption for the tables that S3 Storage Lens exports metrics to. To use SSE-KMS, set sseAlgorithm to aws:kms and specify kmsKeyArn. The KMS key must be in the same Region as the configuration. After S3 Storage Lens creates the tables, you can't change their encryption.

      This is a convenience method that creates an instance of the EncryptionConfiguration.Builder avoiding the need to create one manually via EncryptionConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryption(EncryptionConfiguration).

      Parameters:
      encryption - a consumer that will call methods on EncryptionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: