Class InstanceId
java.lang.Object
co.yellowdog.platform.model.InstanceId
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new InstanceId that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionstatic InstanceId.Builder
builder()
protected boolean
boolean
The provider supplied ID for this instance.The ID of the compute source from which this instance was provisioned.int
hashCode()
void
setInstanceId
(String instanceId) The provider supplied ID for this instance.void
setSourceId
(String sourceId) The ID of the compute source from which this instance was provisioned.toString()
-
Method Details
-
builder
-
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
The provider supplied ID for this instance.- Returns:
- the provider supplied ID for this instance.
-
setSourceId
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
The provider supplied ID for this instance.- Parameters:
instanceId
- This should not be set outside of the YellowDog Compute service.
-
equals
-
canEqual
-
hashCode
-
toString
-