Interface CreateContentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateContentResponse.Builder,,CreateContentResponse> QConnectResponse.Builder,SdkBuilder<CreateContentResponse.Builder,,CreateContentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateContentResponse
@Mutable
@NotThreadSafe
public static interface CreateContentResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateContentResponse.Builder,CreateContentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateContentResponse.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:
-