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
-
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. This parameter is required.- Returns:
this
-
tagOptionId
Sets the value ofCfnTagOptionAssociationProps.getTagOptionId()
- Parameters:
tagOptionId
- The TagOption identifier. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTagOptionAssociationProps>
- Returns:
- a new instance of
CfnTagOptionAssociationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-