Interface ContentAssociationSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContentAssociationSummary.Builder,ContentAssociationSummary>,SdkBuilder<ContentAssociationSummary.Builder,ContentAssociationSummary>,SdkPojo
- Enclosing class:
- ContentAssociationSummary
public static interface ContentAssociationSummary.Builder extends SdkPojo, CopyableBuilder<ContentAssociationSummary.Builder,ContentAssociationSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ContentAssociationSummary.BuilderassociationData(Consumer<ContentAssociationContents.Builder> associationData)The content association.ContentAssociationSummary.BuilderassociationData(ContentAssociationContents associationData)The content association.ContentAssociationSummary.BuilderassociationType(String associationType)The type of association.ContentAssociationSummary.BuilderassociationType(ContentAssociationType associationType)The type of association.ContentAssociationSummary.BuildercontentArn(String contentArn)The Amazon Resource Name (ARN) of the content.ContentAssociationSummary.BuildercontentAssociationArn(String contentAssociationArn)The Amazon Resource Name (ARN) of the content association.ContentAssociationSummary.BuildercontentAssociationId(String contentAssociationId)The identifier of the content association.ContentAssociationSummary.BuildercontentId(String contentId)The identifier of the content.ContentAssociationSummary.BuilderknowledgeBaseArn(String knowledgeBaseArn)The Amazon Resource Name (ARN) of the knowledge base.ContentAssociationSummary.BuilderknowledgeBaseId(String knowledgeBaseId)The identifier of the knowledge base.ContentAssociationSummary.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for this resource.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
associationData
ContentAssociationSummary.Builder associationData(ContentAssociationContents associationData)
The content association.
- Parameters:
associationData- The content association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationData
default ContentAssociationSummary.Builder associationData(Consumer<ContentAssociationContents.Builder> associationData)
The content association.
This is a convenience method that creates an instance of theContentAssociationContents.Builderavoiding the need to create one manually viaContentAssociationContents.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociationData(ContentAssociationContents).- Parameters:
associationData- a consumer that will call methods onContentAssociationContents.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
associationData(ContentAssociationContents)
-
associationType
ContentAssociationSummary.Builder associationType(String associationType)
The type of association.
- Parameters:
associationType- The type of association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentAssociationType,ContentAssociationType
-
associationType
ContentAssociationSummary.Builder associationType(ContentAssociationType associationType)
The type of association.
- Parameters:
associationType- The type of association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentAssociationType,ContentAssociationType
-
contentArn
ContentAssociationSummary.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.
-
contentAssociationArn
ContentAssociationSummary.Builder contentAssociationArn(String contentAssociationArn)
The Amazon Resource Name (ARN) of the content association.
- Parameters:
contentAssociationArn- The Amazon Resource Name (ARN) of the content association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentAssociationId
ContentAssociationSummary.Builder contentAssociationId(String contentAssociationId)
The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
contentAssociationId- The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentId
ContentAssociationSummary.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.
-
knowledgeBaseArn
ContentAssociationSummary.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
ContentAssociationSummary.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.
-
tags
ContentAssociationSummary.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.
-
-