public class UpdateFleetCapacityRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
NOOP| Constructor and Description |
|---|
UpdateFleetCapacityRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateFleetCapacityRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getDesiredInstances()
Number of EC2 instances you want this fleet to host.
|
String |
getFleetId()
Unique identifier for the fleet you want to update capacity for.
|
int |
hashCode() |
void |
setDesiredInstances(Integer desiredInstances)
Number of EC2 instances you want this fleet to host.
|
void |
setFleetId(String fleetId)
Unique identifier for the fleet you want to update capacity for.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateFleetCapacityRequest |
withDesiredInstances(Integer desiredInstances)
Number of EC2 instances you want this fleet to host.
|
UpdateFleetCapacityRequest |
withFleetId(String fleetId)
Unique identifier for the fleet you want to update capacity for.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setFleetId(String fleetId)
Unique identifier for the fleet you want to update capacity for.
fleetId - Unique identifier for the fleet you want to update capacity for.public String getFleetId()
Unique identifier for the fleet you want to update capacity for.
public UpdateFleetCapacityRequest withFleetId(String fleetId)
Unique identifier for the fleet you want to update capacity for.
fleetId - Unique identifier for the fleet you want to update capacity for.public void setDesiredInstances(Integer desiredInstances)
Number of EC2 instances you want this fleet to host.
desiredInstances - Number of EC2 instances you want this fleet to host.public Integer getDesiredInstances()
Number of EC2 instances you want this fleet to host.
public UpdateFleetCapacityRequest withDesiredInstances(Integer desiredInstances)
Number of EC2 instances you want this fleet to host.
desiredInstances - Number of EC2 instances you want this fleet to host.public String toString()
toString in class ObjectObject.toString()public UpdateFleetCapacityRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.