public static interface Property.Builder extends SdkPojo, CopyableBuilder<Property.Builder,Property>
| Modifier and Type | Method and Description |
|---|---|
Property.Builder |
alias(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). |
Property.Builder |
dataType(PropertyDataType dataType)
The property data type.
|
Property.Builder |
dataType(String dataType)
The property data type.
|
Property.Builder |
id(String id)
The ID of the asset property.
|
Property.Builder |
name(String name)
The name of the property.
|
default Property.Builder |
notification(Consumer<PropertyNotification.Builder> notification)
The asset property's notification topic and state.
|
Property.Builder |
notification(PropertyNotification notification)
The asset property's notification topic and state.
|
default Property.Builder |
type(Consumer<PropertyType.Builder> type)
The property type (see
PropertyType). |
Property.Builder |
type(PropertyType type)
The property type (see
PropertyType). |
Property.Builder |
unit(String unit)
The unit (such as
Newtons or RPM) of the asset property. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildProperty.Builder id(String id)
The ID of the asset property.
id - The ID of the asset property.Property.Builder name(String name)
The name of the property.
name - The name of the property.Property.Builder alias(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.
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.Property.Builder notification(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.default Property.Builder notification(Consumer<PropertyNotification.Builder> notification)
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
This is a convenience that creates an instance of thePropertyNotification.Builder avoiding the need
to create one manually via PropertyNotification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to notification(PropertyNotification).notification - a consumer that will call methods on PropertyNotification.Buildernotification(PropertyNotification)Property.Builder dataType(String dataType)
The property data type.
dataType - The property data type.PropertyDataType,
PropertyDataTypeProperty.Builder dataType(PropertyDataType dataType)
The property data type.
dataType - The property data type.PropertyDataType,
PropertyDataTypeProperty.Builder unit(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.Property.Builder type(PropertyType type)
The property type (see PropertyType). A property contains one type.
type - The property type (see PropertyType). A property contains one type.default Property.Builder type(Consumer<PropertyType.Builder> type)
The property type (see PropertyType). A property contains one type.
PropertyType.Builder avoiding the need to
create one manually via PropertyType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to type(PropertyType).type - a consumer that will call methods on PropertyType.Buildertype(PropertyType)Copyright © 2021. All rights reserved.