Interface CreateAssistantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateAssistantResponse.Builder,,CreateAssistantResponse> QConnectResponse.Builder,SdkBuilder<CreateAssistantResponse.Builder,,CreateAssistantResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateAssistantResponse
public static interface CreateAssistantResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateAssistantResponse.Builder,CreateAssistantResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateAssistantResponse.Builderassistant(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
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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.Builderavoiding the need to create one manually viaAssistantData.builder().When the
Consumercompletes,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:
-