@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetCapabilities extends Object implements Serializable, Cloneable, StructuredPojo
The amounts and attributes of fleets.
Constructor and Description |
---|
FleetCapabilities() |
Modifier and Type | Method and Description |
---|---|
FleetCapabilities |
clone() |
boolean |
equals(Object obj) |
List<FleetAmountCapability> |
getAmounts()
Amount capabilities of the fleet.
|
List<FleetAttributeCapability> |
getAttributes()
Attribute capabilities of the fleet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmounts(Collection<FleetAmountCapability> amounts)
Amount capabilities of the fleet.
|
void |
setAttributes(Collection<FleetAttributeCapability> attributes)
Attribute capabilities of the fleet.
|
String |
toString()
Returns a string representation of this object.
|
FleetCapabilities |
withAmounts(Collection<FleetAmountCapability> amounts)
Amount capabilities of the fleet.
|
FleetCapabilities |
withAmounts(FleetAmountCapability... amounts)
Amount capabilities of the fleet.
|
FleetCapabilities |
withAttributes(Collection<FleetAttributeCapability> attributes)
Attribute capabilities of the fleet.
|
FleetCapabilities |
withAttributes(FleetAttributeCapability... attributes)
Attribute capabilities of the fleet.
|
public List<FleetAmountCapability> getAmounts()
Amount capabilities of the fleet.
public void setAmounts(Collection<FleetAmountCapability> amounts)
Amount capabilities of the fleet.
amounts
- Amount capabilities of the fleet.public FleetCapabilities withAmounts(FleetAmountCapability... amounts)
Amount capabilities of the fleet.
NOTE: This method appends the values to the existing list (if any). Use
setAmounts(java.util.Collection)
or withAmounts(java.util.Collection)
if you want to override
the existing values.
amounts
- Amount capabilities of the fleet.public FleetCapabilities withAmounts(Collection<FleetAmountCapability> amounts)
Amount capabilities of the fleet.
amounts
- Amount capabilities of the fleet.public List<FleetAttributeCapability> getAttributes()
Attribute capabilities of the fleet.
public void setAttributes(Collection<FleetAttributeCapability> attributes)
Attribute capabilities of the fleet.
attributes
- Attribute capabilities of the fleet.public FleetCapabilities withAttributes(FleetAttributeCapability... attributes)
Attribute capabilities of the fleet.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- Attribute capabilities of the fleet.public FleetCapabilities withAttributes(Collection<FleetAttributeCapability> attributes)
Attribute capabilities of the fleet.
attributes
- Attribute capabilities of the fleet.public String toString()
toString
in class Object
Object.toString()
public FleetCapabilities clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.