public static interface StreamingSession.Builder extends SdkPojo, CopyableBuilder<StreamingSession.Builder,StreamingSession>
| Modifier and Type | Method and Description |
|---|---|
StreamingSession.Builder |
arn(String arn)
The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it.
|
StreamingSession.Builder |
automaticTerminationMode(AutomaticTerminationMode automaticTerminationMode)
Indicates if a streaming session created from this launch profile should be terminated automatically or
retained without termination after being in a
STOPPED state. |
StreamingSession.Builder |
automaticTerminationMode(String automaticTerminationMode)
Indicates if a streaming session created from this launch profile should be terminated automatically or
retained without termination after being in a
STOPPED state. |
StreamingSession.Builder |
backupMode(SessionBackupMode backupMode)
Shows the current backup setting of the session.
|
StreamingSession.Builder |
backupMode(String backupMode)
Shows the current backup setting of the session.
|
StreamingSession.Builder |
createdAt(Instant createdAt)
The ISO timestamp in seconds for when the resource was created.
|
StreamingSession.Builder |
createdBy(String createdBy)
The user ID of the user that created the streaming session.
|
StreamingSession.Builder |
ec2InstanceType(String ec2InstanceType)
The EC2 Instance type used for the streaming session.
|
StreamingSession.Builder |
launchProfileId(String launchProfileId)
The ID of the launch profile used to control access from the streaming session.
|
StreamingSession.Builder |
maxBackupsToRetain(Integer maxBackupsToRetain)
The maximum number of backups of a streaming session that you can have.
|
StreamingSession.Builder |
ownedBy(String ownedBy)
The user ID of the user that owns the streaming session.
|
StreamingSession.Builder |
sessionId(String sessionId)
The session ID.
|
StreamingSession.Builder |
sessionPersistenceMode(SessionPersistenceMode sessionPersistenceMode)
Determine if a streaming session created from this launch profile can configure persistent storage.
|
StreamingSession.Builder |
sessionPersistenceMode(String sessionPersistenceMode)
Determine if a streaming session created from this launch profile can configure persistent storage.
|
StreamingSession.Builder |
startedAt(Instant startedAt)
The time the session entered
START_IN_PROGRESS state. |
StreamingSession.Builder |
startedBy(String startedBy)
The user ID of the user that started the streaming session.
|
StreamingSession.Builder |
startedFromBackupId(String startedFromBackupId)
The backup ID used to restore a streaming session.
|
StreamingSession.Builder |
state(StreamingSessionState state)
The current state.
|
StreamingSession.Builder |
state(String state)
The current state.
|
StreamingSession.Builder |
statusCode(StreamingSessionStatusCode statusCodeValue)
The status code.
|
StreamingSession.Builder |
statusCode(String statusCodeValue)
The status code.
|
StreamingSession.Builder |
statusMessage(String statusMessage)
The status message for the streaming session.
|
StreamingSession.Builder |
stopAt(Instant stopAt)
The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.
|
StreamingSession.Builder |
stoppedAt(Instant stoppedAt)
The time the session entered
STOP_IN_PROGRESS state. |
StreamingSession.Builder |
stoppedBy(String stoppedBy)
The user ID of the user that stopped the streaming session.
|
StreamingSession.Builder |
streamingImageId(String streamingImageId)
The ID of the streaming image.
|
StreamingSession.Builder |
tags(Map<String,String> tags)
A collection of labels, in the form of key-value pairs, that apply to this resource.
|
StreamingSession.Builder |
terminateAt(Instant terminateAt)
The time the streaming session will automatically terminate if not terminated by the user.
|
StreamingSession.Builder |
updatedAt(Instant updatedAt)
The ISO timestamp in seconds for when the resource was updated.
|
StreamingSession.Builder |
updatedBy(String updatedBy)
The user ID of the user that most recently updated the resource.
|
default StreamingSession.Builder |
volumeConfiguration(Consumer<VolumeConfiguration.Builder> volumeConfiguration)
Custom volume configuration for the root volumes that are attached to streaming sessions.
|
StreamingSession.Builder |
volumeConfiguration(VolumeConfiguration volumeConfiguration)
Custom volume configuration for the root volumes that are attached to streaming sessions.
|
StreamingSession.Builder |
volumeRetentionMode(String volumeRetentionMode)
Determine if an EBS volume created from this streaming session will be backed up.
|
StreamingSession.Builder |
volumeRetentionMode(VolumeRetentionMode volumeRetentionMode)
Determine if an EBS volume created from this streaming session will be backed up.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStreamingSession.Builder arn(String arn)
The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs are unique across all Regions.
arn - The Amazon Resource Name (ARN) that is assigned to a studio resource and uniquely identifies it. ARNs
are unique across all Regions.StreamingSession.Builder automaticTerminationMode(String automaticTerminationMode)
Indicates if a streaming session created from this launch profile should be terminated automatically or
retained without termination after being in a STOPPED state.
When ACTIVATED, the streaming session is scheduled for termination after being in the
STOPPED state for the time specified in maxStoppedSessionLengthInMinutes.
When DEACTIVATED, the streaming session can remain in the STOPPED state
indefinitely.
This parameter is only allowed when sessionPersistenceMode is ACTIVATED. When
allowed, the default value for this parameter is DEACTIVATED.
automaticTerminationMode - Indicates if a streaming session created from this launch profile should be terminated automatically
or retained without termination after being in a STOPPED state.
When ACTIVATED, the streaming session is scheduled for termination after being in the
STOPPED state for the time specified in maxStoppedSessionLengthInMinutes.
When DEACTIVATED, the streaming session can remain in the STOPPED state
indefinitely.
This parameter is only allowed when sessionPersistenceMode is ACTIVATED.
When allowed, the default value for this parameter is DEACTIVATED.
AutomaticTerminationMode,
AutomaticTerminationModeStreamingSession.Builder automaticTerminationMode(AutomaticTerminationMode automaticTerminationMode)
Indicates if a streaming session created from this launch profile should be terminated automatically or
retained without termination after being in a STOPPED state.
When ACTIVATED, the streaming session is scheduled for termination after being in the
STOPPED state for the time specified in maxStoppedSessionLengthInMinutes.
When DEACTIVATED, the streaming session can remain in the STOPPED state
indefinitely.
This parameter is only allowed when sessionPersistenceMode is ACTIVATED. When
allowed, the default value for this parameter is DEACTIVATED.
automaticTerminationMode - Indicates if a streaming session created from this launch profile should be terminated automatically
or retained without termination after being in a STOPPED state.
When ACTIVATED, the streaming session is scheduled for termination after being in the
STOPPED state for the time specified in maxStoppedSessionLengthInMinutes.
When DEACTIVATED, the streaming session can remain in the STOPPED state
indefinitely.
This parameter is only allowed when sessionPersistenceMode is ACTIVATED.
When allowed, the default value for this parameter is DEACTIVATED.
AutomaticTerminationMode,
AutomaticTerminationModeStreamingSession.Builder backupMode(String backupMode)
Shows the current backup setting of the session.
backupMode - Shows the current backup setting of the session.SessionBackupMode,
SessionBackupModeStreamingSession.Builder backupMode(SessionBackupMode backupMode)
Shows the current backup setting of the session.
backupMode - Shows the current backup setting of the session.SessionBackupMode,
SessionBackupModeStreamingSession.Builder createdAt(Instant createdAt)
The ISO timestamp in seconds for when the resource was created.
createdAt - The ISO timestamp in seconds for when the resource was created.StreamingSession.Builder createdBy(String createdBy)
The user ID of the user that created the streaming session.
createdBy - The user ID of the user that created the streaming session.StreamingSession.Builder ec2InstanceType(String ec2InstanceType)
The EC2 Instance type used for the streaming session.
ec2InstanceType - The EC2 Instance type used for the streaming session.StreamingSession.Builder launchProfileId(String launchProfileId)
The ID of the launch profile used to control access from the streaming session.
launchProfileId - The ID of the launch profile used to control access from the streaming session.StreamingSession.Builder maxBackupsToRetain(Integer maxBackupsToRetain)
The maximum number of backups of a streaming session that you can have. When the maximum number of backups is reached, the oldest backup is deleted.
maxBackupsToRetain - The maximum number of backups of a streaming session that you can have. When the maximum number of
backups is reached, the oldest backup is deleted.StreamingSession.Builder ownedBy(String ownedBy)
The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
ownedBy - The user ID of the user that owns the streaming session. The user that owns the session will be
logging into the session and interacting with the virtual workstation.StreamingSession.Builder sessionId(String sessionId)
The session ID.
sessionId - The session ID.StreamingSession.Builder sessionPersistenceMode(String sessionPersistenceMode)
Determine if a streaming session created from this launch profile can configure persistent storage. This
means that volumeConfiguration and automaticTerminationMode are configured.
sessionPersistenceMode - Determine if a streaming session created from this launch profile can configure persistent storage.
This means that volumeConfiguration and automaticTerminationMode are
configured.SessionPersistenceMode,
SessionPersistenceModeStreamingSession.Builder sessionPersistenceMode(SessionPersistenceMode sessionPersistenceMode)
Determine if a streaming session created from this launch profile can configure persistent storage. This
means that volumeConfiguration and automaticTerminationMode are configured.
sessionPersistenceMode - Determine if a streaming session created from this launch profile can configure persistent storage.
This means that volumeConfiguration and automaticTerminationMode are
configured.SessionPersistenceMode,
SessionPersistenceModeStreamingSession.Builder startedAt(Instant startedAt)
The time the session entered START_IN_PROGRESS state.
startedAt - The time the session entered START_IN_PROGRESS state.StreamingSession.Builder startedBy(String startedBy)
The user ID of the user that started the streaming session.
startedBy - The user ID of the user that started the streaming session.StreamingSession.Builder startedFromBackupId(String startedFromBackupId)
The backup ID used to restore a streaming session.
startedFromBackupId - The backup ID used to restore a streaming session.StreamingSession.Builder state(String state)
The current state.
state - The current state.StreamingSessionState,
StreamingSessionStateStreamingSession.Builder state(StreamingSessionState state)
The current state.
state - The current state.StreamingSessionState,
StreamingSessionStateStreamingSession.Builder statusCode(String statusCodeValue)
The status code.
statusCodeValue - The status code.StreamingSessionStatusCode,
StreamingSessionStatusCodeStreamingSession.Builder statusCode(StreamingSessionStatusCode statusCodeValue)
The status code.
statusCodeValue - The status code.StreamingSessionStatusCode,
StreamingSessionStatusCodeStreamingSession.Builder statusMessage(String statusMessage)
The status message for the streaming session.
statusMessage - The status message for the streaming session.StreamingSession.Builder stopAt(Instant stopAt)
The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.
stopAt - The time the streaming session will automatically be stopped if the user doesn’t stop the session
themselves.StreamingSession.Builder stoppedAt(Instant stoppedAt)
The time the session entered STOP_IN_PROGRESS state.
stoppedAt - The time the session entered STOP_IN_PROGRESS state.StreamingSession.Builder stoppedBy(String stoppedBy)
The user ID of the user that stopped the streaming session.
stoppedBy - The user ID of the user that stopped the streaming session.StreamingSession.Builder streamingImageId(String streamingImageId)
The ID of the streaming image.
streamingImageId - The ID of the streaming image.StreamingSession.Builder tags(Map<String,String> tags)
A collection of labels, in the form of key-value pairs, that apply to this resource.
tags - A collection of labels, in the form of key-value pairs, that apply to this resource.StreamingSession.Builder terminateAt(Instant terminateAt)
The time the streaming session will automatically terminate if not terminated by the user.
terminateAt - The time the streaming session will automatically terminate if not terminated by the user.StreamingSession.Builder updatedAt(Instant updatedAt)
The ISO timestamp in seconds for when the resource was updated.
updatedAt - The ISO timestamp in seconds for when the resource was updated.StreamingSession.Builder updatedBy(String updatedBy)
The user ID of the user that most recently updated the resource.
updatedBy - The user ID of the user that most recently updated the resource.StreamingSession.Builder volumeConfiguration(VolumeConfiguration volumeConfiguration)
Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when sessionPersistenceMode is ACTIVATED.
volumeConfiguration - Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when sessionPersistenceMode is ACTIVATED.
default StreamingSession.Builder volumeConfiguration(Consumer<VolumeConfiguration.Builder> volumeConfiguration)
Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when sessionPersistenceMode is ACTIVATED.
VolumeConfiguration.Builder avoiding the
need to create one manually via VolumeConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to volumeConfiguration(VolumeConfiguration).
volumeConfiguration - a consumer that will call methods on VolumeConfiguration.BuildervolumeConfiguration(VolumeConfiguration)StreamingSession.Builder volumeRetentionMode(String volumeRetentionMode)
Determine if an EBS volume created from this streaming session will be backed up.
volumeRetentionMode - Determine if an EBS volume created from this streaming session will be backed up.VolumeRetentionMode,
VolumeRetentionModeStreamingSession.Builder volumeRetentionMode(VolumeRetentionMode volumeRetentionMode)
Determine if an EBS volume created from this streaming session will be backed up.
volumeRetentionMode - Determine if an EBS volume created from this streaming session will be backed up.VolumeRetentionMode,
VolumeRetentionModeCopyright © 2023. All rights reserved.