Class CfnIndex.Builder

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

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

    • create

      @Stability(Stable) public static CfnIndex.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 CfnIndex.Builder.
    • type

      @Stability(Stable) public CfnIndex.Builder type(String type)
      Specifies the type of the index in this Region.

      For information about the aggregator index and how it differs from a local index, see Turning on cross-Region search by creating an aggregator index in the AWS Resource Explorer User Guide. .

      Parameters:
      type - Specifies the type of the index in this Region. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnIndex.Builder tags(Map<String,String> tags)
      The specified tags are attached to only the index created in this AWS Region .

      The tags don't attach to any of the resources listed in the index.

      Parameters:
      tags - The specified tags are attached to only the index created in this AWS Region . This parameter is required.
      Returns:
      this
    • build

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