Interface GetContentAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetContentAssociationResponse.Builder,,GetContentAssociationResponse> QConnectResponse.Builder,SdkBuilder<GetContentAssociationResponse.Builder,,GetContentAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetContentAssociationResponse
@Mutable
@NotThreadSafe
public static interface GetContentAssociationResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<GetContentAssociationResponse.Builder,GetContentAssociationResponse>
-
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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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 GetContentAssociationResponse.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:
-