@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Fleet extends Object implements Serializable, Cloneable, StructuredPojo
Contains the parameters for a fleet.
Constructor and Description |
---|
Fleet() |
Modifier and Type | Method and Description |
---|---|
Fleet |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN for the fleet.
|
ComputeCapacityStatus |
getComputeCapacityStatus()
The capacity status for the fleet.
|
Date |
getCreatedTime()
The time the fleet was created.
|
String |
getDescription()
The description displayed to end users.
|
Integer |
getDisconnectTimeoutInSeconds()
The time after disconnection when a session is considered to have ended, in seconds.
|
String |
getDisplayName()
The fleet name displayed to end users.
|
DomainJoinInfo |
getDomainJoinInfo()
The information needed for streaming instances to join a domain.
|
Boolean |
getEnableDefaultInternetAccess()
Indicates whether default internet access is enabled for the fleet.
|
List<FleetError> |
getFleetErrors()
The fleet errors.
|
String |
getFleetType() |
String |
getImageName()
The image used by the fleet.
|
String |
getInstanceType()
The instance type to use when launching fleet instances.
|
Integer |
getMaxUserDurationInSeconds()
The maximum time that a streaming session can run, in seconds.
|
String |
getName()
The name of the fleet.
|
String |
getState()
The current state for the fleet.
|
VpcConfig |
getVpcConfig()
The VPC configuration for the fleet.
|
int |
hashCode() |
Boolean |
isEnableDefaultInternetAccess()
Indicates whether default internet access is enabled for the fleet.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN for the fleet.
|
void |
setComputeCapacityStatus(ComputeCapacityStatus computeCapacityStatus)
The capacity status for the fleet.
|
void |
setCreatedTime(Date createdTime)
The time the fleet was created.
|
void |
setDescription(String description)
The description displayed to end users.
|
void |
setDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended, in seconds.
|
void |
setDisplayName(String displayName)
The fleet name displayed to end users.
|
void |
setDomainJoinInfo(DomainJoinInfo domainJoinInfo)
The information needed for streaming instances to join a domain.
|
void |
setEnableDefaultInternetAccess(Boolean enableDefaultInternetAccess)
Indicates whether default internet access is enabled for the fleet.
|
void |
setFleetErrors(Collection<FleetError> fleetErrors)
The fleet errors.
|
void |
setFleetType(FleetType fleetType) |
void |
setFleetType(String fleetType) |
void |
setImageName(String imageName)
The image used by the fleet.
|
void |
setInstanceType(String instanceType)
The instance type to use when launching fleet instances.
|
void |
setMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time that a streaming session can run, in seconds.
|
void |
setName(String name)
The name of the fleet.
|
void |
setState(FleetState state)
The current state for the fleet.
|
void |
setState(String state)
The current state for the fleet.
|
void |
setVpcConfig(VpcConfig vpcConfig)
The VPC configuration for the fleet.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Fleet |
withArn(String arn)
The ARN for the fleet.
|
Fleet |
withComputeCapacityStatus(ComputeCapacityStatus computeCapacityStatus)
The capacity status for the fleet.
|
Fleet |
withCreatedTime(Date createdTime)
The time the fleet was created.
|
Fleet |
withDescription(String description)
The description displayed to end users.
|
Fleet |
withDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended, in seconds.
|
Fleet |
withDisplayName(String displayName)
The fleet name displayed to end users.
|
Fleet |
withDomainJoinInfo(DomainJoinInfo domainJoinInfo)
The information needed for streaming instances to join a domain.
|
Fleet |
withEnableDefaultInternetAccess(Boolean enableDefaultInternetAccess)
Indicates whether default internet access is enabled for the fleet.
|
Fleet |
withFleetErrors(Collection<FleetError> fleetErrors)
The fleet errors.
|
Fleet |
withFleetErrors(FleetError... fleetErrors)
The fleet errors.
|
Fleet |
withFleetType(FleetType fleetType) |
Fleet |
withFleetType(String fleetType) |
Fleet |
withImageName(String imageName)
The image used by the fleet.
|
Fleet |
withInstanceType(String instanceType)
The instance type to use when launching fleet instances.
|
Fleet |
withMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time that a streaming session can run, in seconds.
|
Fleet |
withName(String name)
The name of the fleet.
|
Fleet |
withState(FleetState state)
The current state for the fleet.
|
Fleet |
withState(String state)
The current state for the fleet.
|
Fleet |
withVpcConfig(VpcConfig vpcConfig)
The VPC configuration for the fleet.
|
public void setArn(String arn)
The ARN for the fleet.
arn
- The ARN for the fleet.public String getArn()
The ARN for the fleet.
public Fleet withArn(String arn)
The ARN for the fleet.
arn
- The ARN for the fleet.public void setName(String name)
The name of the fleet.
name
- The name of the fleet.public String getName()
The name of the fleet.
public Fleet withName(String name)
The name of the fleet.
name
- The name of the fleet.public void setDisplayName(String displayName)
The fleet name displayed to end users.
displayName
- The fleet name displayed to end users.public String getDisplayName()
The fleet name displayed to end users.
public Fleet withDisplayName(String displayName)
The fleet name displayed to end users.
displayName
- The fleet name displayed to end users.public void setDescription(String description)
The description displayed to end users.
description
- The description displayed to end users.public String getDescription()
The description displayed to end users.
public Fleet withDescription(String description)
The description displayed to end users.
description
- The description displayed to end users.public void setImageName(String imageName)
The image used by the fleet.
imageName
- The image used by the fleet.public String getImageName()
The image used by the fleet.
public Fleet withImageName(String imageName)
The image used by the fleet.
imageName
- The image used by the fleet.public void setInstanceType(String instanceType)
The instance type to use when launching fleet instances.
instanceType
- The instance type to use when launching fleet instances.public String getInstanceType()
The instance type to use when launching fleet instances.
public Fleet withInstanceType(String instanceType)
The instance type to use when launching fleet instances.
instanceType
- The instance type to use when launching fleet instances.public Fleet withFleetType(String fleetType)
fleetType
- FleetType
public void setFleetType(FleetType fleetType)
fleetType
- FleetType
public Fleet withFleetType(FleetType fleetType)
fleetType
- FleetType
public void setComputeCapacityStatus(ComputeCapacityStatus computeCapacityStatus)
The capacity status for the fleet.
computeCapacityStatus
- The capacity status for the fleet.public ComputeCapacityStatus getComputeCapacityStatus()
The capacity status for the fleet.
public Fleet withComputeCapacityStatus(ComputeCapacityStatus computeCapacityStatus)
The capacity status for the fleet.
computeCapacityStatus
- The capacity status for the fleet.public void setMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600.
maxUserDurationInSeconds
- The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600.public Integer getMaxUserDurationInSeconds()
The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600.
public Fleet withMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600.
maxUserDurationInSeconds
- The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600.public void setDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended, in seconds. If a user who was disconnected reconnects within this time interval, the user is connected to their previous session. Specify a value between 60 and 57600.
disconnectTimeoutInSeconds
- The time after disconnection when a session is considered to have ended, in seconds. If a user who was
disconnected reconnects within this time interval, the user is connected to their previous session.
Specify a value between 60 and 57600.public Integer getDisconnectTimeoutInSeconds()
The time after disconnection when a session is considered to have ended, in seconds. If a user who was disconnected reconnects within this time interval, the user is connected to their previous session. Specify a value between 60 and 57600.
public Fleet withDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended, in seconds. If a user who was disconnected reconnects within this time interval, the user is connected to their previous session. Specify a value between 60 and 57600.
disconnectTimeoutInSeconds
- The time after disconnection when a session is considered to have ended, in seconds. If a user who was
disconnected reconnects within this time interval, the user is connected to their previous session.
Specify a value between 60 and 57600.public void setState(String state)
The current state for the fleet.
state
- The current state for the fleet.FleetState
public String getState()
The current state for the fleet.
FleetState
public Fleet withState(String state)
The current state for the fleet.
state
- The current state for the fleet.FleetState
public void setState(FleetState state)
The current state for the fleet.
state
- The current state for the fleet.FleetState
public Fleet withState(FleetState state)
The current state for the fleet.
state
- The current state for the fleet.FleetState
public void setVpcConfig(VpcConfig vpcConfig)
The VPC configuration for the fleet.
vpcConfig
- The VPC configuration for the fleet.public VpcConfig getVpcConfig()
The VPC configuration for the fleet.
public Fleet withVpcConfig(VpcConfig vpcConfig)
The VPC configuration for the fleet.
vpcConfig
- The VPC configuration for the fleet.public void setCreatedTime(Date createdTime)
The time the fleet was created.
createdTime
- The time the fleet was created.public Date getCreatedTime()
The time the fleet was created.
public Fleet withCreatedTime(Date createdTime)
The time the fleet was created.
createdTime
- The time the fleet was created.public List<FleetError> getFleetErrors()
The fleet errors.
public void setFleetErrors(Collection<FleetError> fleetErrors)
The fleet errors.
fleetErrors
- The fleet errors.public Fleet withFleetErrors(FleetError... fleetErrors)
The fleet errors.
NOTE: This method appends the values to the existing list (if any). Use
setFleetErrors(java.util.Collection)
or withFleetErrors(java.util.Collection)
if you want to
override the existing values.
fleetErrors
- The fleet errors.public Fleet withFleetErrors(Collection<FleetError> fleetErrors)
The fleet errors.
fleetErrors
- The fleet errors.public void setEnableDefaultInternetAccess(Boolean enableDefaultInternetAccess)
Indicates whether default internet access is enabled for the fleet.
enableDefaultInternetAccess
- Indicates whether default internet access is enabled for the fleet.public Boolean getEnableDefaultInternetAccess()
Indicates whether default internet access is enabled for the fleet.
public Fleet withEnableDefaultInternetAccess(Boolean enableDefaultInternetAccess)
Indicates whether default internet access is enabled for the fleet.
enableDefaultInternetAccess
- Indicates whether default internet access is enabled for the fleet.public Boolean isEnableDefaultInternetAccess()
Indicates whether default internet access is enabled for the fleet.
public void setDomainJoinInfo(DomainJoinInfo domainJoinInfo)
The information needed for streaming instances to join a domain.
domainJoinInfo
- The information needed for streaming instances to join a domain.public DomainJoinInfo getDomainJoinInfo()
The information needed for streaming instances to join a domain.
public Fleet withDomainJoinInfo(DomainJoinInfo domainJoinInfo)
The information needed for streaming instances to join a domain.
domainJoinInfo
- The information needed for streaming instances to join a domain.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.