Interface StreamConfiguration.Builder

    • Method Detail

      • 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, AutomaticTerminationMode
      • 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:
        AutomaticTerminationMode, AutomaticTerminationMode
      • 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:
        StreamingClipboardMode, StreamingClipboardMode
      • clipboardMode

        StreamConfiguration.Builder clipboardMode​(StreamingClipboardMode 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:
        StreamingClipboardMode, StreamingClipboardMode
      • 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

        StreamConfiguration.Builder sessionBackup​(StreamConfigurationSessionBackup 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.
      • 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, SessionPersistenceMode
      • 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:
        SessionPersistenceMode, SessionPersistenceMode
      • sessionStorage

        StreamConfiguration.Builder sessionStorage​(StreamConfigurationSessionStorage 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.
      • 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.