Class InstanceId
java.lang.Object
co.yellowdog.platform.model.InstanceId
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder that can be used to build a new InstanceId that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionstatic InstanceId.Builderbuilder()protected booleanbooleanThe provider supplied ID for this instance.The ID of the compute source from which this instance was provisioned.inthashCode()voidsetInstanceId(String instanceId) The provider supplied ID for this instance.voidsetSourceId(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
-