@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Variant extends Object implements Serializable, Cloneable, StructuredPojo
Contains an asset property value (of a single type only).
Constructor and Description |
---|
Variant() |
Modifier and Type | Method and Description |
---|---|
Variant |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBooleanValue()
Asset property data of type Boolean (true or false).
|
Double |
getDoubleValue()
Asset property data of type double (floating point number).
|
Integer |
getIntegerValue()
Asset property data of type integer (whole number).
|
String |
getStringValue()
Asset property data of type string (sequence of characters).
|
int |
hashCode() |
Boolean |
isBooleanValue()
Asset property data of type Boolean (true or false).
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBooleanValue(Boolean booleanValue)
Asset property data of type Boolean (true or false).
|
void |
setDoubleValue(Double doubleValue)
Asset property data of type double (floating point number).
|
void |
setIntegerValue(Integer integerValue)
Asset property data of type integer (whole number).
|
void |
setStringValue(String stringValue)
Asset property data of type string (sequence of characters).
|
String |
toString()
Returns a string representation of this object.
|
Variant |
withBooleanValue(Boolean booleanValue)
Asset property data of type Boolean (true or false).
|
Variant |
withDoubleValue(Double doubleValue)
Asset property data of type double (floating point number).
|
Variant |
withIntegerValue(Integer integerValue)
Asset property data of type integer (whole number).
|
Variant |
withStringValue(String stringValue)
Asset property data of type string (sequence of characters).
|
public void setStringValue(String stringValue)
Asset property data of type string (sequence of characters).
stringValue
- Asset property data of type string (sequence of characters).public String getStringValue()
Asset property data of type string (sequence of characters).
public Variant withStringValue(String stringValue)
Asset property data of type string (sequence of characters).
stringValue
- Asset property data of type string (sequence of characters).public void setIntegerValue(Integer integerValue)
Asset property data of type integer (whole number).
integerValue
- Asset property data of type integer (whole number).public Integer getIntegerValue()
Asset property data of type integer (whole number).
public Variant withIntegerValue(Integer integerValue)
Asset property data of type integer (whole number).
integerValue
- Asset property data of type integer (whole number).public void setDoubleValue(Double doubleValue)
Asset property data of type double (floating point number).
doubleValue
- Asset property data of type double (floating point number).public Double getDoubleValue()
Asset property data of type double (floating point number).
public Variant withDoubleValue(Double doubleValue)
Asset property data of type double (floating point number).
doubleValue
- Asset property data of type double (floating point number).public void setBooleanValue(Boolean booleanValue)
Asset property data of type Boolean (true or false).
booleanValue
- Asset property data of type Boolean (true or false).public Boolean getBooleanValue()
Asset property data of type Boolean (true or false).
public Variant withBooleanValue(Boolean booleanValue)
Asset property data of type Boolean (true or false).
booleanValue
- Asset property data of type Boolean (true or false).public Boolean isBooleanValue()
Asset property data of type Boolean (true or false).
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.