public static interface GetContentResponse.Builder extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<GetContentResponse.Builder,GetContentResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetContentResponse.Builder |
content(Consumer<ContentData.Builder> content)
The content.
|
GetContentResponse.Builder |
content(ContentData content)
The content.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetContentResponse.Builder content(ContentData content)
The content.
content - The content.default GetContentResponse.Builder content(Consumer<ContentData.Builder> content)
The content.
This is a convenience method that creates an instance of theContentData.Builder avoiding the need to
create one manually via ContentData.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to content(ContentData).
content - a consumer that will call methods on ContentData.Buildercontent(ContentData)Copyright © 2023. All rights reserved.