public static interface AssetModelProperty.Builder extends SdkPojo, CopyableBuilder<AssetModelProperty.Builder,AssetModelProperty>
| Modifier and Type | Method and Description |
|---|---|
AssetModelProperty.Builder |
dataType(PropertyDataType dataType)
The data type of the asset model property.
|
AssetModelProperty.Builder |
dataType(String dataType)
The data type of the asset model property.
|
AssetModelProperty.Builder |
dataTypeSpec(String dataTypeSpec)
The data type of the structure for this property.
|
AssetModelProperty.Builder |
id(String id)
The ID of the asset model property.
|
AssetModelProperty.Builder |
name(String name)
The name of the asset model property.
|
default AssetModelProperty.Builder |
type(Consumer<PropertyType.Builder> type)
The property type (see
PropertyType). |
AssetModelProperty.Builder |
type(PropertyType type)
The property type (see
PropertyType). |
AssetModelProperty.Builder |
unit(String unit)
The unit of the asset model property, such as
Newtons or RPM. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAssetModelProperty.Builder id(String id)
The ID of the asset model property.
id - The ID of the asset model property.AssetModelProperty.Builder name(String name)
The name of the asset model property.
name - The name of the asset model property.AssetModelProperty.Builder dataType(String dataType)
The data type of the asset model property.
dataType - The data type of the asset model property.PropertyDataType,
PropertyDataTypeAssetModelProperty.Builder dataType(PropertyDataType dataType)
The data type of the asset model property.
dataType - The data type of the asset model property.PropertyDataType,
PropertyDataTypeAssetModelProperty.Builder dataTypeSpec(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.AssetModelProperty.Builder unit(String unit)
The unit of the asset model property, such as Newtons or RPM.
unit - The unit of the asset model property, such as Newtons or RPM.AssetModelProperty.Builder type(PropertyType type)
The property type (see PropertyType).
type - The property type (see PropertyType).default AssetModelProperty.Builder type(Consumer<PropertyType.Builder> type)
The property type (see PropertyType).
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.