@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VariableValue extends Object implements Serializable, Cloneable, StructuredPojo
Identifies a property value used in an expression.
Constructor and Description |
---|
VariableValue() |
Modifier and Type | Method and Description |
---|---|
VariableValue |
clone() |
boolean |
equals(Object obj) |
String |
getHierarchyId()
The ID of the hierarchy to query for the property ID.
|
String |
getPropertyId()
The ID of the property to use as the variable.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHierarchyId(String hierarchyId)
The ID of the hierarchy to query for the property ID.
|
void |
setPropertyId(String propertyId)
The ID of the property to use as the variable.
|
String |
toString()
Returns a string representation of this object.
|
VariableValue |
withHierarchyId(String hierarchyId)
The ID of the hierarchy to query for the property ID.
|
VariableValue |
withPropertyId(String propertyId)
The ID of the property to use as the variable.
|
public void setPropertyId(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.
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.public String getPropertyId()
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 VariableValue withPropertyId(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.
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.public void setHierarchyId(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 AWS IoT SiteWise User Guide.
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 AWS IoT SiteWise User Guide.
public String getHierarchyId()
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 AWS 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 AWS IoT SiteWise User Guide.
public VariableValue withHierarchyId(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 AWS IoT SiteWise User Guide.
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 AWS IoT SiteWise User Guide.
public String toString()
toString
in class Object
Object.toString()
public VariableValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.