@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserDefined extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
UserDefined() |
Modifier and Type | Method and Description |
---|---|
UserDefined |
clone() |
boolean |
equals(Object obj) |
String |
getUnit()
|
Float |
getValue()
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUnit(String unit)
|
void |
setValue(Float value)
|
String |
toString()
Returns a string representation of this object.
|
UserDefined |
withUnit(String unit)
|
UserDefined |
withUnit(Unit unit)
|
UserDefined |
withValue(Float value)
|
public UserDefined withUnit(String unit)
unit
- Unit
public UserDefined withUnit(Unit unit)
unit
- Unit
public void setValue(Float value)
value
- public Float getValue()
public UserDefined withValue(Float value)
value
- public String toString()
toString
in class Object
Object.toString()
public UserDefined clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.