Interface ContentAssociationData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContentAssociationData.Builder,ContentAssociationData>,SdkBuilder<ContentAssociationData.Builder,ContentAssociationData>,SdkPojo
- Enclosing class:
- ContentAssociationData
public static interface ContentAssociationData.Builder extends SdkPojo, CopyableBuilder<ContentAssociationData.Builder,ContentAssociationData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ContentAssociationData.BuilderassociationData(Consumer<ContentAssociationContents.Builder> associationData)The content association.ContentAssociationData.BuilderassociationData(ContentAssociationContents associationData)The content association.ContentAssociationData.BuilderassociationType(String associationType)The type of association.ContentAssociationData.BuilderassociationType(ContentAssociationType associationType)The type of association.ContentAssociationData.BuildercontentArn(String contentArn)The Amazon Resource Name (ARN) of the content.ContentAssociationData.BuildercontentAssociationArn(String contentAssociationArn)The Amazon Resource Name (ARN) of the content association.ContentAssociationData.BuildercontentAssociationId(String contentAssociationId)The identifier of the content association.ContentAssociationData.BuildercontentId(String contentId)The identifier of the content.ContentAssociationData.BuilderknowledgeBaseArn(String knowledgeBaseArn)The Amazon Resource Name (ARN) of the knowledge base.ContentAssociationData.BuilderknowledgeBaseId(String knowledgeBaseId)The identifier of the knowledge base.ContentAssociationData.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
ContentAssociationData.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 ContentAssociationData.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
ContentAssociationData.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
ContentAssociationData.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
ContentAssociationData.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
ContentAssociationData.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
ContentAssociationData.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
ContentAssociationData.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
ContentAssociationData.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
ContentAssociationData.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
ContentAssociationData.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.
-
-