public static interface Session.Builder extends SdkPojo, CopyableBuilder<Session.Builder,Session>
| Modifier and Type | Method and Description |
|---|---|
Session.Builder |
authenticationType(AuthenticationType authenticationType)
The authentication method.
|
Session.Builder |
authenticationType(String authenticationType)
The authentication method.
|
Session.Builder |
connectionState(SessionConnectionState connectionState)
Specifies whether a user is connected to the streaming session.
|
Session.Builder |
connectionState(String connectionState)
Specifies whether a user is connected to the streaming session.
|
Session.Builder |
fleetName(String fleetName)
The name of the fleet for the streaming session.
|
Session.Builder |
id(String id)
The identifier of the streaming session.
|
Session.Builder |
maxExpirationTime(Instant maxExpirationTime)
The time when the streaming session is set to expire.
|
default Session.Builder |
networkAccessConfiguration(Consumer<NetworkAccessConfiguration.Builder> networkAccessConfiguration)
The network details for the streaming session.
|
Session.Builder |
networkAccessConfiguration(NetworkAccessConfiguration networkAccessConfiguration)
The network details for the streaming session.
|
Session.Builder |
stackName(String stackName)
The name of the stack for the streaming session.
|
Session.Builder |
startTime(Instant startTime)
The time when a streaming instance is dedicated for the user.
|
Session.Builder |
state(SessionState state)
The current state of the streaming session.
|
Session.Builder |
state(String state)
The current state of the streaming session.
|
Session.Builder |
userId(String userId)
The identifier of the user for whom the session was created.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSession.Builder id(String id)
The identifier of the streaming session.
id - The identifier of the streaming session.Session.Builder userId(String userId)
The identifier of the user for whom the session was created.
userId - The identifier of the user for whom the session was created.Session.Builder stackName(String stackName)
The name of the stack for the streaming session.
stackName - The name of the stack for the streaming session.Session.Builder fleetName(String fleetName)
The name of the fleet for the streaming session.
fleetName - The name of the fleet for the streaming session.Session.Builder state(String state)
The current state of the streaming session.
state - The current state of the streaming session.SessionState,
SessionStateSession.Builder state(SessionState state)
The current state of the streaming session.
state - The current state of the streaming session.SessionState,
SessionStateSession.Builder connectionState(String connectionState)
Specifies whether a user is connected to the streaming session.
connectionState - Specifies whether a user is connected to the streaming session.SessionConnectionState,
SessionConnectionStateSession.Builder connectionState(SessionConnectionState connectionState)
Specifies whether a user is connected to the streaming session.
connectionState - Specifies whether a user is connected to the streaming session.SessionConnectionState,
SessionConnectionStateSession.Builder startTime(Instant startTime)
The time when a streaming instance is dedicated for the user.
startTime - The time when a streaming instance is dedicated for the user.Session.Builder maxExpirationTime(Instant maxExpirationTime)
The time when the streaming session is set to expire. This time is based on the
MaxUserDurationinSeconds value, which determines the maximum length of time that a streaming
session can run. A streaming session might end earlier than the time specified in
SessionMaxExpirationTime, when the DisconnectTimeOutInSeconds elapses or the user
chooses to end his or her session. If the DisconnectTimeOutInSeconds elapses, or the user
chooses to end his or her session, the streaming instance is terminated and the streaming session ends.
maxExpirationTime - The time when the streaming session is set to expire. This time is based on the
MaxUserDurationinSeconds value, which determines the maximum length of time that a
streaming session can run. A streaming session might end earlier than the time specified in
SessionMaxExpirationTime, when the DisconnectTimeOutInSeconds elapses or the
user chooses to end his or her session. If the DisconnectTimeOutInSeconds elapses, or the
user chooses to end his or her session, the streaming instance is terminated and the streaming session
ends.Session.Builder authenticationType(String authenticationType)
The authentication method. The user is authenticated using a streaming URL (API) or SAML 2.0
federation (SAML).
authenticationType - The authentication method. The user is authenticated using a streaming URL (API) or SAML
2.0 federation (SAML).AuthenticationType,
AuthenticationTypeSession.Builder authenticationType(AuthenticationType authenticationType)
The authentication method. The user is authenticated using a streaming URL (API) or SAML 2.0
federation (SAML).
authenticationType - The authentication method. The user is authenticated using a streaming URL (API) or SAML
2.0 federation (SAML).AuthenticationType,
AuthenticationTypeSession.Builder networkAccessConfiguration(NetworkAccessConfiguration networkAccessConfiguration)
The network details for the streaming session.
networkAccessConfiguration - The network details for the streaming session.default Session.Builder networkAccessConfiguration(Consumer<NetworkAccessConfiguration.Builder> networkAccessConfiguration)
The network details for the streaming session.
This is a convenience method that creates an instance of theNetworkAccessConfiguration.Builder
avoiding the need to create one manually via NetworkAccessConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to networkAccessConfiguration(NetworkAccessConfiguration).
networkAccessConfiguration - a consumer that will call methods on NetworkAccessConfiguration.BuildernetworkAccessConfiguration(NetworkAccessConfiguration)Copyright © 2023. All rights reserved.