Class InstanceId

java.lang.Object
co.yellowdog.platform.model.InstanceId
All Implemented Interfaces:
Serializable

public class InstanceId extends Object implements Serializable
Represents the composite ID for an Instance
See Also:
  • Method Details

    • builder

      public static InstanceId.Builder builder()
    • getSourceId

      public String getSourceId()
      The ID of the compute source from which this instance was provisioned.
      Returns:
      the ID of the compute source from which this instance was provisioned
    • getInstanceId

      public String getInstanceId()
      The provider supplied ID for this instance.
      Returns:
      the provider supplied ID for this instance.
    • setSourceId

      public void setSourceId(String sourceId)
      The ID of the compute source from which this instance was provisioned.
      Parameters:
      sourceId - This should not be set outside of the YellowDog Compute service.
    • setInstanceId

      public void setInstanceId(String instanceId)
      The provider supplied ID for this instance.
      Parameters:
      instanceId - This should not be set outside of the YellowDog Compute service.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object