public static interface CreateContentResponse.Builder extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<CreateContentResponse.Builder,CreateContentResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateContentResponse.Builder |
content(Consumer<ContentData.Builder> content)
The content.
|
CreateContentResponse.Builder |
content(ContentData content)
The content.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateContentResponse.Builder content(ContentData content)
The content.
content - The content.default CreateContentResponse.Builder content(Consumer<ContentData.Builder> content)
The content.
This is a convenience 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 © 2021. All rights reserved.