@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeoutSettings extends Object implements Serializable, Cloneable, StructuredPojo
Describes the timeout settings for a pool of WorkSpaces.
Constructor and Description |
---|
TimeoutSettings() |
Modifier and Type | Method and Description |
---|---|
TimeoutSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getDisconnectTimeoutInSeconds()
Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect.
|
Integer |
getIdleDisconnectTimeoutInSeconds()
The amount of time in seconds a connection will stay active while idle.
|
Integer |
getMaxUserDurationInSeconds()
Specifies the maximum amount of time, in seconds, that a streaming session can remain active.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect.
|
void |
setIdleDisconnectTimeoutInSeconds(Integer idleDisconnectTimeoutInSeconds)
The amount of time in seconds a connection will stay active while idle.
|
void |
setMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
Specifies the maximum amount of time, in seconds, that a streaming session can remain active.
|
String |
toString()
Returns a string representation of this object.
|
TimeoutSettings |
withDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect.
|
TimeoutSettings |
withIdleDisconnectTimeoutInSeconds(Integer idleDisconnectTimeoutInSeconds)
The amount of time in seconds a connection will stay active while idle.
|
TimeoutSettings |
withMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
Specifies the maximum amount of time, in seconds, that a streaming session can remain active.
|
public void setDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within the time set, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.
disconnectTimeoutInSeconds
- Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect.
If users try to reconnect to the streaming session after a disconnection or network interruption within
the time set, they are connected to their previous session. Otherwise, they are connected to a new session
with a new streaming instance.public Integer getDisconnectTimeoutInSeconds()
Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within the time set, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.
public TimeoutSettings withDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within the time set, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.
disconnectTimeoutInSeconds
- Specifies the amount of time, in seconds, that a streaming session remains active after users disconnect.
If users try to reconnect to the streaming session after a disconnection or network interruption within
the time set, they are connected to their previous session. Otherwise, they are connected to a new session
with a new streaming instance.public void setIdleDisconnectTimeoutInSeconds(Integer idleDisconnectTimeoutInSeconds)
The amount of time in seconds a connection will stay active while idle.
idleDisconnectTimeoutInSeconds
- The amount of time in seconds a connection will stay active while idle.public Integer getIdleDisconnectTimeoutInSeconds()
The amount of time in seconds a connection will stay active while idle.
public TimeoutSettings withIdleDisconnectTimeoutInSeconds(Integer idleDisconnectTimeoutInSeconds)
The amount of time in seconds a connection will stay active while idle.
idleDisconnectTimeoutInSeconds
- The amount of time in seconds a connection will stay active while idle.public void setMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
Specifies the maximum amount of time, in seconds, that a streaming session can remain active. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.
maxUserDurationInSeconds
- Specifies the maximum amount of time, in seconds, that a streaming session can remain active. If users are
still connected to a streaming instance five minutes before this limit is reached, they are prompted to
save any open documents before being disconnected. After this time elapses, the instance is terminated and
replaced by a new instance.public Integer getMaxUserDurationInSeconds()
Specifies the maximum amount of time, in seconds, that a streaming session can remain active. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.
public TimeoutSettings withMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
Specifies the maximum amount of time, in seconds, that a streaming session can remain active. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.
maxUserDurationInSeconds
- Specifies the maximum amount of time, in seconds, that a streaming session can remain active. If users are
still connected to a streaming instance five minutes before this limit is reached, they are prompted to
save any open documents before being disconnected. After this time elapses, the instance is terminated and
replaced by a new instance.public String toString()
toString
in class Object
Object.toString()
public TimeoutSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.