Interface AssetProperty.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssetProperty.Builder,AssetProperty>,SdkBuilder<AssetProperty.Builder,AssetProperty>,SdkPojo
- Enclosing class:
- AssetProperty
public static interface AssetProperty.Builder extends SdkPojo, CopyableBuilder<AssetProperty.Builder,AssetProperty>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssetProperty.Builderalias(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.BuilderdataType(String dataType)The data type of the asset property.AssetProperty.BuilderdataType(PropertyDataType dataType)The data type of the asset property.AssetProperty.BuilderdataTypeSpec(String dataTypeSpec)The data type of the structure for this property.AssetProperty.Builderid(String id)The ID of the asset property.AssetProperty.Buildername(String name)The name of the property.default AssetProperty.Buildernotification(Consumer<PropertyNotification.Builder> notification)The asset property's notification topic and state.AssetProperty.Buildernotification(PropertyNotification notification)The asset property's notification topic and state.AssetProperty.Builderunit(String unit)The unit (such asNewtonsorRPM) of the asset property.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
AssetProperty.Builder id(String id)
The ID of the asset property.
- Parameters:
id- The ID of the asset property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
AssetProperty.Builder name(String name)
The name of the property.
- Parameters:
name- The name of the property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alias
AssetProperty.Builder alias(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
AssetProperty.Builder notification(PropertyNotification notification)
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
- Parameters:
notification- The asset property's notification topic and state. For more information, see UpdateAssetProperty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
default AssetProperty.Builder notification(Consumer<PropertyNotification.Builder> notification)
The asset property's notification topic and state. For more information, see UpdateAssetProperty.
This is a convenience method that creates an instance of thePropertyNotification.Builderavoiding the need to create one manually viaPropertyNotification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotification(PropertyNotification).- Parameters:
notification- a consumer that will call methods onPropertyNotification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
notification(PropertyNotification)
-
dataType
AssetProperty.Builder dataType(String dataType)
The data type of the asset property.
- Parameters:
dataType- The data type of the asset property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PropertyDataType,PropertyDataType
-
dataType
AssetProperty.Builder dataType(PropertyDataType dataType)
The data type of the asset property.
- Parameters:
dataType- The data type of the asset property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PropertyDataType,PropertyDataType
-
dataTypeSpec
AssetProperty.Builder dataTypeSpec(String dataTypeSpec)
The data type of the structure for this property. This parameter exists on properties that have the
STRUCTdata type.- Parameters:
dataTypeSpec- The data type of the structure for this property. This parameter exists on properties that have theSTRUCTdata type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
AssetProperty.Builder unit(String unit)
The unit (such as
NewtonsorRPM) of the asset property.- Parameters:
unit- The unit (such asNewtonsorRPM) of the asset property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-