@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnnotationValue extends Object implements Serializable, Cloneable, StructuredPojo
Value of a segment annotation. Has one of three value types: Number, Boolean, or String.
Constructor and Description |
---|
AnnotationValue() |
Modifier and Type | Method and Description |
---|---|
AnnotationValue |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBooleanValue()
Value for a Boolean annotation.
|
Double |
getNumberValue()
Value for a Number annotation.
|
String |
getStringValue()
Value for a String annotation.
|
int |
hashCode() |
Boolean |
isBooleanValue()
Value for a Boolean annotation.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBooleanValue(Boolean booleanValue)
Value for a Boolean annotation.
|
void |
setNumberValue(Double numberValue)
Value for a Number annotation.
|
void |
setStringValue(String stringValue)
Value for a String annotation.
|
String |
toString()
Returns a string representation of this object.
|
AnnotationValue |
withBooleanValue(Boolean booleanValue)
Value for a Boolean annotation.
|
AnnotationValue |
withNumberValue(Double numberValue)
Value for a Number annotation.
|
AnnotationValue |
withStringValue(String stringValue)
Value for a String annotation.
|
public void setNumberValue(Double numberValue)
Value for a Number annotation.
numberValue
- Value for a Number annotation.public Double getNumberValue()
Value for a Number annotation.
public AnnotationValue withNumberValue(Double numberValue)
Value for a Number annotation.
numberValue
- Value for a Number annotation.public void setBooleanValue(Boolean booleanValue)
Value for a Boolean annotation.
booleanValue
- Value for a Boolean annotation.public Boolean getBooleanValue()
Value for a Boolean annotation.
public AnnotationValue withBooleanValue(Boolean booleanValue)
Value for a Boolean annotation.
booleanValue
- Value for a Boolean annotation.public Boolean isBooleanValue()
Value for a Boolean annotation.
public void setStringValue(String stringValue)
Value for a String annotation.
stringValue
- Value for a String annotation.public String getStringValue()
Value for a String annotation.
public AnnotationValue withStringValue(String stringValue)
Value for a String annotation.
stringValue
- Value for a String annotation.public String toString()
toString
in class Object
Object.toString()
public AnnotationValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.