Interface CreateContentAssociationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateContentAssociationResponse.Builder,CreateContentAssociationResponse>,QConnectResponse.Builder,SdkBuilder<CreateContentAssociationResponse.Builder,CreateContentAssociationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateContentAssociationResponse
public static interface CreateContentAssociationResponse.Builder extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateContentAssociationResponse.Builder,CreateContentAssociationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateContentAssociationResponse.BuildercontentAssociation(Consumer<ContentAssociationData.Builder> contentAssociation)The association between Amazon Q in Connect content and another resource.CreateContentAssociationResponse.BuildercontentAssociation(ContentAssociationData contentAssociation)The association between Amazon Q in Connect content and another resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
contentAssociation
CreateContentAssociationResponse.Builder contentAssociation(ContentAssociationData contentAssociation)
The association between Amazon Q in Connect content and another resource.
- Parameters:
contentAssociation- The association between Amazon Q in Connect content and another resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentAssociation
default CreateContentAssociationResponse.Builder contentAssociation(Consumer<ContentAssociationData.Builder> contentAssociation)
The association between Amazon Q in Connect content and another resource.
This is a convenience method that creates an instance of theContentAssociationData.Builderavoiding the need to create one manually viaContentAssociationData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontentAssociation(ContentAssociationData).- Parameters:
contentAssociation- a consumer that will call methods onContentAssociationData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
contentAssociation(ContentAssociationData)
-
-