Interface StreamConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<StreamConfiguration.Builder,StreamConfiguration>, SdkBuilder<StreamConfiguration.Builder,StreamConfiguration>, SdkPojo
Enclosing class:
StreamConfiguration

public static interface StreamConfiguration.Builder extends SdkPojo, CopyableBuilder<StreamConfiguration.Builder,StreamConfiguration>
  • Method Details

    • automaticTerminationMode

      StreamConfiguration.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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • automaticTerminationMode

      StreamConfiguration.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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clipboardMode

      StreamConfiguration.Builder clipboardMode(String clipboardMode)

      Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.

      Parameters:
      clipboardMode - Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clipboardMode

      Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.

      Parameters:
      clipboardMode - Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ec2InstanceTypesWithStrings

      StreamConfiguration.Builder ec2InstanceTypesWithStrings(Collection<String> ec2InstanceTypes)

      The EC2 instance types that users can select from when launching a streaming session with this launch profile.

      Parameters:
      ec2InstanceTypes - The EC2 instance types that users can select from when launching a streaming session with this launch profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2InstanceTypesWithStrings

      StreamConfiguration.Builder ec2InstanceTypesWithStrings(String... ec2InstanceTypes)

      The EC2 instance types that users can select from when launching a streaming session with this launch profile.

      Parameters:
      ec2InstanceTypes - The EC2 instance types that users can select from when launching a streaming session with this launch profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2InstanceTypes

      StreamConfiguration.Builder ec2InstanceTypes(Collection<StreamingInstanceType> ec2InstanceTypes)

      The EC2 instance types that users can select from when launching a streaming session with this launch profile.

      Parameters:
      ec2InstanceTypes - The EC2 instance types that users can select from when launching a streaming session with this launch profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ec2InstanceTypes

      StreamConfiguration.Builder ec2InstanceTypes(StreamingInstanceType... ec2InstanceTypes)

      The EC2 instance types that users can select from when launching a streaming session with this launch profile.

      Parameters:
      ec2InstanceTypes - The EC2 instance types that users can select from when launching a streaming session with this launch profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxSessionLengthInMinutes

      StreamConfiguration.Builder maxSessionLengthInMinutes(Integer maxSessionLengthInMinutes)

      The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.

      Parameters:
      maxSessionLengthInMinutes - The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxStoppedSessionLengthInMinutes

      StreamConfiguration.Builder maxStoppedSessionLengthInMinutes(Integer maxStoppedSessionLengthInMinutes)

      Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

      This field is allowed only when sessionPersistenceMode is ACTIVATED and automaticTerminationMode is ACTIVATED.

      If the value is set to 0, your sessions can’t be STOPPED. If you then call StopStreamingSession, the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated (instead of STOPPED).

      If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped (instead of terminated).

      Parameters:
      maxStoppedSessionLengthInMinutes - Integer that determines if you can start and stop your sessions and how long a session can stay in the STOPPED state. The default value is 0. The maximum value is 5760.

      This field is allowed only when sessionPersistenceMode is ACTIVATED and automaticTerminationMode is ACTIVATED.

      If the value is set to 0, your sessions can’t be STOPPED. If you then call StopStreamingSession, the session fails. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be terminated (instead of STOPPED).

      If the value is set to a positive number, the session can be stopped. You can call StopStreamingSession to stop sessions in the READY state. If the time that a session stays in the READY state exceeds the maxSessionLengthInMinutes value, the session will automatically be stopped (instead of terminated).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionBackup

      Information about the streaming session backup.

      Parameters:
      sessionBackup - Information about the streaming session backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionBackup

      Information about the streaming session backup.

      This is a convenience method that creates an instance of the StreamConfigurationSessionBackup.Builder avoiding the need to create one manually via StreamConfigurationSessionBackup.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sessionBackup(StreamConfigurationSessionBackup).

      Parameters:
      sessionBackup - a consumer that will call methods on StreamConfigurationSessionBackup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sessionPersistenceMode

      StreamConfiguration.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.

      Parameters:
      sessionPersistenceMode - Determine if a streaming session created from this launch profile can configure persistent storage. This means that volumeConfiguration and automaticTerminationMode are configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sessionPersistenceMode

      StreamConfiguration.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.

      Parameters:
      sessionPersistenceMode - Determine if a streaming session created from this launch profile can configure persistent storage. This means that volumeConfiguration and automaticTerminationMode are configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sessionStorage

      The upload storage for a streaming session.

      Parameters:
      sessionStorage - The upload storage for a streaming session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionStorage

      The upload storage for a streaming session.

      This is a convenience method that creates an instance of the StreamConfigurationSessionStorage.Builder avoiding the need to create one manually via StreamConfigurationSessionStorage.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sessionStorage(StreamConfigurationSessionStorage).

      Parameters:
      sessionStorage - a consumer that will call methods on StreamConfigurationSessionStorage.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • streamingImageIds

      StreamConfiguration.Builder streamingImageIds(Collection<String> streamingImageIds)

      The streaming images that users can select from when launching a streaming session with this launch profile.

      Parameters:
      streamingImageIds - The streaming images that users can select from when launching a streaming session with this launch profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamingImageIds

      StreamConfiguration.Builder streamingImageIds(String... streamingImageIds)

      The streaming images that users can select from when launching a streaming session with this launch profile.

      Parameters:
      streamingImageIds - The streaming images that users can select from when launching a streaming session with this launch profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeConfiguration

      StreamConfiguration.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.

      Parameters:
      volumeConfiguration - Custom volume configuration for the root volumes that are attached to streaming sessions.

      This parameter is only allowed when sessionPersistenceMode is ACTIVATED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volumeConfiguration

      default StreamConfiguration.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.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      volumeConfiguration - a consumer that will call methods on VolumeConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: