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