Class CfnTagOptionProps.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.CfnTagOptionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTagOptionProps>
- Enclosing interface:
CfnTagOptionProps
@Stability(Stable)
public static final class CfnTagOptionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTagOptionProps>
A builder for
CfnTagOptionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTagOptionProps.getActive()active(IResolvable active) Sets the value ofCfnTagOptionProps.getActive()build()Builds the configured instance.Sets the value ofCfnTagOptionProps.getKey()Sets the value ofCfnTagOptionProps.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnTagOptionProps.getKey()- Parameters:
key- The TagOption key. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnTagOptionProps.getValue()- Parameters:
value- The TagOption value. This parameter is required.- Returns:
this
-
active
Sets the value ofCfnTagOptionProps.getActive()- Parameters:
active- The TagOption active state.- Returns:
this
-
active
Sets the value ofCfnTagOptionProps.getActive()- Parameters:
active- The TagOption active state.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTagOptionProps>- Returns:
- a new instance of
CfnTagOptionProps - Throws:
NullPointerException- if any required attribute was not provided
-