Class CfnStorageLens.Builder

java.lang.Object
software.amazon.awscdk.services.s3.CfnStorageLens.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageLens>
Enclosing class:
CfnStorageLens

@Stability(Stable) public static final class CfnStorageLens.Builder extends Object implements software.amazon.jsii.Builder<CfnStorageLens>
A fluent builder for CfnStorageLens.
  • Method Details

    • create

      @Stability(Stable) public static CfnStorageLens.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnStorageLens.Builder.
    • storageLensConfiguration

      @Stability(Stable) public CfnStorageLens.Builder storageLensConfiguration(IResolvable storageLensConfiguration)
      This resource contains the details Amazon S3 Storage Lens configuration.

      Parameters:
      storageLensConfiguration - This resource contains the details Amazon S3 Storage Lens configuration. This parameter is required.
      Returns:
      this
    • storageLensConfiguration

      @Stability(Stable) public CfnStorageLens.Builder storageLensConfiguration(CfnStorageLens.StorageLensConfigurationProperty storageLensConfiguration)
      This resource contains the details Amazon S3 Storage Lens configuration.

      Parameters:
      storageLensConfiguration - This resource contains the details Amazon S3 Storage Lens configuration. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnStorageLens.Builder tags(List<? extends CfnTag> tags)
      A set of tags (key–value pairs) to associate with the Storage Lens configuration.

      Parameters:
      tags - A set of tags (key–value pairs) to associate with the Storage Lens configuration. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnStorageLens build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnStorageLens>
      Returns:
      a newly built instance of CfnStorageLens.