Interface GetContentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetContentResponse.Builder,,GetContentResponse> QConnectResponse.Builder,SdkBuilder<GetContentResponse.Builder,,GetContentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetContentResponse
@Mutable
@NotThreadSafe
public static interface GetContentResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<GetContentResponse.Builder,GetContentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetContentResponse.Buildercontent(Consumer<ContentData.Builder> content) The content.content(ContentData content) The content.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
-
content
The content.
- Parameters:
content- The content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content.
This is a convenience method that creates an instance of theContentData.Builderavoiding the need to create one manually viaContentData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(ContentData).- Parameters:
content- a consumer that will call methods onContentData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-