Interface CreateContentAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateContentAssociationResponse.Builder,
,CreateContentAssociationResponse> QConnectResponse.Builder
,SdkBuilder<CreateContentAssociationResponse.Builder,
,CreateContentAssociationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateContentAssociationResponse
@Mutable
@NotThreadSafe
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
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 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.Builder
avoiding the need to create one manually viaContentAssociationData.builder()
.When the
Consumer
completes,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:
-