public static interface AssetModelPropertyDefinition.Builder extends SdkPojo, CopyableBuilder<AssetModelPropertyDefinition.Builder,AssetModelPropertyDefinition>
| Modifier and Type | Method and Description |
|---|---|
AssetModelPropertyDefinition.Builder |
dataType(PropertyDataType dataType)
The data type of the property definition.
|
AssetModelPropertyDefinition.Builder |
dataType(String dataType)
The data type of the property definition.
|
AssetModelPropertyDefinition.Builder |
dataTypeSpec(String dataTypeSpec)
The data type of the structure for this property.
|
AssetModelPropertyDefinition.Builder |
name(String name)
The name of the property definition.
|
default AssetModelPropertyDefinition.Builder |
type(Consumer<PropertyType.Builder> type)
The property definition type (see
PropertyType). |
AssetModelPropertyDefinition.Builder |
type(PropertyType type)
The property definition type (see
PropertyType). |
AssetModelPropertyDefinition.Builder |
unit(String unit)
The unit of the property definition, such as
Newtons or RPM. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAssetModelPropertyDefinition.Builder name(String name)
The name of the property definition.
name - The name of the property definition.AssetModelPropertyDefinition.Builder dataType(String dataType)
The data type of the property definition.
If you specify STRUCT, you must also specify dataTypeSpec to identify the type of
the structure for this property.
dataType - The data type of the property definition.
If you specify STRUCT, you must also specify dataTypeSpec to identify the
type of the structure for this property.
PropertyDataType,
PropertyDataTypeAssetModelPropertyDefinition.Builder dataType(PropertyDataType dataType)
The data type of the property definition.
If you specify STRUCT, you must also specify dataTypeSpec to identify the type of
the structure for this property.
dataType - The data type of the property definition.
If you specify STRUCT, you must also specify dataTypeSpec to identify the
type of the structure for this property.
PropertyDataType,
PropertyDataTypeAssetModelPropertyDefinition.Builder dataTypeSpec(String dataTypeSpec)
The data type of the structure for this property. This parameter is required on properties that have the
STRUCT data type.
The options for this parameter depend on the type of the composite model in which you define this property.
Use AWS/ALARM_STATE for alarm state in alarm composite models.
dataTypeSpec - The data type of the structure for this property. This parameter is required on properties that have
the STRUCT data type.
The options for this parameter depend on the type of the composite model in which you define this
property. Use AWS/ALARM_STATE for alarm state in alarm composite models.
AssetModelPropertyDefinition.Builder unit(String unit)
The unit of the property definition, such as Newtons or RPM.
unit - The unit of the property definition, such as Newtons or RPM.AssetModelPropertyDefinition.Builder type(PropertyType type)
The property definition type (see PropertyType). You can only specify one type in a property
definition.
type - The property definition type (see PropertyType). You can only specify one type in a
property definition.default AssetModelPropertyDefinition.Builder type(Consumer<PropertyType.Builder> type)
The property definition type (see PropertyType). You can only specify one type in a property
definition.
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 © 2023. All rights reserved.