@Generated(value="software.amazon.awssdk:codegen") public final class AssetPropertyVariant extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssetPropertyVariant.Builder,AssetPropertyVariant>
Contains an asset property value (of a single type).
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssetPropertyVariant.Builder |
static class |
AssetPropertyVariant.Type |
| Modifier and Type | Method and Description |
|---|---|
String |
booleanValue()
Optional.
|
static AssetPropertyVariant.Builder |
builder() |
String |
doubleValue()
Optional.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static AssetPropertyVariant |
fromBooleanValue(String booleanValue)
Create an instance of this class with
booleanValue() initialized to the given value. |
static AssetPropertyVariant |
fromDoubleValue(String doubleValue)
Create an instance of this class with
doubleValue() initialized to the given value. |
static AssetPropertyVariant |
fromIntegerValue(String integerValue)
Create an instance of this class with
integerValue() initialized to the given value. |
static AssetPropertyVariant |
fromStringValue(String stringValue)
Create an instance of this class with
stringValue() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
integerValue()
Optional.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssetPropertyVariant.Builder> |
serializableBuilderClass() |
String |
stringValue()
Optional.
|
AssetPropertyVariant.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AssetPropertyVariant.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String stringValue()
Optional. The string value of the value entry. Accepts substitution templates.
public final String integerValue()
Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
public final String doubleValue()
Optional. A string that contains the double value of the value entry. Accepts substitution templates.
public final String booleanValue()
Optional. A string that contains the boolean value (true or false) of the value entry.
Accepts substitution templates.
true or false) of the value
entry. Accepts substitution templates.public AssetPropertyVariant.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssetPropertyVariant.Builder,AssetPropertyVariant>public static AssetPropertyVariant.Builder builder()
public static Class<? extends AssetPropertyVariant.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static AssetPropertyVariant fromStringValue(String stringValue)
stringValue() initialized to the given value.
Optional. The string value of the value entry. Accepts substitution templates.
stringValue - Optional. The string value of the value entry. Accepts substitution templates.public static AssetPropertyVariant fromIntegerValue(String integerValue)
integerValue() initialized to the given value.
Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
integerValue - Optional. A string that contains the integer value of the value entry. Accepts substitution templates.public static AssetPropertyVariant fromDoubleValue(String doubleValue)
doubleValue() initialized to the given value.
Optional. A string that contains the double value of the value entry. Accepts substitution templates.
doubleValue - Optional. A string that contains the double value of the value entry. Accepts substitution templates.public static AssetPropertyVariant fromBooleanValue(String booleanValue)
booleanValue() initialized to the given value.
Optional. A string that contains the boolean value (true or false) of the value entry.
Accepts substitution templates.
booleanValue - Optional. A string that contains the boolean value (true or false) of the value
entry. Accepts substitution templates.public AssetPropertyVariant.Type type()
AssetPropertyVariant.Type.UNKNOWN_TO_SDK_VERSION if 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 be AssetPropertyVariant.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2022. All rights reserved.