Class CfnContentAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnContentAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContentAssociationMixinProps>
- Enclosing interface:
CfnContentAssociationMixinProps
@Stability(Stable)
public static final class CfnContentAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContentAssociationMixinProps>
A builder for
CfnContentAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnContentAssociationMixinProps.getAssociation()association(IResolvable association) Sets the value ofCfnContentAssociationMixinProps.getAssociation()associationType(String associationType) Sets the value ofCfnContentAssociationMixinProps.getAssociationType()build()Builds the configured instance.Sets the value ofCfnContentAssociationMixinProps.getContentId()knowledgeBaseId(String knowledgeBaseId) Sets the value ofCfnContentAssociationMixinProps.getKnowledgeBaseId()Sets the value ofCfnContentAssociationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
association
@Stability(Stable) public CfnContentAssociationMixinProps.Builder association(IResolvable association) Sets the value ofCfnContentAssociationMixinProps.getAssociation()- Parameters:
association- the value to be set.- Returns:
this
-
association
@Stability(Stable) public CfnContentAssociationMixinProps.Builder association(CfnContentAssociationPropsMixin.ContentAssociationContentsProperty association) Sets the value ofCfnContentAssociationMixinProps.getAssociation()- Parameters:
association- the value to be set.- Returns:
this
-
associationType
@Stability(Stable) public CfnContentAssociationMixinProps.Builder associationType(String associationType) Sets the value ofCfnContentAssociationMixinProps.getAssociationType()- Parameters:
associationType- The type of association.- Returns:
this
-
contentId
Sets the value ofCfnContentAssociationMixinProps.getContentId()- Parameters:
contentId- The identifier of the content.- Returns:
this
-
knowledgeBaseId
@Stability(Stable) public CfnContentAssociationMixinProps.Builder knowledgeBaseId(String knowledgeBaseId) Sets the value ofCfnContentAssociationMixinProps.getKnowledgeBaseId()- Parameters:
knowledgeBaseId- The identifier of the knowledge base.- Returns:
this
-
tags
Sets the value ofCfnContentAssociationMixinProps.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<CfnContentAssociationMixinProps>- Returns:
- a new instance of
CfnContentAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-