Class CfnTagOptionAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.servicecatalog.CfnTagOptionAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTagOptionAssociationProps>
- Enclosing interface:
CfnTagOptionAssociationProps
@Stability(Stable)
public static final class CfnTagOptionAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTagOptionAssociationProps>
A builder for
CfnTagOptionAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceId(String resourceId) Sets the value ofCfnTagOptionAssociationProps.getResourceId()tagOptionId(String tagOptionId) Sets the value ofCfnTagOptionAssociationProps.getTagOptionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceId
Sets the value ofCfnTagOptionAssociationProps.getResourceId()- Parameters:
resourceId- The resource identifier.- Returns:
this
-
tagOptionId
Sets the value ofCfnTagOptionAssociationProps.getTagOptionId()- Parameters:
tagOptionId- The TagOption identifier.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTagOptionAssociationProps>- Returns:
- a new instance of
CfnTagOptionAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-