@Generated(value="software.amazon.awssdk:codegen") public final class VariableValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VariableValue.Builder,VariableValue>
Identifies a property value used in an expression.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VariableValue.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VariableValue.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hierarchyId()
The ID of the hierarchy to query for the property ID.
|
String |
propertyId()
The ID of the property to use as the variable.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VariableValue.Builder> |
serializableBuilderClass() |
VariableValue.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String propertyId()
The ID of the property to use as the variable. You can use the property name if it's from the same
asset model.
name if it's from
the same asset model.public final String hierarchyId()
The ID of the hierarchy to query for the property ID. You can use the hierarchy's name instead of the hierarchy's ID.
You use a hierarchy ID instead of a model ID because you can have several hierarchies using the same model and
therefore the same propertyId. For example, you might have separately grouped assets that come from
the same asset model. For more information, see Asset hierarchies in
the IoT SiteWise User Guide.
You use a hierarchy ID instead of a model ID because you can have several hierarchies using the same
model and therefore the same propertyId. For example, you might have separately grouped
assets that come from the same asset model. For more information, see Asset
hierarchies in the IoT SiteWise User Guide.
public VariableValue.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VariableValue.Builder,VariableValue>public static VariableValue.Builder builder()
public static Class<? extends VariableValue.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.