Interface AssetModelPropertySummary.Builder

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

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

    • id

      The ID of the property.

      Parameters:
      id - The ID of the property.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • dataType

      The data type of the property.

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

      The data type of the property.

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

      AssetModelPropertySummary.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 (such as Newtons or RPM) of the property.

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

      Sets the value of the Type property for this object.
      Parameters:
      type - The new value for the Type property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Sets the value of the Type property for this object. 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:
    • assetModelCompositeModelId

      AssetModelPropertySummary.Builder assetModelCompositeModelId(String assetModelCompositeModelId)

      The ID of the composite model that contains the asset model property.

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