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
Modifier and TypeMethodDescriptioncontentAssociation(Consumer<ContentAssociationData.Builder> contentAssociation) The association between Amazon Q in Connect content and another resource.contentAssociation(ContentAssociationData contentAssociation) The association between Amazon Q in Connect content and another resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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:
-