Interface AssetModelProperty.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AssetModelProperty.Builder,AssetModelProperty>, SdkBuilder<AssetModelProperty.Builder,AssetModelProperty>, SdkPojo
Enclosing class:
AssetModelProperty

public static interface AssetModelProperty.Builder extends SdkPojo, CopyableBuilder<AssetModelProperty.Builder,AssetModelProperty>
  • Method Details

    • id

      The ID of the asset model property.

      Parameters:
      id - The ID of the asset model property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the asset model property.

      Parameters:
      name - The name of the asset model property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataType

      AssetModelProperty.Builder dataType(String dataType)

      The data type of the asset model property.

      Parameters:
      dataType - The data type of the asset model property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataType

      The data type of the asset model property.

      Parameters:
      dataType - The data type of the asset model property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataTypeSpec

      AssetModelProperty.Builder dataTypeSpec(String dataTypeSpec)

      The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type.

      Parameters:
      dataTypeSpec - The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unit

      The unit of the asset model property, such as Newtons or RPM.

      Parameters:
      unit - The unit of the asset model property, such as Newtons or RPM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The property type (see PropertyType).

      Parameters:
      type - The property type (see PropertyType).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The property type (see PropertyType).

      This is a convenience method that creates an instance of the 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).

      Parameters:
      type - a consumer that will call methods on PropertyType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: