@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FleetAttributeCapability extends Object implements Serializable, Cloneable, StructuredPojo
Defines the fleet's capability name, minimum, and maximum.
Constructor and Description |
---|
FleetAttributeCapability() |
Modifier and Type | Method and Description |
---|---|
FleetAttributeCapability |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the fleet attribute capability for the worker.
|
List<String> |
getValues()
The number of fleet attribute capabilities.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the fleet attribute capability for the worker.
|
void |
setValues(Collection<String> values)
The number of fleet attribute capabilities.
|
String |
toString()
Returns a string representation of this object.
|
FleetAttributeCapability |
withName(String name)
The name of the fleet attribute capability for the worker.
|
FleetAttributeCapability |
withValues(Collection<String> values)
The number of fleet attribute capabilities.
|
FleetAttributeCapability |
withValues(String... values)
The number of fleet attribute capabilities.
|
public void setName(String name)
The name of the fleet attribute capability for the worker.
name
- The name of the fleet attribute capability for the worker.public String getName()
The name of the fleet attribute capability for the worker.
public FleetAttributeCapability withName(String name)
The name of the fleet attribute capability for the worker.
name
- The name of the fleet attribute capability for the worker.public List<String> getValues()
The number of fleet attribute capabilities.
public void setValues(Collection<String> values)
The number of fleet attribute capabilities.
values
- The number of fleet attribute capabilities.public FleetAttributeCapability withValues(String... values)
The number of fleet attribute capabilities.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The number of fleet attribute capabilities.public FleetAttributeCapability withValues(Collection<String> values)
The number of fleet attribute capabilities.
values
- The number of fleet attribute capabilities.public String toString()
toString
in class Object
Object.toString()
public FleetAttributeCapability clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.