Interface StreamConfigurationCreate.Builder

    • Method Detail

      • automaticTerminationMode

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

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

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

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

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

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

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

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

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

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

        StreamConfigurationCreate.Builder sessionBackup​(StreamConfigurationSessionBackup sessionBackup)

        Configures how streaming sessions are backed up when launched from this launch profile.

        Parameters:
        sessionBackup - Configures how streaming sessions are backed up when launched from this launch profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionPersistenceMode

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

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

        StreamConfigurationCreate.Builder sessionStorage​(StreamConfigurationSessionStorage sessionStorage)

        The upload storage for a streaming workstation that is created using this launch profile.

        Parameters:
        sessionStorage - The upload storage for a streaming workstation that is created using this launch profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • streamingImageIds

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

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

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