Class CfnContent.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnContent.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContent>
- Enclosing class:
CfnContent
@Stability(Stable)
public static final class CfnContent.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContent>
A fluent builder for
CfnContent.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnContent.BuilderknowledgeBaseId(String knowledgeBaseId) The identifier of the knowledge base.A key/value map to store attributes without affecting tagging or recommendations.metadata(IResolvable metadata) A key/value map to store attributes without affecting tagging or recommendations.The name of the content.overrideLinkOutUri(String overrideLinkOutUri) The URI you want to use for the article.The tags used to organize, track, or control access for this resource.The title of the content.A pointer to the uploaded asset.
-
Method Details
-
create
@Stability(Stable) public static CfnContent.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnContent.Builder.
-
knowledgeBaseId
The identifier of the knowledge base.- Parameters:
knowledgeBaseId- The identifier of the knowledge base. This parameter is required.- Returns:
this- See Also:
-
name
The name of the content.- Parameters:
name- The name of the content. This parameter is required.- Returns:
this- See Also:
-
metadata
A key/value map to store attributes without affecting tagging or recommendations.- Parameters:
metadata- A key/value map to store attributes without affecting tagging or recommendations. This parameter is required.- Returns:
this- See Also:
-
metadata
A key/value map to store attributes without affecting tagging or recommendations.- Parameters:
metadata- A key/value map to store attributes without affecting tagging or recommendations. This parameter is required.- Returns:
this- See Also:
-
overrideLinkOutUri
The URI you want to use for the article.- Parameters:
overrideLinkOutUri- The URI you want to use for the article. This parameter is required.- Returns:
this- See Also:
-
tags
The tags used to organize, track, or control access for this resource.- Parameters:
tags- The tags used to organize, track, or control access for this resource. This parameter is required.- Returns:
this- See Also:
-
title
The title of the content.- Parameters:
title- The title of the content. This parameter is required.- Returns:
this- See Also:
-
uploadId
A pointer to the uploaded asset.This value is returned by StartContentUpload.
- Parameters:
uploadId- A pointer to the uploaded asset. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContent>- Returns:
- a newly built instance of
CfnContent.
-