Class KeyspacesCellValue
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<KeyspacesCellValue.Builder,- KeyspacesCellValue> 
Represents the value of a cell in an Amazon Keyspaces table, supporting various data types with type-specific fields.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum
- 
Method SummaryModifier and TypeMethodDescriptionfinal StringasciiT()A value of ASCII text type, containing US-ASCII characters.final StringbigintT()A 64-bit signed integer value.final SdkBytesblobT()A binary large object (BLOB) value stored as a Base64-encoded string.final BooleanboolT()A Boolean value, eithertrueorfalse.static KeyspacesCellValue.Builderbuilder()final StringcounterT()A distributed counter value that can be incremented and decremented.final StringdateT()A date value without a time component, represented as days since epoch (January 1, 1970).final StringdecimalT()A variable-precision decimal number value.final StringdoubleT()A 64-bit double-precision floating point value.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringfloatT()A 32-bit single-precision floating point value.static KeyspacesCellValuefromAsciiT(String asciiT) Create an instance of this class withasciiT()initialized to the given value.static KeyspacesCellValuefromBigintT(String bigintT) Create an instance of this class withbigintT()initialized to the given value.static KeyspacesCellValueCreate an instance of this class withblobT()initialized to the given value.static KeyspacesCellValueCreate an instance of this class withboolT()initialized to the given value.static KeyspacesCellValuefromCounterT(String counterT) Create an instance of this class withcounterT()initialized to the given value.static KeyspacesCellValueCreate an instance of this class withdateT()initialized to the given value.static KeyspacesCellValuefromDecimalT(String decimalT) Create an instance of this class withdecimalT()initialized to the given value.static KeyspacesCellValuefromDoubleT(String doubleT) Create an instance of this class withdoubleT()initialized to the given value.static KeyspacesCellValuefromFloatT(String floatT) Create an instance of this class withfloatT()initialized to the given value.static KeyspacesCellValueCreate an instance of this class withinetT()initialized to the given value.static KeyspacesCellValueCreate an instance of this class withintT()initialized to the given value.static KeyspacesCellValuefromListT(List<KeyspacesCell> listT) Create an instance of this class withlistT()initialized to the given value.static KeyspacesCellValueCreate an instance of this class withmapT()initialized to the given value.static KeyspacesCellValuefromSetT(List<KeyspacesCell> setT) Create an instance of this class withsetT()initialized to the given value.static KeyspacesCellValuefromSmallintT(String smallintT) Create an instance of this class withsmallintT()initialized to the given value.static KeyspacesCellValueCreate an instance of this class withtextT()initialized to the given value.static KeyspacesCellValuefromTimestampT(String timestampT) Create an instance of this class withtimestampT()initialized to the given value.static KeyspacesCellValueCreate an instance of this class withtimeT()initialized to the given value.static KeyspacesCellValuefromTimeuuidT(String timeuuidT) Create an instance of this class withtimeuuidT()initialized to the given value.static KeyspacesCellValuefromTinyintT(String tinyintT) Create an instance of this class withtinyintT()initialized to the given value.static KeyspacesCellValuefromTupleT(List<KeyspacesCell> tupleT) Create an instance of this class withtupleT()initialized to the given value.static KeyspacesCellValuefromUdtT(Map<String, KeyspacesCell> udtT) Create an instance of this class withudtT()initialized to the given value.static KeyspacesCellValueCreate an instance of this class withuuidT()initialized to the given value.static KeyspacesCellValuefromVarcharT(String varcharT) Create an instance of this class withvarcharT()initialized to the given value.static KeyspacesCellValuefromVarintT(String varintT) Create an instance of this class withvarintT()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanhasListT()For responses, this returns true if the service returned a value for the ListT property.final booleanhasMapT()For responses, this returns true if the service returned a value for the MapT property.final booleanhasSetT()For responses, this returns true if the service returned a value for the SetT property.final booleanFor responses, this returns true if the service returned a value for the TupleT property.final booleanhasUdtT()For responses, this returns true if the service returned a value for the UdtT property.final StringinetT()An IP address value, either IPv4 or IPv6 format.final StringintT()A 32-bit signed integer value.final List<KeyspacesCell> listT()An ordered collection of elements that can contain duplicate values.final List<KeyspacesCellMapDefinition> mapT()A collection of key-value pairs where each key is unique.static Class<? extends KeyspacesCellValue.Builder> final List<KeyspacesCell> setT()An unordered collection of unique elements.final StringA 16-bit signed integer value.final StringtextT()A UTF-8 encoded string value.final StringA timestamp value representing date and time with millisecond precision.final StringtimeT()A time value without a date component, with nanosecond precision.final StringA universally unique identifier (UUID) that includes a timestamp component, ensuring both uniqueness and time ordering.final StringtinyintT()An 8-bit signed integer value.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final List<KeyspacesCell> tupleT()A fixed-length ordered list of elements, where each element can be of a different data type.type()Retrieve an enum value representing which member of this object is populated.final Map<String, KeyspacesCell> udtT()A user-defined type (UDT) value consisting of named fields, each with its own data type.final StringuuidT()A universally unique identifier (UUID) value.final StringvarcharT()A UTF-8 encoded string value, functionally equivalent to text type.final StringvarintT()A variable precision integer value with arbitrary length.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
asciiTA value of ASCII text type, containing US-ASCII characters. - Returns:
- A value of ASCII text type, containing US-ASCII characters.
 
