@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkerAmountCapability extends Object implements Serializable, Cloneable, StructuredPojo
The details of the worker amount capability.
Constructor and Description |
---|
WorkerAmountCapability() |
Modifier and Type | Method and Description |
---|---|
WorkerAmountCapability |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the worker amount capability.
|
Float |
getValue()
The value 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 amount capability.
|
void |
setValue(Float value)
The value of the worker amount capability.
|
String |
toString()
Returns a string representation of this object.
|
WorkerAmountCapability |
withName(String name)
The name of the worker amount capability.
|
WorkerAmountCapability |
withValue(Float value)
The value of the worker amount capability.
|
public void setName(String name)
The name of the worker amount capability.
name
- The name of the worker amount capability.public String getName()
The name of the worker amount capability.
public WorkerAmountCapability withName(String name)
The name of the worker amount capability.
name
- The name of the worker amount capability.public void setValue(Float value)
The value of the worker amount capability.
value
- The value of the worker amount capability.public Float getValue()
The value of the worker amount capability.
public WorkerAmountCapability withValue(Float value)
The value of the worker amount capability.
value
- The value of the worker amount capability.public String toString()
toString
in class Object
Object.toString()
public WorkerAmountCapability clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.