@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NumberReference extends Object implements Serializable, Cloneable, StructuredPojo
Information about a reference when the referenceType
is NUMBER
. Otherwise, null.
Constructor and Description |
---|
NumberReference() |
Modifier and Type | Method and Description |
---|---|
NumberReference |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Identifier of the number reference.
|
String |
getValue()
A valid number.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
Identifier of the number reference.
|
void |
setValue(String value)
A valid number.
|
String |
toString()
Returns a string representation of this object.
|
NumberReference |
withName(String name)
Identifier of the number reference.
|
NumberReference |
withValue(String value)
A valid number.
|
public void setName(String name)
Identifier of the number reference.
name
- Identifier of the number reference.public String getName()
Identifier of the number reference.
public NumberReference withName(String name)
Identifier of the number reference.
name
- Identifier of the number reference.public void setValue(String value)
A valid number.
value
- A valid number.public String getValue()
A valid number.
public NumberReference withValue(String value)
A valid number.
value
- A valid number.public String toString()
toString
in class Object
Object.toString()
public NumberReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.