Class UpdateFleetCapacityRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input for a request action.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Number of EC2 instances you want this fleet to host.Unique identifier for the fleet you want to update capacity for.Maximum value allowed for the fleet's instance count.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 the fleet you want 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.toString()
Returns a string representation of this object; useful for testing and debugging.withDesiredInstances
(Integer desiredInstances) Number of EC2 instances you want this fleet to host.withFleetId
(String fleetId) Unique identifier for the fleet you want to update capacity for.withMaxSize
(Integer maxSize) Maximum value allowed for the fleet's instance count.withMinSize
(Integer minSize) Minimum value allowed for the fleet's instance count.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
UpdateFleetCapacityRequest
public UpdateFleetCapacityRequest()
-
-
Method Details
-
setFleetId
Unique identifier for the fleet you want to update capacity for.
- Parameters:
fleetId
- Unique identifier for the fleet you want to update capacity for.
-
getFleetId
Unique identifier for the fleet you want to update capacity for.
- Returns:
- Unique identifier for the fleet you want to update capacity for.
-
withFleetId
Unique identifier for the fleet you want to update capacity for.
- Parameters:
fleetId
- Unique identifier for the fleet you want to update capacity for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDesiredInstances
Number of EC2 instances you want this fleet to host.
- Parameters:
desiredInstances
- Number of EC2 instances you want this fleet to host.
-
getDesiredInstances
Number of EC2 instances you want this fleet to host.
- Returns:
- Number of EC2 instances you want this fleet to host.
-
withDesiredInstances
Number of EC2 instances you want this fleet to host.
- Parameters:
desiredInstances
- Number of EC2 instances you want this fleet to host.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMinSize
Minimum value allowed for the fleet's instance count. Default if not set is 0.
- Parameters:
minSize
- Minimum value allowed for the fleet's instance count. Default if not set is 0.
-
getMinSize
Minimum value allowed for the fleet's instance count. Default if not set is 0.
- Returns:
- Minimum value allowed for the fleet's instance count. Default if not set is 0.
-
withMinSize
Minimum value allowed for the fleet's instance count. Default if not set is 0.
- Parameters:
minSize
- Minimum value allowed for the fleet's instance count. Default if not set is 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxSize
Maximum value allowed for the fleet's instance count. Default if not set is 1.
- Parameters:
maxSize
- Maximum value allowed for the fleet's instance count. Default if not set is 1.
-
getMaxSize
Maximum value allowed for the fleet's instance count. Default if not set is 1.
- Returns:
- Maximum value allowed for the fleet's instance count. Default if not set is 1.
-
withMaxSize
Maximum value allowed for the fleet's instance count. Default if not set is 1.
- Parameters:
maxSize
- Maximum value allowed for the fleet's instance count. Default if not set is 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-