- 
bigintTA 64-bit signed integer value. - Returns:
- A 64-bit signed integer value.
 
- 
blobTA binary large object (BLOB) value stored as a Base64-encoded string. - Returns:
- A binary large object (BLOB) value stored as a Base64-encoded string.
 
- 
boolTA Boolean value, either trueorfalse.- Returns:
- A Boolean value, either trueorfalse.
 
- 
counterTA distributed counter value that can be incremented and decremented. - Returns:
- A distributed counter value that can be incremented and decremented.
 
- 
dateTA date value without a time component, represented as days since epoch (January 1, 1970). - Returns:
- A date value without a time component, represented as days since epoch (January 1, 1970).
 
- 
decimalTA variable-precision decimal number value. - Returns:
- A variable-precision decimal number value.
 
- 
doubleTA 64-bit double-precision floating point value. - Returns:
- A 64-bit double-precision floating point value.
 
- 
floatTA 32-bit single-precision floating point value. - Returns:
- A 32-bit single-precision floating point value.
 
- 
inetTAn IP address value, either IPv4 or IPv6 format. - Returns:
- An IP address value, either IPv4 or IPv6 format.
 
- 
intT
- 
hasListTpublic final boolean hasListT()For responses, this returns true if the service returned a value for the ListT property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
listTAn ordered collection of elements that can contain duplicate values. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasListT()method.- Returns:
- An ordered collection of elements that can contain duplicate values.
 
- 
hasMapTpublic final boolean hasMapT()For responses, this returns true if the service returned a value for the MapT property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
mapTA collection of key-value pairs where each key is unique. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasMapT()method.- Returns:
- A collection of key-value pairs where each key is unique.
 
- 
hasSetTpublic final boolean hasSetT()For responses, this returns true if the service returned a value for the SetT property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
setTAn unordered collection of unique elements. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasSetT()method.- Returns:
- An unordered collection of unique elements.
 
- 
smallintTA 16-bit signed integer value. - Returns:
- A 16-bit signed integer value.
 
- 
textT
- 
timeTA time value without a date component, with nanosecond precision. - Returns:
- A time value without a date component, with nanosecond precision.
 
- 
timestampTA timestamp value representing date and time with millisecond precision. - Returns:
- A timestamp value representing date and time with millisecond precision.
 
- 
timeuuidTA universally unique identifier (UUID) that includes a timestamp component, ensuring both uniqueness and time ordering. - Returns:
- A universally unique identifier (UUID) that includes a timestamp component, ensuring both uniqueness and time ordering.
 
- 
tinyintTAn 8-bit signed integer value. - Returns:
- An 8-bit signed integer value.
 
- 
hasTupleTpublic final boolean hasTupleT()For responses, this returns true if the service returned a value for the TupleT property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
tupleTA fixed-length ordered list of elements, where each element can be of a different data type. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasTupleT()method.- Returns:
- A fixed-length ordered list of elements, where each element can be of a different data type.
 
- 
uuidTA universally unique identifier (UUID) value. - Returns:
- A universally unique identifier (UUID) value.
 
- 
varcharTA UTF-8 encoded string value, functionally equivalent to text type. - Returns:
- A UTF-8 encoded string value, functionally equivalent to text type.
 
- 
varintTA variable precision integer value with arbitrary length. - Returns:
- A variable precision integer value with arbitrary length.
 
- 
hasUdtTpublic final boolean hasUdtT()For responses, this returns true if the service returned a value for the UdtT property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
udtTA user-defined type (UDT) value consisting of named fields, each with its own data type. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasUdtT()method.- Returns:
- A user-defined type (UDT) value consisting of named fields, each with its own data type.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<KeyspacesCellValue.Builder,- KeyspacesCellValue> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForField
- 
fromAsciiTCreate an instance of this class withasciiT()initialized to the given value.A value of ASCII text type, containing US-ASCII characters. - Parameters:
- asciiT- A value of ASCII text type, containing US-ASCII characters.
 
- 
fromBigintTCreate an instance of this class withbigintT()initialized to the given value.A 64-bit signed integer value. - Parameters:
- bigintT- A 64-bit signed integer value.
 
