@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetAmountCapability extends Object implements Serializable, Cloneable, StructuredPojo
The fleet amount and attribute capabilities.
Constructor and Description |
---|
FleetAmountCapability() |
Modifier and Type | Method and Description |
---|---|
FleetAmountCapability |
clone() |
boolean |
equals(Object obj) |
Float |
getMax()
The maximum amount of the fleet worker capability.
|
Float |
getMin()
The minimum amount of fleet worker capability.
|
String |
getName()
The name of the fleet capability.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMax(Float max)
The maximum amount of the fleet worker capability.
|
void |
setMin(Float min)
The minimum amount of fleet worker capability.
|
void |
setName(String name)
The name of the fleet capability.
|
String |
toString()
Returns a string representation of this object.
|
FleetAmountCapability |
withMax(Float max)
The maximum amount of the fleet worker capability.
|
FleetAmountCapability |
withMin(Float min)
The minimum amount of fleet worker capability.
|
FleetAmountCapability |
withName(String name)
The name of the fleet capability.
|
public void setMax(Float max)
The maximum amount of the fleet worker capability.
max
- The maximum amount of the fleet worker capability.public Float getMax()
The maximum amount of the fleet worker capability.
public FleetAmountCapability withMax(Float max)
The maximum amount of the fleet worker capability.
max
- The maximum amount of the fleet worker capability.public void setMin(Float min)
The minimum amount of fleet worker capability.
min
- The minimum amount of fleet worker capability.public Float getMin()
The minimum amount of fleet worker capability.
public FleetAmountCapability withMin(Float min)
The minimum amount of fleet worker capability.
min
- The minimum amount of fleet worker capability.public void setName(String name)
The name of the fleet capability.
name
- The name of the fleet capability.public String getName()
The name of the fleet capability.
public FleetAmountCapability withName(String name)
The name of the fleet capability.
name
- The name of the fleet capability.public String toString()
toString
in class Object
Object.toString()
public FleetAmountCapability clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.