public class Fleet extends Object implements Serializable, Cloneable
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 information for the fleet.
|
Date |
getCreatedTime()
The time at which the fleet was created.
|
String |
getDescription()
The description displayed to end users on the AppStream 2.0 portal.
|
Integer |
getDisconnectTimeoutInSeconds()
The time after disconnection when a session is considered to have ended.
|
String |
getDisplayName()
The name displayed to end users on the AppStream 2.0 portal.
|
List<FleetError> |
getFleetErrors()
The list of fleet errors is appended to this list.
|
String |
getImageName()
The image used by the fleet.
|
String |
getInstanceType()
The instance type of compute resources for the fleet.
|
Integer |
getMaxUserDurationInSeconds()
The maximum time during which a streaming session can run.
|
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() |
void |
setArn(String arn)
The ARN for the fleet.
|
void |
setComputeCapacityStatus(ComputeCapacityStatus computeCapacityStatus)
The capacity information for the fleet.
|
void |
setCreatedTime(Date createdTime)
The time at which the fleet was created.
|
void |
setDescription(String description)
The description displayed to end users on the AppStream 2.0 portal.
|
void |
setDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended.
|
void |
setDisplayName(String displayName)
The name displayed to end users on the AppStream 2.0 portal.
|
void |
setFleetErrors(Collection<FleetError> fleetErrors)
The list of fleet errors is appended to this list.
|
void |
setImageName(String imageName)
The image used by the fleet.
|
void |
setInstanceType(String instanceType)
The instance type of compute resources for the fleet.
|
void |
setMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time during which a streaming session can run.
|
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 information for the fleet.
|
Fleet |
withCreatedTime(Date createdTime)
The time at which the fleet was created.
|
Fleet |
withDescription(String description)
The description displayed to end users on the AppStream 2.0 portal.
|
Fleet |
withDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended.
|
Fleet |
withDisplayName(String displayName)
The name displayed to end users on the AppStream 2.0 portal.
|
Fleet |
withFleetErrors(Collection<FleetError> fleetErrors)
The list of fleet errors is appended to this list.
|
Fleet |
withFleetErrors(FleetError... fleetErrors)
The list of fleet errors is appended to this list.
|
Fleet |
withImageName(String imageName)
The image used by the fleet.
|
Fleet |
withInstanceType(String instanceType)
The instance type of compute resources for the fleet.
|
Fleet |
withMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time during which a streaming session can run.
|
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 name displayed to end users on the AppStream 2.0 portal.
displayName
- The name displayed to end users on the AppStream 2.0 portal.public String getDisplayName()
The name displayed to end users on the AppStream 2.0 portal.
public Fleet withDisplayName(String displayName)
The name displayed to end users on the AppStream 2.0 portal.
displayName
- The name displayed to end users on the AppStream 2.0 portal.public void setDescription(String description)
The description displayed to end users on the AppStream 2.0 portal.
description
- The description displayed to end users on the AppStream 2.0 portal.public String getDescription()
The description displayed to end users on the AppStream 2.0 portal.
public Fleet withDescription(String description)
The description displayed to end users on the AppStream 2.0 portal.
description
- The description displayed to end users on the AppStream 2.0 portal.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 of compute resources for the fleet. The fleet instances are launched from this instance type.
instanceType
- The instance type of compute resources for the fleet. The fleet instances are launched from this instance
type.public String getInstanceType()
The instance type of compute resources for the fleet. The fleet instances are launched from this instance type.
public Fleet withInstanceType(String instanceType)
The instance type of compute resources for the fleet. The fleet instances are launched from this instance type.
instanceType
- The instance type of compute resources for the fleet. The fleet instances are launched from this instance
type.public void setComputeCapacityStatus(ComputeCapacityStatus computeCapacityStatus)
The capacity information for the fleet.
computeCapacityStatus
- The capacity information for the fleet.public ComputeCapacityStatus getComputeCapacityStatus()
The capacity information for the fleet.
public Fleet withComputeCapacityStatus(ComputeCapacityStatus computeCapacityStatus)
The capacity information for the fleet.
computeCapacityStatus
- The capacity information for the fleet.public void setMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time during which a streaming session can run.
maxUserDurationInSeconds
- The maximum time during which a streaming session can run.public Integer getMaxUserDurationInSeconds()
The maximum time during which a streaming session can run.
public Fleet withMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time during which a streaming session can run.
maxUserDurationInSeconds
- The maximum time during which a streaming session can run.public void setDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended. When a user reconnects after a disconnection, the user is connected to the same session and instance within this time interval.
disconnectTimeoutInSeconds
- The time after disconnection when a session is considered to have ended. When a user reconnects after a
disconnection, the user is connected to the same session and instance within this time interval.public Integer getDisconnectTimeoutInSeconds()
The time after disconnection when a session is considered to have ended. When a user reconnects after a disconnection, the user is connected to the same session and instance within this time interval.
public Fleet withDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended. When a user reconnects after a disconnection, the user is connected to the same session and instance within this time interval.
disconnectTimeoutInSeconds
- The time after disconnection when a session is considered to have ended. When a user reconnects after a
disconnection, the user is connected to the same session and instance within this time interval.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 at which the fleet was created.
createdTime
- The time at which the fleet was created.public Date getCreatedTime()
The time at which the fleet was created.
public Fleet withCreatedTime(Date createdTime)
The time at which the fleet was created.
createdTime
- The time at which the fleet was created.public List<FleetError> getFleetErrors()
The list of fleet errors is appended to this list.
public void setFleetErrors(Collection<FleetError> fleetErrors)
The list of fleet errors is appended to this list.
fleetErrors
- The list of fleet errors is appended to this list.public Fleet withFleetErrors(FleetError... fleetErrors)
The list of fleet errors is appended to this list.
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 list of fleet errors is appended to this list.public Fleet withFleetErrors(Collection<FleetError> fleetErrors)
The list of fleet errors is appended to this list.
fleetErrors
- The list of fleet errors is appended to this list.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.