Interface UpdateSessionDataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateSessionDataRequest.Builder,
,UpdateSessionDataRequest> QConnectRequest.Builder
,SdkBuilder<UpdateSessionDataRequest.Builder,
,UpdateSessionDataRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateSessionDataRequest
@Mutable
@NotThreadSafe
public static interface UpdateSessionDataRequest.Builder
extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateSessionDataRequest.Builder,UpdateSessionDataRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassistantId
(String assistantId) The identifier of the Amazon Q in Connect assistant.data
(Collection<RuntimeSessionData> data) The data stored on the Amazon Q in Connect Session.data
(Consumer<RuntimeSessionData.Builder>... data) The data stored on the Amazon Q in Connect Session.data
(RuntimeSessionData... data) The data stored on the Amazon Q in Connect Session.The namespace into which the session data is stored.namespace
(SessionDataNamespace namespace) The namespace into which the session data is stored.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The identifier of the session.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.qconnect.model.QConnectRequest.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
-
assistantId
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
assistantId
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
sessionId
- The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
The namespace into which the session data is stored. Supported namespaces are: Custom
- Parameters:
namespace
- The namespace into which the session data is stored. Supported namespaces are: Custom- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
namespace
The namespace into which the session data is stored. Supported namespaces are: Custom
- Parameters:
namespace
- The namespace into which the session data is stored. Supported namespaces are: Custom- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
data
The data stored on the Amazon Q in Connect Session.
- Parameters:
data
- The data stored on the Amazon Q in Connect Session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The data stored on the Amazon Q in Connect Session.
- Parameters:
data
- The data stored on the Amazon Q in Connect Session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The data stored on the Amazon Q in Connect Session.
This is a convenience method that creates an instance of theRuntimeSessionData.Builder
avoiding the need to create one manually viaRuntimeSessionData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todata(List<RuntimeSessionData>)
.- Parameters:
data
- a consumer that will call methods onRuntimeSessionData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSessionDataRequest.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
UpdateSessionDataRequest.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.
-