Interface GetContentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetContentResponse.Builder,
,GetContentResponse> SdkBuilder<GetContentResponse.Builder,
,GetContentResponse> SdkPojo
,SdkResponse.Builder
,WisdomResponse.Builder
- Enclosing class:
GetContentResponse
public static interface GetContentResponse.Builder
extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<GetContentResponse.Builder,GetContentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetContentResponse.Builder
content
(Consumer<ContentData.Builder> content) The content.content
(ContentData content) The content.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomResponse.Builder
build, responseMetadata, responseMetadata
-
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.Builder
avoiding the need to create one manually viaContentData.builder()
.When the
Consumer
completes,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:
-