@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetProperty extends Object implements Serializable, Cloneable, StructuredPojo
Contains asset property information.
Constructor and Description |
---|
AssetProperty() |
Modifier and Type | Method and Description |
---|---|
AssetProperty |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature ). |
String |
getDataType()
The data type of the asset property.
|
String |
getDataTypeSpec()
The data type of the structure for this property.
|
String |
getExternalId()
The external ID of the asset property.
|
String |
getId()
The ID of the asset property.
|
String |
getName()
The name of the property.
|
PropertyNotification |
getNotification()
The asset property's notification topic and state.
|
List<AssetPropertyPathSegment> |
getPath()
The structured path to the property from the root of the asset.
|
String |
getUnit()
The unit (such as
Newtons or RPM ) of the asset property. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlias(String alias)
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature ). |
void |
setDataType(String dataType)
The data type of the asset property.
|
void |
setDataTypeSpec(String dataTypeSpec)
The data type of the structure for this property.
|
void |
setExternalId(String externalId)
The external ID of the asset property.
|
void |
setId(String id)
The ID of the asset property.
|
void |
setName(String name)
The name of the property.
|
void |
setNotification(PropertyNotification notification)
The asset property's notification topic and state.
|
void |
setPath(Collection<AssetPropertyPathSegment> path)
The structured path to the property from the root of the asset.
|
void |
setUnit(String unit)
The unit (such as
Newtons or RPM ) of the asset property. |
String |
toString()
Returns a string representation of this object.
|
AssetProperty |
withAlias(String alias)
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature ). |
AssetProperty |
withDataType(PropertyDataType dataType)
The data type of the asset property.
|
AssetProperty |
withDataType(String dataType)
The data type of the asset property.
|
AssetProperty |
withDataTypeSpec(String dataTypeSpec)
The data type of the structure for this property.
|
AssetProperty |
withExternalId(String externalId)
The external ID of the asset property.
|
AssetProperty |
withId(String id)
The ID of the asset property.
|
AssetProperty |
withName(String name)
The name of the property.
|
AssetProperty |
withNotification(PropertyNotification notification)
The asset property's notification topic and state.
|
AssetProperty |
withPath(AssetPropertyPathSegment... path)
The structured path to the property from the root of the asset.
|
AssetProperty |
withPath(Collection<AssetPropertyPathSegment> path)
The structured path to the property from the root of the asset.
|
AssetProperty |
withUnit(String unit)
The unit (such as
Newtons or RPM ) of the asset property. |
public void setId(String id)
The ID of the asset property.
id
- The ID of the asset property.public String getId()
The ID of the asset property.
public AssetProperty withId(String id)
The ID of the asset property.
id
- The ID of the asset property.public void setName(String name)
The name of the property.
name
- The name of the property.public String getName()
The name of the property.
public AssetProperty withName(String name)
The name of the property.
name
- The name of the property.public void setAlias(String alias)
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping industrial
data streams to asset properties in the IoT SiteWise User Guide.
alias
- The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping
industrial data streams to asset properties in the IoT SiteWise User Guide.public String getAlias()
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping industrial
data streams to asset properties in the IoT SiteWise User Guide.
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping
industrial data streams to asset properties in the IoT SiteWise User Guide.public AssetProperty withAlias(String alias)
The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping industrial
data streams to asset properties in the IoT SiteWise User Guide.
alias
- The alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature
). For more information, see Mapping
industrial data streams to asset properties in the IoT SiteWise User Guide.public void setNotification(PropertyNotification notification)
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
notification
- The asset property's notification topic and state. For more information, see UpdateAssetProperty.public PropertyNotification getNotification()
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
public AssetProperty withNotification(PropertyNotification notification)
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
notification
- The asset property's notification topic and state. For more information, see UpdateAssetProperty.public void setDataType(String dataType)
The data type of the asset property.
dataType
- The data type of the asset property.PropertyDataType
public String getDataType()
The data type of the asset property.
PropertyDataType
public AssetProperty withDataType(String dataType)
The data type of the asset property.
dataType
- The data type of the asset property.PropertyDataType
public AssetProperty withDataType(PropertyDataType dataType)
The data type of the asset property.
dataType
- The data type of the asset property.PropertyDataType
public void setDataTypeSpec(String dataTypeSpec)
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT
data type.
dataTypeSpec
- The data type of the structure for this property. This parameter exists on properties that have the
STRUCT
data type.public String getDataTypeSpec()
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT
data type.
STRUCT
data type.public AssetProperty withDataTypeSpec(String dataTypeSpec)
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT
data type.
dataTypeSpec
- The data type of the structure for this property. This parameter exists on properties that have the
STRUCT
data type.public void setUnit(String unit)
The unit (such as Newtons
or RPM
) of the asset property.
unit
- The unit (such as Newtons
or RPM
) of the asset property.public String getUnit()
The unit (such as Newtons
or RPM
) of the asset property.
Newtons
or RPM
) of the asset property.public AssetProperty withUnit(String unit)
The unit (such as Newtons
or RPM
) of the asset property.
unit
- The unit (such as Newtons
or RPM
) of the asset property.public List<AssetPropertyPathSegment> getPath()
The structured path to the property from the root of the asset.
public void setPath(Collection<AssetPropertyPathSegment> path)
The structured path to the property from the root of the asset.
path
- The structured path to the property from the root of the asset.public AssetProperty withPath(AssetPropertyPathSegment... path)
The structured path to the property from the root of the asset.
NOTE: This method appends the values to the existing list (if any). Use
setPath(java.util.Collection)
or withPath(java.util.Collection)
if you want to override the
existing values.
path
- The structured path to the property from the root of the asset.public AssetProperty withPath(Collection<AssetPropertyPathSegment> path)
The structured path to the property from the root of the asset.
path
- The structured path to the property from the root of the asset.public void setExternalId(String externalId)
The external ID of the asset property. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the asset property. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String getExternalId()
The external ID of the asset property. For more information, see Using external IDs in the IoT SiteWise User Guide.
public AssetProperty withExternalId(String externalId)
The external ID of the asset property. For more information, see Using external IDs in the IoT SiteWise User Guide.
externalId
- The external ID of the asset property. For more information, see Using
external IDs in the IoT SiteWise User Guide.public String toString()
toString
in class Object
Object.toString()
public AssetProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.