Class AssetPropertyVariant
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssetPropertyVariant.Builder,AssetPropertyVariant>
Contains an asset property value (of a single type).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionfinal StringOptional.static AssetPropertyVariant.Builderbuilder()final StringOptional.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.static AssetPropertyVariantfromBooleanValue(String booleanValue) Create an instance of this class withbooleanValue()initialized to the given value.static AssetPropertyVariantfromDoubleValue(String doubleValue) Create an instance of this class withdoubleValue()initialized to the given value.static AssetPropertyVariantfromIntegerValue(String integerValue) Create an instance of this class withintegerValue()initialized to the given value.static AssetPropertyVariantfromStringValue(String stringValue) Create an instance of this class withstringValue()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringOptional.static Class<? extends AssetPropertyVariant.Builder> final StringOptional.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.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
stringValue
Optional. The string value of the value entry. Accepts substitution templates.
- Returns:
- Optional. The string value of the value entry. Accepts substitution templates.
-
integerValue
Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
- Returns:
- Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
-
doubleValue
Optional. A string that contains the double value of the value entry. Accepts substitution templates.
- Returns:
- Optional. A string that contains the double value of the value entry. Accepts substitution templates.
-
booleanValue
Optional. A string that contains the boolean value (
trueorfalse) of the value entry. Accepts substitution templates.- Returns:
- Optional. A string that contains the boolean value (
trueorfalse) of the value entry. Accepts substitution templates.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AssetPropertyVariant.Builder,AssetPropertyVariant> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description 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 interfaceSdkPojo- 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
-
fromStringValue
Create an instance of this class withstringValue()initialized to the given value.Optional. The string value of the value entry. Accepts substitution templates.
- Parameters:
stringValue- Optional. The string value of the value entry. Accepts substitution templates.
-
fromIntegerValue
Create an instance of this class withintegerValue()initialized to the given value.Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
- Parameters:
integerValue- Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
-
fromDoubleValue
Create an instance of this class withdoubleValue()initialized to the given value.Optional. A string that contains the double value of the value entry. Accepts substitution templates.
- Parameters:
doubleValue- Optional. A string that contains the double value of the value entry. Accepts substitution templates.
-
fromBooleanValue
Create an instance of this class withbooleanValue()initialized to the given value.Optional. A string that contains the boolean value (
trueorfalse) of the value entry. Accepts substitution templates.- Parameters:
booleanValue- Optional. A string that contains the boolean value (trueorfalse) of the value entry. Accepts substitution templates.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beAssetPropertyVariant.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 beAssetPropertyVariant.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-