Class Ref

java.lang.Object
clusterless.commons.naming.Ref

public final class Ref extends Object
Creates an identifier to use as an export/import key for provider output/export values.

   aws:stage:scope:scopeVersion:resourceType:resourceName:name
 
  • Constructor Details

    • Ref

      public Ref()
  • Method Details

    • ref

      public static Ref ref()
    • idRef

      public static Ref idRef()
    • arnRef

      public static Ref arnRef()
    • nameRef

      public static Ref nameRef()
    • isRef

      public static boolean isRef(String value)
    • provider

      public static String provider(String value)
    • withProvider

      public Ref withProvider(String provider)
    • withProvider

      public Ref withProvider(Label provider)
    • withStage

      public Ref withStage(Stage stage)
    • withScope

      public Ref withScope(String scope)
    • withScope

      public Ref withScope(Label scope)
    • withScopeVersion

      public Ref withScopeVersion(String scopeVersion)
    • withScopeVersion

      public Ref withScopeVersion(Fixed scopeVersion)
    • withResourceNs

      public Ref withResourceNs(String resourceNs)
    • withResourceNs

      public Ref withResourceNs(Label resourceNs)
    • withResourceType

      public Ref withResourceType(String resourceType)
    • withResourceType

      public Ref withResourceType(Fixed resourceType)
    • withResourceName

      public Ref withResourceName(String resourceName)
    • withResourceName

      public Ref withResourceName(Label resourceName)
    • withQualifier

      public Ref withQualifier(Ref.Qualifier qualifier)
    • provider

      public Label provider()
    • stage

      public Stage stage()
    • scope

      public Label scope()
    • scopeVersion

      public Fixed scopeVersion()
    • resourceNs

      public Label resourceNs()
    • resourceType

      public Fixed resourceType()
    • resourceName

      public Label resourceName()
    • qualifier

      public Ref.Qualifier qualifier()
    • resourceLabel

      public Label resourceLabel()
    • label

      public Label label()
    • exportName

      public String exportName()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object