@Generated(value="software.amazon.awssdk:codegen") public final class AssetPropertyValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssetPropertyValue.Builder,AssetPropertyValue>
Contains asset property value information.
Modifier and Type | Class and Description |
---|---|
static interface |
AssetPropertyValue.Builder |
Modifier and Type | Method and Description |
---|---|
static AssetPropertyValue.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Quality |
quality()
The quality of the asset property value.
|
String |
qualityAsString()
The quality of the asset property value.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssetPropertyValue.Builder> |
serializableBuilderClass() |
TimeInNanos |
timestamp()
The timestamp of the asset property value.
|
AssetPropertyValue.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
Variant |
value()
The value of the asset property (see
Variant ). |
copy
public final Variant value()
The value of the asset property (see Variant
).
Variant
).public final TimeInNanos timestamp()
The timestamp of the asset property value.
public final Quality quality()
The quality of the asset property value.
If the service returns an enum value that is not available in the current SDK version, quality
will
return Quality.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
qualityAsString()
.
Quality
public final String qualityAsString()
The quality of the asset property value.
If the service returns an enum value that is not available in the current SDK version, quality
will
return Quality.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
qualityAsString()
.
Quality
public AssetPropertyValue.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AssetPropertyValue.Builder,AssetPropertyValue>
public static AssetPropertyValue.Builder builder()
public static Class<? extends AssetPropertyValue.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.