Interface PropertyMappingConfiguration.Builder

  • Method Details

    • matchByPropertyName

      PropertyMappingConfiguration.Builder matchByPropertyName(Boolean matchByPropertyName)

      If true, properties are matched by name between the interface asset model and the asset model where the interface is applied.

      Parameters:
      matchByPropertyName - If true, properties are matched by name between the interface asset model and the asset model where the interface is applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createMissingProperty

      PropertyMappingConfiguration.Builder createMissingProperty(Boolean createMissingProperty)

      If true, missing properties from the interface asset model are automatically created in the asset model where the interface is applied.

      Parameters:
      createMissingProperty - If true, missing properties from the interface asset model are automatically created in the asset model where the interface is applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrides

      A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.

      Parameters:
      overrides - A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrides

      A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.

      Parameters:
      overrides - A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrides

      A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.

      This is a convenience method that creates an instance of the PropertyMapping.Builder avoiding the need to create one manually via PropertyMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to overrides(List<PropertyMapping>).

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