Interface WorkspacesPoolSession.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkspacesPoolSession.Builder,
,WorkspacesPoolSession> SdkBuilder<WorkspacesPoolSession.Builder,
,WorkspacesPoolSession> SdkPojo
- Enclosing class:
WorkspacesPoolSession
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationType
(String authenticationType) The authentication method.authenticationType
(AuthenticationType authenticationType) The authentication method.connectionState
(String connectionState) Specifies whether a user is connected to the pool session.connectionState
(SessionConnectionState connectionState) Specifies whether a user is connected to the pool session.expirationTime
(Instant expirationTime) The time that the pool session ended.instanceId
(String instanceId) The identifier for the instance hosting the session.default WorkspacesPoolSession.Builder
networkAccessConfiguration
(Consumer<NetworkAccessConfiguration.Builder> networkAccessConfiguration) Describes the network details of the pool.networkAccessConfiguration
(NetworkAccessConfiguration networkAccessConfiguration) Describes the network details of the pool.The identifier of the pool.The identifier of the session.The time that the pool sission started.The identifier of the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
authenticationType
The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).
- Parameters:
authenticationType
- The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authenticationType
The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).
- Parameters:
authenticationType
- The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionState
Specifies whether a user is connected to the pool session.
- Parameters:
connectionState
- Specifies whether a user is connected to the pool session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionState
Specifies whether a user is connected to the pool session.
- Parameters:
connectionState
- Specifies whether a user is connected to the pool session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionId
The identifier of the session.
- Parameters:
sessionId
- The identifier of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The identifier for the instance hosting the session.
- Parameters:
instanceId
- The identifier for the instance hosting the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolId
The identifier of the pool.
- Parameters:
poolId
- The identifier of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationTime
The time that the pool session ended.
- Parameters:
expirationTime
- The time that the pool session ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkAccessConfiguration
WorkspacesPoolSession.Builder networkAccessConfiguration(NetworkAccessConfiguration networkAccessConfiguration) Describes the network details of the pool.
- Parameters:
networkAccessConfiguration
- Describes the network details of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkAccessConfiguration
default WorkspacesPoolSession.Builder networkAccessConfiguration(Consumer<NetworkAccessConfiguration.Builder> networkAccessConfiguration) Describes the network details of the pool.
This is a convenience method that creates an instance of theNetworkAccessConfiguration.Builder
avoiding the need to create one manually viaNetworkAccessConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkAccessConfiguration(NetworkAccessConfiguration)
.- Parameters:
networkAccessConfiguration
- a consumer that will call methods onNetworkAccessConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The time that the pool sission started.
- Parameters:
startTime
- The time that the pool sission started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The identifier of the user.
- Parameters:
userId
- The identifier of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-