Interface InvokeAssistantRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<InvokeAssistantRequest.Builder,
,InvokeAssistantRequest> IoTSiteWiseRequest.Builder
,SdkBuilder<InvokeAssistantRequest.Builder,
,InvokeAssistantRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
InvokeAssistantRequest
@Mutable
@NotThreadSafe
public static interface InvokeAssistantRequest.Builder
extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<InvokeAssistantRequest.Builder,InvokeAssistantRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconversationId
(String conversationId) The ID assigned to a conversation.enableTrace
(Boolean enableTrace) Specifies if to turn trace on or not.A text message sent to the SiteWise Assistant by the user.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
conversationId
The ID assigned to a conversation. IoT SiteWise automatically generates a unique ID for you, and this parameter is never required. However, if you prefer to have your own ID, you must specify it here in UUID format. If you specify your own ID, it must be globally unique.
- Parameters:
conversationId
- The ID assigned to a conversation. IoT SiteWise automatically generates a unique ID for you, and this parameter is never required. However, if you prefer to have your own ID, you must specify it here in UUID format. If you specify your own ID, it must be globally unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
A text message sent to the SiteWise Assistant by the user.
- Parameters:
message
- A text message sent to the SiteWise Assistant by the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableTrace
Specifies if to turn trace on or not. It is used to track the SiteWise Assistant's reasoning, and data access process.
- Parameters:
enableTrace
- Specifies if to turn trace on or not. It is used to track the SiteWise Assistant's reasoning, and data access process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
InvokeAssistantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
InvokeAssistantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-