Interface WorkspacesPoolSession.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspacesPoolSession.Builder,WorkspacesPoolSession>,SdkBuilder<WorkspacesPoolSession.Builder,WorkspacesPoolSession>,SdkPojo
- Enclosing class:
- WorkspacesPoolSession
public static interface WorkspacesPoolSession.Builder extends SdkPojo, CopyableBuilder<WorkspacesPoolSession.Builder,WorkspacesPoolSession>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WorkspacesPoolSession.BuilderauthenticationType(String authenticationType)The authentication method.WorkspacesPoolSession.BuilderauthenticationType(AuthenticationType authenticationType)The authentication method.WorkspacesPoolSession.BuilderconnectionState(String connectionState)Specifies whether a user is connected to the pool session.WorkspacesPoolSession.BuilderconnectionState(SessionConnectionState connectionState)Specifies whether a user is connected to the pool session.WorkspacesPoolSession.BuilderexpirationTime(Instant expirationTime)The time that the pool session ended.WorkspacesPoolSession.BuilderinstanceId(String instanceId)The identifier for the instance hosting the session.default WorkspacesPoolSession.BuildernetworkAccessConfiguration(Consumer<NetworkAccessConfiguration.Builder> networkAccessConfiguration)Describes the network details of the pool.WorkspacesPoolSession.BuildernetworkAccessConfiguration(NetworkAccessConfiguration networkAccessConfiguration)Describes the network details of the pool.WorkspacesPoolSession.BuilderpoolId(String poolId)The identifier of the pool.WorkspacesPoolSession.BuildersessionId(String sessionId)The identifier of the session.WorkspacesPoolSession.BuilderstartTime(Instant startTime)The time that the pool sission started.WorkspacesPoolSession.BuilderuserId(String userId)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
authenticationType
WorkspacesPoolSession.Builder authenticationType(String 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,AuthenticationType
-
authenticationType
WorkspacesPoolSession.Builder authenticationType(AuthenticationType 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,AuthenticationType
-
connectionState
WorkspacesPoolSession.Builder connectionState(String 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:
SessionConnectionState,SessionConnectionState
-
connectionState
WorkspacesPoolSession.Builder connectionState(SessionConnectionState 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:
SessionConnectionState,SessionConnectionState
-
sessionId
WorkspacesPoolSession.Builder sessionId(String 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
WorkspacesPoolSession.Builder instanceId(String 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
WorkspacesPoolSession.Builder poolId(String 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
WorkspacesPoolSession.Builder expirationTime(Instant 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.Builderavoiding the need to create one manually viaNetworkAccessConfiguration.builder().When the
Consumercompletes,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:
networkAccessConfiguration(NetworkAccessConfiguration)
-
startTime
WorkspacesPoolSession.Builder startTime(Instant 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
WorkspacesPoolSession.Builder userId(String 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.
-
-