Interface AssetRelationshipSummary.Builder

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

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

    • hierarchyInfo

      The assets that are related through an asset hierarchy.

      This object is present if the relationshipType is HIERARCHY.

      Parameters:
      hierarchyInfo - The assets that are related through an asset hierarchy.

      This object is present if the relationshipType is HIERARCHY.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hierarchyInfo

      The assets that are related through an asset hierarchy.

      This object is present if the relationshipType is HIERARCHY.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to hierarchyInfo(AssetHierarchyInfo).

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

      AssetRelationshipSummary.Builder relationshipType(String relationshipType)

      The relationship type of the assets in this relationship. This value is one of the following:

      • HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes the hierarchyInfo object.

      Parameters:
      relationshipType - The relationship type of the assets in this relationship. This value is one of the following:

      • HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes the hierarchyInfo object.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • relationshipType

      AssetRelationshipSummary.Builder relationshipType(AssetRelationshipType relationshipType)

      The relationship type of the assets in this relationship. This value is one of the following:

      • HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes the hierarchyInfo object.

      Parameters:
      relationshipType - The relationship type of the assets in this relationship. This value is one of the following:

      • HIERARCHY – The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes the hierarchyInfo object.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: