Class CfnAssistantAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnAssistantAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssistantAssociationProps>
- Enclosing interface:
CfnAssistantAssociationProps
@Stability(Stable)
public static final class CfnAssistantAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssistantAssociationProps>
A builder for
CfnAssistantAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassistantId(String assistantId) Sets the value ofCfnAssistantAssociationProps.getAssistantId()association(IResolvable association) Sets the value ofCfnAssistantAssociationProps.getAssociation()Sets the value ofCfnAssistantAssociationProps.getAssociation()associationType(String associationType) Sets the value ofCfnAssistantAssociationProps.getAssociationType()build()Builds the configured instance.Sets the value ofCfnAssistantAssociationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
assistantId
Sets the value ofCfnAssistantAssociationProps.getAssistantId()- Parameters:
assistantId- The identifier of the Wisdom assistant. This parameter is required.- Returns:
this
-
association
Sets the value ofCfnAssistantAssociationProps.getAssociation()- Parameters:
association- The identifier of the associated resource. This parameter is required.- Returns:
this
-
association
@Stability(Stable) public CfnAssistantAssociationProps.Builder association(CfnAssistantAssociation.AssociationDataProperty association) Sets the value ofCfnAssistantAssociationProps.getAssociation()- Parameters:
association- The identifier of the associated resource. This parameter is required.- Returns:
this
-
associationType
@Stability(Stable) public CfnAssistantAssociationProps.Builder associationType(String associationType) Sets the value ofCfnAssistantAssociationProps.getAssociationType()- Parameters:
associationType- The type of association. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnAssistantAssociationProps.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<CfnAssistantAssociationProps>- Returns:
- a new instance of
CfnAssistantAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-