- 
fromBlobTCreate an instance of this class withblobT()initialized to the given value.A binary large object (BLOB) value stored as a Base64-encoded string. - Parameters:
- blobT- A binary large object (BLOB) value stored as a Base64-encoded string.
 
- 
fromBoolTCreate an instance of this class withboolT()initialized to the given value.A Boolean value, either trueorfalse.- Parameters:
- boolT- A Boolean value, either- trueor- false.
 
- 
fromCounterTCreate an instance of this class withcounterT()initialized to the given value.A distributed counter value that can be incremented and decremented. - Parameters:
- counterT- A distributed counter value that can be incremented and decremented.
 
- 
fromDateTCreate an instance of this class withdateT()initialized to the given value.A date value without a time component, represented as days since epoch (January 1, 1970). - Parameters:
- dateT- A date value without a time component, represented as days since epoch (January 1, 1970).
 
- 
fromDecimalTCreate an instance of this class withdecimalT()initialized to the given value.A variable-precision decimal number value. - Parameters:
- decimalT- A variable-precision decimal number value.
 
- 
fromDoubleTCreate an instance of this class withdoubleT()initialized to the given value.A 64-bit double-precision floating point value. - Parameters:
- doubleT- A 64-bit double-precision floating point value.
 
- 
fromFloatTCreate an instance of this class withfloatT()initialized to the given value.A 32-bit single-precision floating point value. - Parameters:
- floatT- A 32-bit single-precision floating point value.
 
- 
fromInetTCreate an instance of this class withinetT()initialized to the given value.An IP address value, either IPv4 or IPv6 format. - Parameters:
- inetT- An IP address value, either IPv4 or IPv6 format.
 
- 
fromIntTCreate an instance of this class withintT()initialized to the given value.A 32-bit signed integer value. - Parameters:
- intT- A 32-bit signed integer value.
 
- 
fromListTCreate an instance of this class withlistT()initialized to the given value.An ordered collection of elements that can contain duplicate values. - Parameters:
- listT- An ordered collection of elements that can contain duplicate values.
 
- 
fromMapTCreate an instance of this class withmapT()initialized to the given value.A collection of key-value pairs where each key is unique. - Parameters:
- mapT- A collection of key-value pairs where each key is unique.
 
- 
fromSetTCreate an instance of this class withsetT()initialized to the given value.An unordered collection of unique elements. - Parameters:
- setT- An unordered collection of unique elements.
 
- 
fromSmallintTCreate an instance of this class withsmallintT()initialized to the given value.A 16-bit signed integer value. - Parameters:
- smallintT- A 16-bit signed integer value.
 
- 
fromTextTCreate an instance of this class withtextT()initialized to the given value.A UTF-8 encoded string value. - Parameters:
- textT- A UTF-8 encoded string value.
 
- 
fromTimeTCreate an instance of this class withtimeT()initialized to the given value.A time value without a date component, with nanosecond precision. - Parameters:
- timeT- A time value without a date component, with nanosecond precision.
 
- 
fromTimestampTCreate an instance of this class withtimestampT()initialized to the given value.A timestamp value representing date and time with millisecond precision. - Parameters:
- timestampT- A timestamp value representing date and time with millisecond precision.
 
- 
fromTimeuuidTCreate an instance of this class withtimeuuidT()initialized to the given value.A universally unique identifier (UUID) that includes a timestamp component, ensuring both uniqueness and time ordering. - Parameters:
- timeuuidT- A universally unique identifier (UUID) that includes a timestamp component, ensuring both uniqueness and time ordering.
 
- 
fromTinyintTCreate an instance of this class withtinyintT()initialized to the given value.An 8-bit signed integer value. - Parameters:
- tinyintT- An 8-bit signed integer value.
 
- 
fromTupleTCreate an instance of this class withtupleT()initialized to the given value.A fixed-length ordered list of elements, where each element can be of a different data type. - Parameters:
- tupleT- A fixed-length ordered list of elements, where each element can be of a different data type.
 
- 
fromUuidTCreate an instance of this class withuuidT()initialized to the given value.A universally unique identifier (UUID) value. - Parameters:
- uuidT- A universally unique identifier (UUID) value.
 
- 
fromVarcharTCreate an instance of this class withvarcharT()initialized to the given value.A UTF-8 encoded string value, functionally equivalent to text type. - Parameters:
- varcharT- A UTF-8 encoded string value, functionally equivalent to text type.
 
- 
fromVarintTCreate an instance of this class withvarintT()initialized to the given value.A variable precision integer value with arbitrary length. - Parameters:
- varintT- A variable precision integer value with arbitrary length.
 
- 
fromUdtTCreate an instance of this class withudtT()initialized to the given value.A user-defined type (UDT) value consisting of named fields, each with its own data type. - Parameters:
- udtT- A user-defined type (UDT) value consisting of named fields, each with its own data type.
 
- 
typeRetrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beKeyspacesCellValue.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beKeyspacesCellValue.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-