@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkerCapabilities extends Object implements Serializable, Cloneable, StructuredPojo
The details for worker capabilities.
Constructor and Description |
---|
WorkerCapabilities() |
Modifier and Type | Method and Description |
---|---|
WorkerCapabilities |
clone() |
boolean |
equals(Object obj) |
List<WorkerAmountCapability> |
getAmounts()
The worker capabilities amounts on a list of worker capabilities.
|
List<WorkerAttributeCapability> |
getAttributes()
The worker attribute capabilities in the list of attribute capabilities.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAmounts(Collection<WorkerAmountCapability> amounts)
The worker capabilities amounts on a list of worker capabilities.
|
void |
setAttributes(Collection<WorkerAttributeCapability> attributes)
The worker attribute capabilities in the list of attribute capabilities.
|
String |
toString()
Returns a string representation of this object.
|
WorkerCapabilities |
withAmounts(Collection<WorkerAmountCapability> amounts)
The worker capabilities amounts on a list of worker capabilities.
|
WorkerCapabilities |
withAmounts(WorkerAmountCapability... amounts)
The worker capabilities amounts on a list of worker capabilities.
|
WorkerCapabilities |
withAttributes(Collection<WorkerAttributeCapability> attributes)
The worker attribute capabilities in the list of attribute capabilities.
|
WorkerCapabilities |
withAttributes(WorkerAttributeCapability... attributes)
The worker attribute capabilities in the list of attribute capabilities.
|
public List<WorkerAmountCapability> getAmounts()
The worker capabilities amounts on a list of worker capabilities.
public void setAmounts(Collection<WorkerAmountCapability> amounts)
The worker capabilities amounts on a list of worker capabilities.
amounts
- The worker capabilities amounts on a list of worker capabilities.public WorkerCapabilities withAmounts(WorkerAmountCapability... amounts)
The worker capabilities amounts on a list of worker capabilities.
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
- The worker capabilities amounts on a list of worker capabilities.public WorkerCapabilities withAmounts(Collection<WorkerAmountCapability> amounts)
The worker capabilities amounts on a list of worker capabilities.
amounts
- The worker capabilities amounts on a list of worker capabilities.public List<WorkerAttributeCapability> getAttributes()
The worker attribute capabilities in the list of attribute capabilities.
public void setAttributes(Collection<WorkerAttributeCapability> attributes)
The worker attribute capabilities in the list of attribute capabilities.
attributes
- The worker attribute capabilities in the list of attribute capabilities.public WorkerCapabilities withAttributes(WorkerAttributeCapability... attributes)
The worker attribute capabilities in the list of attribute capabilities.
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
- The worker attribute capabilities in the list of attribute capabilities.public WorkerCapabilities withAttributes(Collection<WorkerAttributeCapability> attributes)
The worker attribute capabilities in the list of attribute capabilities.
attributes
- The worker attribute capabilities in the list of attribute capabilities.public String toString()
toString
in class Object
Object.toString()
public WorkerCapabilities clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.