Class CfnAssistantAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnAssistantAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssistantAssociationMixinProps>
- Enclosing interface:
CfnAssistantAssociationMixinProps
@Stability(Stable)
public static final class CfnAssistantAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssistantAssociationMixinProps>
A builder for
CfnAssistantAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassistantId(String assistantId) Sets the value ofCfnAssistantAssociationMixinProps.getAssistantId()Sets the value ofCfnAssistantAssociationMixinProps.getAssociation()association(IResolvable association) Sets the value ofCfnAssistantAssociationMixinProps.getAssociation()associationType(String associationType) Sets the value ofCfnAssistantAssociationMixinProps.getAssociationType()build()Builds the configured instance.Sets the value ofCfnAssistantAssociationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assistantId
Sets the value ofCfnAssistantAssociationMixinProps.getAssistantId()- Parameters:
assistantId- The identifier of the Wisdom assistant.- Returns:
this
-
association
@Stability(Stable) public CfnAssistantAssociationMixinProps.Builder association(IResolvable association) Sets the value ofCfnAssistantAssociationMixinProps.getAssociation()- Parameters:
association- The identifier of the associated resource.- Returns:
this
-
association
@Stability(Stable) public CfnAssistantAssociationMixinProps.Builder association(CfnAssistantAssociationPropsMixin.AssociationDataProperty association) Sets the value ofCfnAssistantAssociationMixinProps.getAssociation()- Parameters:
association- The identifier of the associated resource.- Returns:
this
-
associationType
@Stability(Stable) public CfnAssistantAssociationMixinProps.Builder associationType(String associationType) Sets the value ofCfnAssistantAssociationMixinProps.getAssociationType()- Parameters:
associationType- The type of association.- Returns:
this
-
tags
@Stability(Stable) public CfnAssistantAssociationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnAssistantAssociationMixinProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssistantAssociationMixinProps>- Returns:
- a new instance of
CfnAssistantAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-