@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Field extends Object implements Serializable, Cloneable, StructuredPojo
A data value in a column.
| Constructor and Description |
|---|
Field() |
| Modifier and Type | Method and Description |
|---|---|
Field |
clone() |
boolean |
equals(Object obj) |
ByteBuffer |
getBlobValue()
A value of the BLOB data type.
|
Boolean |
getBooleanValue()
A value of the Boolean data type.
|
Double |
getDoubleValue()
A value of the double data type.
|
Boolean |
getIsNull()
A value that indicates whether the data is NULL.
|
Long |
getLongValue()
A value of the long data type.
|
String |
getStringValue()
A value of the string data type.
|
int |
hashCode() |
Boolean |
isBooleanValue()
A value of the Boolean data type.
|
Boolean |
isNull()
A value that indicates whether the data is NULL.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBlobValue(ByteBuffer blobValue)
A value of the BLOB data type.
|
void |
setBooleanValue(Boolean booleanValue)
A value of the Boolean data type.
|
void |
setDoubleValue(Double doubleValue)
A value of the double data type.
|
void |
setIsNull(Boolean isNull)
A value that indicates whether the data is NULL.
|
void |
setLongValue(Long longValue)
A value of the long data type.
|
void |
setStringValue(String stringValue)
A value of the string data type.
|
String |
toString()
Returns a string representation of this object.
|
Field |
withBlobValue(ByteBuffer blobValue)
A value of the BLOB data type.
|
Field |
withBooleanValue(Boolean booleanValue)
A value of the Boolean data type.
|
Field |
withDoubleValue(Double doubleValue)
A value of the double data type.
|
Field |
withIsNull(Boolean isNull)
A value that indicates whether the data is NULL.
|
Field |
withLongValue(Long longValue)
A value of the long data type.
|
Field |
withStringValue(String stringValue)
A value of the string data type.
|
public void setBlobValue(ByteBuffer blobValue)
A value of the BLOB data type.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
blobValue - A value of the BLOB data type.public ByteBuffer getBlobValue()
A value of the BLOB data type.
ByteBuffers are stateful. Calling their get methods changes their position. We recommend
using ByteBuffer.asReadOnlyBuffer() to create a read-only view of the buffer with an independent
position, and calling get methods on this rather than directly on the returned ByteBuffer.
Doing so will ensure that anyone else using the ByteBuffer will not be affected by changes to the
position.
public Field withBlobValue(ByteBuffer blobValue)
A value of the BLOB data type.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
blobValue - A value of the BLOB data type.public void setBooleanValue(Boolean booleanValue)
A value of the Boolean data type.
booleanValue - A value of the Boolean data type.public Boolean getBooleanValue()
A value of the Boolean data type.
public Field withBooleanValue(Boolean booleanValue)
A value of the Boolean data type.
booleanValue - A value of the Boolean data type.public Boolean isBooleanValue()
A value of the Boolean data type.
public void setDoubleValue(Double doubleValue)
A value of the double data type.
doubleValue - A value of the double data type.public Double getDoubleValue()
A value of the double data type.
public Field withDoubleValue(Double doubleValue)
A value of the double data type.
doubleValue - A value of the double data type.public void setIsNull(Boolean isNull)
A value that indicates whether the data is NULL.
isNull - A value that indicates whether the data is NULL.public Boolean getIsNull()
A value that indicates whether the data is NULL.
public Field withIsNull(Boolean isNull)
A value that indicates whether the data is NULL.
isNull - A value that indicates whether the data is NULL.public Boolean isNull()
A value that indicates whether the data is NULL.
public void setLongValue(Long longValue)
A value of the long data type.
longValue - A value of the long data type.public Long getLongValue()
A value of the long data type.
public Field withLongValue(Long longValue)
A value of the long data type.
longValue - A value of the long data type.public void setStringValue(String stringValue)
A value of the string data type.
stringValue - A value of the string data type.public String getStringValue()
A value of the string data type.
public Field withStringValue(String stringValue)
A value of the string data type.
stringValue - A value of the string data type.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.