Class CfnContentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnContentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContentMixinProps>
- Enclosing interface:
CfnContentMixinProps
@Stability(Stable)
public static final class CfnContentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContentMixinProps>
A builder for
CfnContentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.knowledgeBaseId(String knowledgeBaseId) Sets the value ofCfnContentMixinProps.getKnowledgeBaseId()Sets the value ofCfnContentMixinProps.getMetadata()metadata(IResolvable metadata) Sets the value ofCfnContentMixinProps.getMetadata()Sets the value ofCfnContentMixinProps.getName()overrideLinkOutUri(String overrideLinkOutUri) Sets the value ofCfnContentMixinProps.getOverrideLinkOutUri()Sets the value ofCfnContentMixinProps.getTags()Sets the value ofCfnContentMixinProps.getTitle()Sets the value ofCfnContentMixinProps.getUploadId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
knowledgeBaseId
Sets the value ofCfnContentMixinProps.getKnowledgeBaseId()- Parameters:
knowledgeBaseId- The identifier of the knowledge base.- Returns:
this
-
metadata
Sets the value ofCfnContentMixinProps.getMetadata()- Parameters:
metadata- A key/value map to store attributes without affecting tagging or recommendations.- Returns:
this
-
metadata
Sets the value ofCfnContentMixinProps.getMetadata()- Parameters:
metadata- A key/value map to store attributes without affecting tagging or recommendations.- Returns:
this
-
name
Sets the value ofCfnContentMixinProps.getName()- Parameters:
name- The name of the content.- Returns:
this
-
overrideLinkOutUri
@Stability(Stable) public CfnContentMixinProps.Builder overrideLinkOutUri(String overrideLinkOutUri) Sets the value ofCfnContentMixinProps.getOverrideLinkOutUri()- Parameters:
overrideLinkOutUri- The URI you want to use for the article.- Returns:
this
-
tags
Sets the value ofCfnContentMixinProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource.- Returns:
this
-
title
Sets the value ofCfnContentMixinProps.getTitle()- Parameters:
title- The title of the content.- Returns:
this
-
uploadId
Sets the value ofCfnContentMixinProps.getUploadId()- Parameters:
uploadId- A pointer to the uploaded asset. This value is returned by StartContentUpload.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContentMixinProps>- Returns:
- a new instance of
CfnContentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-