Interface UpdateAssistantAiAgentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateAssistantAiAgentResponse.Builder,
,UpdateAssistantAiAgentResponse> QConnectResponse.Builder
,SdkBuilder<UpdateAssistantAiAgentResponse.Builder,
,UpdateAssistantAiAgentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateAssistantAiAgentResponse
@Mutable
@NotThreadSafe
public static interface UpdateAssistantAiAgentResponse.Builder
extends QConnectResponse.Builder, SdkPojo, CopyableBuilder<UpdateAssistantAiAgentResponse.Builder,UpdateAssistantAiAgentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassistant
(Consumer<AssistantData.Builder> assistant) Sets the value of the Assistant property for this object.assistant
(AssistantData assistant) Sets the value of the Assistant property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assistant
Sets the value of the Assistant property for this object.- Parameters:
assistant
- The new value for the Assistant property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assistant
Sets the value of the Assistant property for this object. 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:
-