Class IndistinctAsset

All Implemented Interfaces:
IAsset, IReferenceable, AuditDetail, Serializable, Comparable<Reference>

public class IndistinctAsset extends Asset
Instance of an asset where we cannot determine (have not yet modeled) its detailed information. In the meanwhile, this provides a catch-all case where at least the basic asset information is available.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • refByGuid

      public static IndistinctAsset refByGuid(String guid)
      Reference to an asset that is not yet strongly typed by GUID.
      Parameters:
      guid - the GUID of the asset that is not yet strongly typed to reference
      Returns:
      reference to an asset that is not yet strongly typed that can be used for defining a relationship
    • refByQualifiedName

      public static IndistinctAsset refByQualifiedName(String qualifiedName)
      Reference to an asset that is not yet strongly typed by qualifiedName.
      Parameters:
      qualifiedName - the qualifiedName of the asset that is not yet strongly typed to reference
      Returns:
      reference to an asset that is not yet strongly typed that can be used for defining a relationship
    • updater

      public static IndistinctAsset.IndistinctAssetBuilder<?,?> updater(String qualifiedName, String name)
      Builds the minimal object necessary to update an asset that is not yet strongly typed.
      Parameters:
      qualifiedName - of the asset
      name - of the asset
      Returns:
      the minimal request necessary to update the asset, as a builder
    • trimToRequired

      Builds the minimal object necessary to apply an update to an asset that is not yet strongly typed, from a potentially more-complete asset object.
      Overrides:
      trimToRequired in class Asset
      Returns:
      the minimal object necessary to update the asset, as a builder
      Throws:
      InvalidRequestException - if any of the minimal set of required properties are not found in the initial object
    • trimToReference

      public IndistinctAsset trimToReference() throws InvalidRequestException
      Builds the minimal object necessary to apply an update to an asset that is not yet strongly typed, from a potentially more-complete asset object.
      Overrides:
      trimToReference in class Asset
      Returns:
      the minimal object necessary to update the asset, as a builder
      Throws:
      InvalidRequestException - if any of the minimal set of required properties are not found in the initial object
    • _internal

      public static IndistinctAsset.IndistinctAssetBuilder<?,?> _internal()
    • toBuilder

      public IndistinctAsset.IndistinctAssetBuilder<?,?> toBuilder()
      Overrides:
      toBuilder in class Reference
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Asset
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Asset
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Asset
    • toString

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class Asset
    • getTypeName

      public String getTypeName()
      Create a non-transient typeName to ensure it is included in serde.
      Specified by:
      getTypeName in interface AuditDetail
      Specified by:
      getTypeName in interface IAsset
      Specified by:
      getTypeName in interface IReferenceable
      Overrides:
      getTypeName in class Reference