@Generated(value="software.amazon.awssdk:codegen") public final class AssetProperty extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssetProperty.Builder,AssetProperty>
Contains asset property information.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssetProperty.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
alias()
The property alias that identifies the property, such as an OPC-UA server data stream path (for example,
/company/windfarm/3/turbine/7/temperature). |
static AssetProperty.Builder |
builder() |
PropertyDataType |
dataType()
The data type of the asset property.
|
String |
dataTypeAsString()
The data type of the asset property.
|
String |
dataTypeSpec()
The data type of the structure for this property.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the asset property.
|
String |
name()
The name of the property.
|
PropertyNotification |
notification()
The asset property's notification topic and state.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssetProperty.Builder> |
serializableBuilderClass() |
AssetProperty.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
unit()
The unit (such as
Newtons or RPM) of the asset property. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the asset property.
public final String name()
The name of the property.
public final String alias()
The property 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 AWS IoT SiteWise User Guide.
/company/windfarm/3/turbine/7/temperature). For more information, see Mapping
industrial data streams to asset properties in the AWS IoT SiteWise User Guide.public final PropertyNotification notification()
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
public final PropertyDataType dataType()
The data type of the asset property.
If the service returns an enum value that is not available in the current SDK version, dataType will
return PropertyDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
dataTypeAsString().
PropertyDataTypepublic final String dataTypeAsString()
The data type of the asset property.
If the service returns an enum value that is not available in the current SDK version, dataType will
return PropertyDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
dataTypeAsString().
PropertyDataTypepublic final String dataTypeSpec()
The data type of the structure for this property. This parameter exists on properties that have the
STRUCT data type.
STRUCT data type.public final String unit()
The unit (such as Newtons or RPM) of the asset property.
Newtons or RPM) of the asset property.public AssetProperty.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssetProperty.Builder,AssetProperty>public static AssetProperty.Builder builder()
public static Class<? extends AssetProperty.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.