public class CreateFleetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for the new fleet to create.
NOOP
Constructor and Description |
---|
CreateFleetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFleetRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
ComputeCapacity |
getComputeCapacity()
The parameters for the capacity allocated to the fleet.
|
String |
getDescription()
The description of the fleet.
|
Integer |
getDisconnectTimeoutInSeconds()
The time after disconnection when a session is considered to have ended.
|
String |
getDisplayName()
The display name of the fleet.
|
String |
getImageName()
Unique name of the image used by the fleet.
|
String |
getInstanceType()
The instance type of compute resources for the fleet.
|
Integer |
getMaxUserDurationInSeconds()
The maximum time up to which a streaming session can run.
|
String |
getName()
A unique identifier for the fleet.
|
VpcConfig |
getVpcConfig()
The VPC configuration for the fleet.
|
int |
hashCode() |
void |
setComputeCapacity(ComputeCapacity computeCapacity)
The parameters for the capacity allocated to the fleet.
|
void |
setDescription(String description)
The description of the fleet.
|
void |
setDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended.
|
void |
setDisplayName(String displayName)
The display name of the fleet.
|
void |
setImageName(String imageName)
Unique name of 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 up to which a streaming session can run.
|
void |
setName(String name)
A unique identifier 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.
|
CreateFleetRequest |
withComputeCapacity(ComputeCapacity computeCapacity)
The parameters for the capacity allocated to the fleet.
|
CreateFleetRequest |
withDescription(String description)
The description of the fleet.
|
CreateFleetRequest |
withDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended.
|
CreateFleetRequest |
withDisplayName(String displayName)
The display name of the fleet.
|
CreateFleetRequest |
withImageName(String imageName)
Unique name of the image used by the fleet.
|
CreateFleetRequest |
withInstanceType(String instanceType)
The instance type of compute resources for the fleet.
|
CreateFleetRequest |
withMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time up to which a streaming session can run.
|
CreateFleetRequest |
withName(String name)
A unique identifier for the fleet.
|
CreateFleetRequest |
withVpcConfig(VpcConfig vpcConfig)
The VPC configuration for the fleet.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
A unique identifier for the fleet.
name
- A unique identifier for the fleet.public String getName()
A unique identifier for the fleet.
public CreateFleetRequest withName(String name)
A unique identifier for the fleet.
name
- A unique identifier for the fleet.public void setImageName(String imageName)
Unique name of the image used by the fleet.
imageName
- Unique name of the image used by the fleet.public String getImageName()
Unique name of the image used by the fleet.
public CreateFleetRequest withImageName(String imageName)
Unique name of the image used by the fleet.
imageName
- Unique name of the image used by the fleet.public void setInstanceType(String instanceType)
The instance type of compute resources for the fleet. Fleet instances are launched from this instance type.
instanceType
- The instance type of compute resources for the fleet. Fleet instances are launched from this instance
type.public String getInstanceType()
The instance type of compute resources for the fleet. Fleet instances are launched from this instance type.
public CreateFleetRequest withInstanceType(String instanceType)
The instance type of compute resources for the fleet. Fleet instances are launched from this instance type.
instanceType
- The instance type of compute resources for the fleet. Fleet instances are launched from this instance
type.public void setComputeCapacity(ComputeCapacity computeCapacity)
The parameters for the capacity allocated to the fleet.
computeCapacity
- The parameters for the capacity allocated to the fleet.public ComputeCapacity getComputeCapacity()
The parameters for the capacity allocated to the fleet.
public CreateFleetRequest withComputeCapacity(ComputeCapacity computeCapacity)
The parameters for the capacity allocated to the fleet.
computeCapacity
- The parameters for the capacity allocated to the fleet.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 CreateFleetRequest withVpcConfig(VpcConfig vpcConfig)
The VPC configuration for the fleet.
vpcConfig
- The VPC configuration for the fleet.public void setMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time up to which a streaming session can run.
maxUserDurationInSeconds
- The maximum time up to which a streaming session can run.public Integer getMaxUserDurationInSeconds()
The maximum time up to which a streaming session can run.
public CreateFleetRequest withMaxUserDurationInSeconds(Integer maxUserDurationInSeconds)
The maximum time up to which a streaming session can run.
maxUserDurationInSeconds
- The maximum time up to which a streaming session can run.public void setDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended. If a user who got disconnected reconnects within this timeout interval, the user is connected back to his/her previous session.
disconnectTimeoutInSeconds
- The time after disconnection when a session is considered to have ended. If a user who got disconnected
reconnects within this timeout interval, the user is connected back to his/her previous session.public Integer getDisconnectTimeoutInSeconds()
The time after disconnection when a session is considered to have ended. If a user who got disconnected reconnects within this timeout interval, the user is connected back to his/her previous session.
public CreateFleetRequest withDisconnectTimeoutInSeconds(Integer disconnectTimeoutInSeconds)
The time after disconnection when a session is considered to have ended. If a user who got disconnected reconnects within this timeout interval, the user is connected back to his/her previous session.
disconnectTimeoutInSeconds
- The time after disconnection when a session is considered to have ended. If a user who got disconnected
reconnects within this timeout interval, the user is connected back to his/her previous session.public void setDescription(String description)
The description of the fleet.
description
- The description of the fleet.public String getDescription()
The description of the fleet.
public CreateFleetRequest withDescription(String description)
The description of the fleet.
description
- The description of the fleet.public void setDisplayName(String displayName)
The display name of the fleet.
displayName
- The display name of the fleet.public String getDisplayName()
The display name of the fleet.
public CreateFleetRequest withDisplayName(String displayName)
The display name of the fleet.
displayName
- The display name of the fleet.public String toString()
toString
in class Object
Object.toString()
public CreateFleetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.