Interface StartQAppSessionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartQAppSessionRequest.Builder,StartQAppSessionRequest>,QAppsRequest.Builder,SdkBuilder<StartQAppSessionRequest.Builder,StartQAppSessionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartQAppSessionRequest
public static interface StartQAppSessionRequest.Builder extends QAppsRequest.Builder, SdkPojo, CopyableBuilder<StartQAppSessionRequest.Builder,StartQAppSessionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartQAppSessionRequest.BuilderappId(String appId)The unique identifier of the Q App to start a session for.StartQAppSessionRequest.BuilderappVersion(Integer appVersion)The version of the Q App to use for the session.StartQAppSessionRequest.BuilderinitialValues(Collection<CardValue> initialValues)Optional initial input values to provide for the Q App session.StartQAppSessionRequest.BuilderinitialValues(Consumer<CardValue.Builder>... initialValues)Optional initial input values to provide for the Q App session.StartQAppSessionRequest.BuilderinitialValues(CardValue... initialValues)Optional initial input values to provide for the Q App session.StartQAppSessionRequest.BuilderinstanceId(String instanceId)The unique identifier of the Amazon Q Business application environment instance.StartQAppSessionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartQAppSessionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartQAppSessionRequest.Buildertags(Map<String,String> tags)Optional tags to associate with the new Q App 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.qapps.model.QAppsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
instanceId
StartQAppSessionRequest.Builder instanceId(String instanceId)
The unique identifier of the Amazon Q Business application environment instance.
- Parameters:
instanceId- The unique identifier of the Amazon Q Business application environment instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appId
StartQAppSessionRequest.Builder appId(String appId)
The unique identifier of the Q App to start a session for.
- Parameters:
appId- The unique identifier of the Q App to start a session for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appVersion
StartQAppSessionRequest.Builder appVersion(Integer appVersion)
The version of the Q App to use for the session.
- Parameters:
appVersion- The version of the Q App to use for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialValues
StartQAppSessionRequest.Builder initialValues(Collection<CardValue> initialValues)
Optional initial input values to provide for the Q App session.
- Parameters:
initialValues- Optional initial input values to provide for the Q App session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialValues
StartQAppSessionRequest.Builder initialValues(CardValue... initialValues)
Optional initial input values to provide for the Q App session.
- Parameters:
initialValues- Optional initial input values to provide for the Q App session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialValues
StartQAppSessionRequest.Builder initialValues(Consumer<CardValue.Builder>... initialValues)
Optional initial input values to provide for the Q App session.
This is a convenience method that creates an instance of theCardValue.Builderavoiding the need to create one manually viaCardValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#initialValues(List.) - Parameters:
initialValues- a consumer that will call methods onCardValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#initialValues(java.util.Collection)
-
tags
StartQAppSessionRequest.Builder tags(Map<String,String> tags)
Optional tags to associate with the new Q App session.
- Parameters:
tags- Optional tags to associate with the new Q App session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartQAppSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartQAppSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-