@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.
|
List<AssetModelPropertyPathSegment> |
getPropertyPath()
The path of the property.
|
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.
|
void |
setPropertyPath(Collection<AssetModelPropertyPathSegment> propertyPath)
The path of the property.
|
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.
|
VariableValue |
withPropertyPath(AssetModelPropertyPathSegment... propertyPath)
The path of the property.
|
VariableValue |
withPropertyPath(Collection<AssetModelPropertyPathSegment> propertyPath)
The path of the property.
|
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. If the property has an external ID, you can specify externalId:
followed by the
external ID. For more information, see Using external
IDs in the IoT SiteWise User Guide.
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. If the property has an external ID, you can specify externalId:
followed by
the external ID. For more information, see Using
external IDs in the IoT SiteWise User Guide.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. If the property has an external ID, you can specify externalId:
followed by the
external ID. For more information, see Using external
IDs in the IoT SiteWise User Guide.
name
if it's from
the same asset model. If the property has an external ID, you can specify externalId:
followed by the external ID. For more information, see Using
external IDs in the IoT SiteWise User Guide.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. If the property has an external ID, you can specify externalId:
followed by the
external ID. For more information, see Using external
IDs in the IoT SiteWise User Guide.
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. If the property has an external ID, you can specify externalId:
followed by
the external ID. For more information, see Using
external IDs in the IoT SiteWise User Guide.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. If the hierarchy has an external ID, you can specify externalId:
followed by the external ID.
For more information, see Using external
IDs 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.
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. If the hierarchy has an external ID, you can specify externalId:
followed by
the external ID. For more information, see Using
external IDs 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 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. If the hierarchy has an external ID, you can specify externalId:
followed by the external ID.
For more information, see Using external
IDs 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.
externalId:
followed by
the external ID. For more information, see Using
external IDs 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 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. If the hierarchy has an external ID, you can specify externalId:
followed by the external ID.
For more information, see Using external
IDs 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.
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. If the hierarchy has an external ID, you can specify externalId:
followed by
the external ID. For more information, see Using
external IDs 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 List<AssetModelPropertyPathSegment> getPropertyPath()
The path of the property.
public void setPropertyPath(Collection<AssetModelPropertyPathSegment> propertyPath)
The path of the property.
propertyPath
- The path of the property.public VariableValue withPropertyPath(AssetModelPropertyPathSegment... propertyPath)
The path of the property.
NOTE: This method appends the values to the existing list (if any). Use
setPropertyPath(java.util.Collection)
or withPropertyPath(java.util.Collection)
if you want to
override the existing values.
propertyPath
- The path of the property.public VariableValue withPropertyPath(Collection<AssetModelPropertyPathSegment> propertyPath)
The path of the property.
propertyPath
- The path of the property.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.