Interface UpdateSessionDataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSessionDataRequest.Builder,,UpdateSessionDataRequest> QConnectRequest.Builder,SdkBuilder<UpdateSessionDataRequest.Builder,,UpdateSessionDataRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSessionDataRequest
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.
-
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.Builderavoiding the need to create one manually viaRuntimeSessionData.builder().When the
Consumercompletes,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:
-
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:
-
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.
-
overrideConfiguration
UpdateSessionDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-