Class Variant
- java.lang.Object
-
- software.amazon.awssdk.services.iotsitewise.model.Variant
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Variant.Builder,Variant>
@Generated("software.amazon.awssdk:codegen") public final class Variant extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Variant.Builder,Variant>
Contains an asset property value (of a single type only).
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVariant.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanbooleanValue()Asset property data of type Boolean (true or false).static Variant.Builderbuilder()DoubledoubleValue()Asset property data of type double (floating point number).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerintegerValue()Asset property data of type integer (number that's greater than or equal to zero).List<SdkField<?>>sdkFields()static Class<? extends Variant.Builder>serializableBuilderClass()StringstringValue()Asset property data of type string (sequence of characters).Variant.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
stringValue
public final String stringValue()
Asset property data of type string (sequence of characters).
- Returns:
- Asset property data of type string (sequence of characters).
-
integerValue
public final Integer integerValue()
Asset property data of type integer (number that's greater than or equal to zero).
- Returns:
- Asset property data of type integer (number that's greater than or equal to zero).
-
doubleValue
public final Double doubleValue()
Asset property data of type double (floating point number).
- Returns:
- Asset property data of type double (floating point number).
-
booleanValue
public final Boolean booleanValue()
Asset property data of type Boolean (true or false).
- Returns:
- Asset property data of type Boolean (true or false).
-
toBuilder
public Variant.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Variant.Builder,Variant>
-
builder
public static Variant.Builder builder()
-
serializableBuilderClass
public static Class<? extends Variant.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-