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