@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspacesPool extends Object implements Serializable, Cloneable, StructuredPojo
Describes a pool of WorkSpaces.
Constructor and Description |
---|
WorkspacesPool() |
Modifier and Type | Method and Description |
---|---|
WorkspacesPool |
clone() |
boolean |
equals(Object obj) |
ApplicationSettingsResponse |
getApplicationSettings()
The persistent application settings for users of the pool.
|
String |
getBundleId()
The identifier of the bundle used by the pool.
|
CapacityStatus |
getCapacityStatus()
The capacity status for the pool
|
Date |
getCreatedAt()
The time the pool was created.
|
String |
getDescription()
The description of the pool.
|
String |
getDirectoryId()
The identifier of the directory used by the pool.
|
List<WorkspacesPoolError> |
getErrors()
The pool errors.
|
String |
getPoolArn()
The Amazon Resource Name (ARN) for the pool.
|
String |
getPoolId()
The identifier of a pool.
|
String |
getPoolName()
The name of the pool,
|
String |
getState()
The current state of the pool.
|
TimeoutSettings |
getTimeoutSettings()
The amount of time that a pool session remains active after users disconnect.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationSettings(ApplicationSettingsResponse applicationSettings)
The persistent application settings for users of the pool.
|
void |
setBundleId(String bundleId)
The identifier of the bundle used by the pool.
|
void |
setCapacityStatus(CapacityStatus capacityStatus)
The capacity status for the pool
|
void |
setCreatedAt(Date createdAt)
The time the pool was created.
|
void |
setDescription(String description)
The description of the pool.
|
void |
setDirectoryId(String directoryId)
The identifier of the directory used by the pool.
|
void |
setErrors(Collection<WorkspacesPoolError> errors)
The pool errors.
|
void |
setPoolArn(String poolArn)
The Amazon Resource Name (ARN) for the pool.
|
void |
setPoolId(String poolId)
The identifier of a pool.
|
void |
setPoolName(String poolName)
The name of the pool,
|
void |
setState(String state)
The current state of the pool.
|
void |
setTimeoutSettings(TimeoutSettings timeoutSettings)
The amount of time that a pool session remains active after users disconnect.
|
String |
toString()
Returns a string representation of this object.
|
WorkspacesPool |
withApplicationSettings(ApplicationSettingsResponse applicationSettings)
The persistent application settings for users of the pool.
|
WorkspacesPool |
withBundleId(String bundleId)
The identifier of the bundle used by the pool.
|
WorkspacesPool |
withCapacityStatus(CapacityStatus capacityStatus)
The capacity status for the pool
|
WorkspacesPool |
withCreatedAt(Date createdAt)
The time the pool was created.
|
WorkspacesPool |
withDescription(String description)
The description of the pool.
|
WorkspacesPool |
withDirectoryId(String directoryId)
The identifier of the directory used by the pool.
|
WorkspacesPool |
withErrors(Collection<WorkspacesPoolError> errors)
The pool errors.
|
WorkspacesPool |
withErrors(WorkspacesPoolError... errors)
The pool errors.
|
WorkspacesPool |
withPoolArn(String poolArn)
The Amazon Resource Name (ARN) for the pool.
|
WorkspacesPool |
withPoolId(String poolId)
The identifier of a pool.
|
WorkspacesPool |
withPoolName(String poolName)
The name of the pool,
|
WorkspacesPool |
withState(String state)
The current state of the pool.
|
WorkspacesPool |
withState(WorkspacesPoolState state)
The current state of the pool.
|
WorkspacesPool |
withTimeoutSettings(TimeoutSettings timeoutSettings)
The amount of time that a pool session remains active after users disconnect.
|
public void setPoolId(String poolId)
The identifier of a pool.
poolId
- The identifier of a pool.public String getPoolId()
The identifier of a pool.
public WorkspacesPool withPoolId(String poolId)
The identifier of a pool.
poolId
- The identifier of a pool.public void setPoolArn(String poolArn)
The Amazon Resource Name (ARN) for the pool.
poolArn
- The Amazon Resource Name (ARN) for the pool.public String getPoolArn()
The Amazon Resource Name (ARN) for the pool.
public WorkspacesPool withPoolArn(String poolArn)
The Amazon Resource Name (ARN) for the pool.
poolArn
- The Amazon Resource Name (ARN) for the pool.public void setCapacityStatus(CapacityStatus capacityStatus)
The capacity status for the pool
capacityStatus
- The capacity status for the poolpublic CapacityStatus getCapacityStatus()
The capacity status for the pool
public WorkspacesPool withCapacityStatus(CapacityStatus capacityStatus)
The capacity status for the pool
capacityStatus
- The capacity status for the poolpublic void setPoolName(String poolName)
The name of the pool,
poolName
- The name of the pool,public String getPoolName()
The name of the pool,
public WorkspacesPool withPoolName(String poolName)
The name of the pool,
poolName
- The name of the pool,public void setDescription(String description)
The description of the pool.
description
- The description of the pool.public String getDescription()
The description of the pool.
public WorkspacesPool withDescription(String description)
The description of the pool.
description
- The description of the pool.public void setState(String state)
The current state of the pool.
state
- The current state of the pool.WorkspacesPoolState
public String getState()
The current state of the pool.
WorkspacesPoolState
public WorkspacesPool withState(String state)
The current state of the pool.
state
- The current state of the pool.WorkspacesPoolState
public WorkspacesPool withState(WorkspacesPoolState state)
The current state of the pool.
state
- The current state of the pool.WorkspacesPoolState
public void setCreatedAt(Date createdAt)
The time the pool was created.
createdAt
- The time the pool was created.public Date getCreatedAt()
The time the pool was created.
public WorkspacesPool withCreatedAt(Date createdAt)
The time the pool was created.
createdAt
- The time the pool was created.public void setBundleId(String bundleId)
The identifier of the bundle used by the pool.
bundleId
- The identifier of the bundle used by the pool.public String getBundleId()
The identifier of the bundle used by the pool.
public WorkspacesPool withBundleId(String bundleId)
The identifier of the bundle used by the pool.
bundleId
- The identifier of the bundle used by the pool.public void setDirectoryId(String directoryId)
The identifier of the directory used by the pool.
directoryId
- The identifier of the directory used by the pool.public String getDirectoryId()
The identifier of the directory used by the pool.
public WorkspacesPool withDirectoryId(String directoryId)
The identifier of the directory used by the pool.
directoryId
- The identifier of the directory used by the pool.public List<WorkspacesPoolError> getErrors()
The pool errors.
public void setErrors(Collection<WorkspacesPoolError> errors)
The pool errors.
errors
- The pool errors.public WorkspacesPool withErrors(WorkspacesPoolError... errors)
The pool errors.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- The pool errors.public WorkspacesPool withErrors(Collection<WorkspacesPoolError> errors)
The pool errors.
errors
- The pool errors.public void setApplicationSettings(ApplicationSettingsResponse applicationSettings)
The persistent application settings for users of the pool.
applicationSettings
- The persistent application settings for users of the pool.public ApplicationSettingsResponse getApplicationSettings()
The persistent application settings for users of the pool.
public WorkspacesPool withApplicationSettings(ApplicationSettingsResponse applicationSettings)
The persistent application settings for users of the pool.
applicationSettings
- The persistent application settings for users of the pool.public void setTimeoutSettings(TimeoutSettings timeoutSettings)
The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.
timeoutSettings
- The amount of time that a pool session remains active after users disconnect. If they try to reconnect to
the pool session after a disconnection or network interruption within this time interval, they are
connected to their previous session. Otherwise, they are connected to a new session with a new pool
instance.public TimeoutSettings getTimeoutSettings()
The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.
public WorkspacesPool withTimeoutSettings(TimeoutSettings timeoutSettings)
The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.
timeoutSettings
- The amount of time that a pool session remains active after users disconnect. If they try to reconnect to
the pool session after a disconnection or network interruption within this time interval, they are
connected to their previous session. Otherwise, they are connected to a new session with a new pool
instance.public String toString()
toString
in class Object
Object.toString()
public WorkspacesPool clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.