Class CfnIndexProps.Builder
java.lang.Object
software.amazon.awscdk.services.resourceexplorer2.CfnIndexProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndexProps>
- Enclosing interface:
CfnIndexProps
@Stability(Stable)
public static final class CfnIndexProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndexProps>
A builder for
CfnIndexProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnIndexProps.getTags()
Sets the value ofCfnIndexProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnIndexProps.getType()
- Parameters:
type
- Specifies the type of the index in this Region. This parameter is required. 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. .- Returns:
this
-
tags
Sets the value ofCfnIndexProps.getTags()
- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIndexProps>
- Returns:
- a new instance of
CfnIndexProps
- Throws:
NullPointerException
- if any required attribute was not provided
-