@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkerAttributeCapability extends Object implements Serializable, Cloneable, StructuredPojo
The details of the worker attribute capability.
| Constructor and Description |
|---|
WorkerAttributeCapability() |
| Modifier and Type | Method and Description |
|---|---|
WorkerAttributeCapability |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the worker attribute capability.
|
List<String> |
getValues()
The values of the worker amount capability.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the worker attribute capability.
|
void |
setValues(Collection<String> values)
The values of the worker amount capability.
|
String |
toString()
Returns a string representation of this object.
|
WorkerAttributeCapability |
withName(String name)
The name of the worker attribute capability.
|
WorkerAttributeCapability |
withValues(Collection<String> values)
The values of the worker amount capability.
|
WorkerAttributeCapability |
withValues(String... values)
The values of the worker amount capability.
|
public void setName(String name)
The name of the worker attribute capability.
name - The name of the worker attribute capability.public String getName()
The name of the worker attribute capability.
public WorkerAttributeCapability withName(String name)
The name of the worker attribute capability.
name - The name of the worker attribute capability.public List<String> getValues()
The values of the worker amount capability.
public void setValues(Collection<String> values)
The values of the worker amount capability.
values - The values of the worker amount capability.public WorkerAttributeCapability withValues(String... values)
The values of the worker amount capability.
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 values of the worker amount capability.public WorkerAttributeCapability withValues(Collection<String> values)
The values of the worker amount capability.
values - The values of the worker amount capability.public String toString()
toString in class ObjectObject.toString()public WorkerAttributeCapability clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.