@Generated(value="software.amazon.awssdk:codegen") public final class Property extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Property.Builder,Property>
Contains asset property information.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Property.Builder |
| Modifier and Type | Method and Description |
|---|---|
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). |
static Property.Builder |
builder() |
PropertyDataType |
dataType()
The property data type.
|
String |
dataTypeAsString()
The property data type.
|
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 Property.Builder> |
serializableBuilderClass() |
Property.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
PropertyType |
type()
The property type (see
PropertyType). |
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 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 final PropertyNotification notification()
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
public final PropertyDataType dataType()
The property data type.
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 property data type.
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 unit()
The unit (such as Newtons or RPM) of the asset property.
Newtons or RPM) of the asset property.public final PropertyType type()
The property type (see PropertyType). A property contains one type.
PropertyType). A property contains one type.public Property.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Property.Builder,Property>public static Property.Builder builder()
public static Class<? extends Property.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.