Interface ContentData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContentData.Builder,ContentData>,SdkBuilder<ContentData.Builder,ContentData>,SdkPojo
- Enclosing class:
- ContentData
public static interface ContentData.Builder extends SdkPojo, CopyableBuilder<ContentData.Builder,ContentData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentData.BuildercontentArn(String contentArn)The Amazon Resource Name (ARN) of the content.ContentData.BuildercontentId(String contentId)The identifier of the content.ContentData.BuildercontentType(String contentType)The media type of the content.ContentData.BuilderknowledgeBaseArn(String knowledgeBaseArn)The Amazon Resource Name (ARN) of the knowledge base.ContentData.BuilderknowledgeBaseId(String knowledgeBaseId)The identifier of the knowledge base.ContentData.BuilderlinkOutUri(String linkOutUri)The URI of the content.ContentData.Buildermetadata(Map<String,String> metadata)A key/value map to store attributes without affecting tagging or recommendations.ContentData.Buildername(String name)The name of the content.ContentData.BuilderrevisionId(String revisionId)The identifier of the content revision.ContentData.Builderstatus(String status)The status of the content.ContentData.Builderstatus(ContentStatus status)The status of the content.ContentData.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.ContentData.Buildertitle(String title)The title of the content.ContentData.Builderurl(String url)The URL of the content.ContentData.BuilderurlExpiry(Instant urlExpiry)The expiration time of the URL as an epoch timestamp.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
contentArn
ContentData.Builder contentArn(String contentArn)
The Amazon Resource Name (ARN) of the content.
- Parameters:
contentArn- The Amazon Resource Name (ARN) of the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentId
ContentData.Builder contentId(String contentId)
The identifier of the content.
- Parameters:
contentId- The identifier of the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
ContentData.Builder contentType(String contentType)
The media type of the content.
- Parameters:
contentType- The media type of the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseArn
ContentData.Builder knowledgeBaseArn(String knowledgeBaseArn)
The Amazon Resource Name (ARN) of the knowledge base.
- Parameters:
knowledgeBaseArn- The Amazon Resource Name (ARN) of the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
knowledgeBaseId
ContentData.Builder knowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
- Parameters:
knowledgeBaseId- The identifier of the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkOutUri
ContentData.Builder linkOutUri(String linkOutUri)
The URI of the content.
- Parameters:
linkOutUri- The URI of the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
ContentData.Builder metadata(Map<String,String> metadata)
A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.
- Parameters:
metadata- A key/value map to store attributes without affecting tagging or recommendations. For example, when synchronizing data between an external system and Amazon Q in Connect, you can store an external version identifier as metadata to utilize for determining drift.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ContentData.Builder name(String name)
The name of the content.
- Parameters:
name- The name of the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
ContentData.Builder revisionId(String revisionId)
The identifier of the content revision.
- Parameters:
revisionId- The identifier of the content revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ContentData.Builder status(String status)
The status of the content.
- Parameters:
status- The status of the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentStatus,ContentStatus
-
status
ContentData.Builder status(ContentStatus status)
The status of the content.
- Parameters:
status- The status of the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentStatus,ContentStatus
-
tags
ContentData.Builder tags(Map<String,String> 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
ContentData.Builder title(String title)
The title of the content.
- Parameters:
title- The title of the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
url
ContentData.Builder url(String url)
The URL of the content.
- Parameters:
url- The URL of the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
urlExpiry
ContentData.Builder urlExpiry(Instant urlExpiry)
The expiration time of the URL as an epoch timestamp.
- Parameters:
urlExpiry- The expiration time of the URL as an epoch timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-