@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getDesiredInstances()
Number of EC2 instances you want this fleet to host.
|
String |
getFleetId()
Unique identifier for a fleet to update capacity for.
|
Integer |
getMaxSize()
Maximum value allowed for the fleet's instance count.
|
Integer |
getMinSize()
Minimum value allowed for the fleet's instance count.
|
int |
hashCode() |
void |
setDesiredInstances(Integer desiredInstances)
Number of EC2 instances you want this fleet to host.
|
void |
setFleetId(String fleetId)
Unique identifier for a fleet to update capacity for.
|
void |
setMaxSize(Integer maxSize)
Maximum value allowed for the fleet's instance count.
|
void |
setMinSize(Integer minSize)
Minimum value allowed for the fleet's instance count.
|
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 a fleet to update capacity for.
|
UpdateFleetCapacityRequest |
withMaxSize(Integer maxSize)
Maximum value allowed for the fleet's instance count.
|
UpdateFleetCapacityRequest |
withMinSize(Integer minSize)
Minimum value allowed for the fleet's instance count.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFleetId(String fleetId)
Unique identifier for a fleet to update capacity for.
fleetId
- Unique identifier for a fleet to update capacity for.public String getFleetId()
Unique identifier for a fleet to update capacity for.
public UpdateFleetCapacityRequest withFleetId(String fleetId)
Unique identifier for a fleet to update capacity for.
fleetId
- Unique identifier for a fleet 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 void setMinSize(Integer minSize)
Minimum value allowed for the fleet's instance count. Default if not set is 0.
minSize
- Minimum value allowed for the fleet's instance count. Default if not set is 0.public Integer getMinSize()
Minimum value allowed for the fleet's instance count. Default if not set is 0.
public UpdateFleetCapacityRequest withMinSize(Integer minSize)
Minimum value allowed for the fleet's instance count. Default if not set is 0.
minSize
- Minimum value allowed for the fleet's instance count. Default if not set is 0.public void setMaxSize(Integer maxSize)
Maximum value allowed for the fleet's instance count. Default if not set is 1.
maxSize
- Maximum value allowed for the fleet's instance count. Default if not set is 1.public Integer getMaxSize()
Maximum value allowed for the fleet's instance count. Default if not set is 1.
public UpdateFleetCapacityRequest withMaxSize(Integer maxSize)
Maximum value allowed for the fleet's instance count. Default if not set is 1.
maxSize
- Maximum value allowed for the fleet's instance count. Default if not set is 1.public String toString()
toString
in class Object
Object.toString()
public UpdateFleetCapacityRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.