Interface CreateAssistantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateAssistantResponse.Builder,
,CreateAssistantResponse> SdkBuilder<CreateAssistantResponse.Builder,
,CreateAssistantResponse> SdkPojo
,SdkResponse.Builder
,WisdomResponse.Builder
- Enclosing class:
CreateAssistantResponse
public static interface CreateAssistantResponse.Builder
extends WisdomResponse.Builder, SdkPojo, CopyableBuilder<CreateAssistantResponse.Builder,CreateAssistantResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAssistantResponse.Builder
assistant
(Consumer<AssistantData.Builder> assistant) Information about the assistant.assistant
(AssistantData assistant) Information about the assistant.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
-
assistant
Information about the assistant.
- Parameters:
assistant
- Information about the assistant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assistant
Information about the assistant.
This is a convenience method that creates an instance of theAssistantData.Builder
avoiding the need to create one manually viaAssistantData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassistant(AssistantData)
.- Parameters:
assistant
- a consumer that will call methods onAssistantData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-