@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScalingConfigurationOutput extends Object implements Serializable, Cloneable, StructuredPojo
The scaling configuration output of a compute fleet.
| Constructor and Description |
|---|
ScalingConfigurationOutput() |
| Modifier and Type | Method and Description |
|---|---|
ScalingConfigurationOutput |
clone() |
boolean |
equals(Object obj) |
Integer |
getDesiredCapacity()
The desired number of instances in the fleet when auto-scaling.
|
Integer |
getMaxCapacity()
The maximum number of instances in the fleet when auto-scaling.
|
String |
getScalingType()
The scaling type for a compute fleet.
|
List<TargetTrackingScalingConfiguration> |
getTargetTrackingScalingConfigs()
A list of
TargetTrackingScalingConfiguration objects. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDesiredCapacity(Integer desiredCapacity)
The desired number of instances in the fleet when auto-scaling.
|
void |
setMaxCapacity(Integer maxCapacity)
The maximum number of instances in the fleet when auto-scaling.
|
void |
setScalingType(String scalingType)
The scaling type for a compute fleet.
|
void |
setTargetTrackingScalingConfigs(Collection<TargetTrackingScalingConfiguration> targetTrackingScalingConfigs)
A list of
TargetTrackingScalingConfiguration objects. |
String |
toString()
Returns a string representation of this object.
|
ScalingConfigurationOutput |
withDesiredCapacity(Integer desiredCapacity)
The desired number of instances in the fleet when auto-scaling.
|
ScalingConfigurationOutput |
withMaxCapacity(Integer maxCapacity)
The maximum number of instances in the fleet when auto-scaling.
|
ScalingConfigurationOutput |
withScalingType(FleetScalingType scalingType)
The scaling type for a compute fleet.
|
ScalingConfigurationOutput |
withScalingType(String scalingType)
The scaling type for a compute fleet.
|
ScalingConfigurationOutput |
withTargetTrackingScalingConfigs(Collection<TargetTrackingScalingConfiguration> targetTrackingScalingConfigs)
A list of
TargetTrackingScalingConfiguration objects. |
ScalingConfigurationOutput |
withTargetTrackingScalingConfigs(TargetTrackingScalingConfiguration... targetTrackingScalingConfigs)
A list of
TargetTrackingScalingConfiguration objects. |
public void setScalingType(String scalingType)
The scaling type for a compute fleet.
scalingType - The scaling type for a compute fleet.FleetScalingTypepublic String getScalingType()
The scaling type for a compute fleet.
FleetScalingTypepublic ScalingConfigurationOutput withScalingType(String scalingType)
The scaling type for a compute fleet.
scalingType - The scaling type for a compute fleet.FleetScalingTypepublic ScalingConfigurationOutput withScalingType(FleetScalingType scalingType)
The scaling type for a compute fleet.
scalingType - The scaling type for a compute fleet.FleetScalingTypepublic List<TargetTrackingScalingConfiguration> getTargetTrackingScalingConfigs()
A list of TargetTrackingScalingConfiguration objects.
TargetTrackingScalingConfiguration objects.public void setTargetTrackingScalingConfigs(Collection<TargetTrackingScalingConfiguration> targetTrackingScalingConfigs)
A list of TargetTrackingScalingConfiguration objects.
targetTrackingScalingConfigs - A list of TargetTrackingScalingConfiguration objects.public ScalingConfigurationOutput withTargetTrackingScalingConfigs(TargetTrackingScalingConfiguration... targetTrackingScalingConfigs)
A list of TargetTrackingScalingConfiguration objects.
NOTE: This method appends the values to the existing list (if any). Use
setTargetTrackingScalingConfigs(java.util.Collection) or
withTargetTrackingScalingConfigs(java.util.Collection) if you want to override the existing values.
targetTrackingScalingConfigs - A list of TargetTrackingScalingConfiguration objects.public ScalingConfigurationOutput withTargetTrackingScalingConfigs(Collection<TargetTrackingScalingConfiguration> targetTrackingScalingConfigs)
A list of TargetTrackingScalingConfiguration objects.
targetTrackingScalingConfigs - A list of TargetTrackingScalingConfiguration objects.public void setMaxCapacity(Integer maxCapacity)
The maximum number of instances in the fleet when auto-scaling.
maxCapacity - The maximum number of instances in the fleet when auto-scaling.public Integer getMaxCapacity()
The maximum number of instances in the fleet when auto-scaling.
public ScalingConfigurationOutput withMaxCapacity(Integer maxCapacity)
The maximum number of instances in the fleet when auto-scaling.
maxCapacity - The maximum number of instances in the fleet when auto-scaling.public void setDesiredCapacity(Integer desiredCapacity)
The desired number of instances in the fleet when auto-scaling.
desiredCapacity - The desired number of instances in the fleet when auto-scaling.public Integer getDesiredCapacity()
The desired number of instances in the fleet when auto-scaling.
public ScalingConfigurationOutput withDesiredCapacity(Integer desiredCapacity)
The desired number of instances in the fleet when auto-scaling.
desiredCapacity - The desired number of instances in the fleet when auto-scaling.public String toString()
toString in class ObjectObject.toString()public ScalingConfigurationOutput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.