Class OciInstance
java.lang.Object
co.yellowdog.platform.model.Instance
co.yellowdog.platform.model.OciInstance
- All Implemented Interfaces:
 Serializable
Extends 
Instance to add fields specific to the OCI compute sources.- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe OCID of the compartment containing this instance.The number of OCPUs provisioned on this flex type instance.The amount of ram in GB provisioned on this flex type instance.inthashCode()voidsetCompartmentId(String compartmentId) The OCID of the compartment containing this instance.voidsetFlexOcpus(Float flexOcpus) The number of OCPUs provisioned on this flex type instance.voidsetFlexRam(Float flexRam) The amount of ram in GB provisioned on this flex type instance.toString()Methods inherited from class co.yellowdog.platform.model.Instance
getCreatedTime, getCreatedTimeAccuracy, getHostname, getId, getImageId, getInstanceType, getPrivateIpAddress, getProvider, getPublicIpAddress, getRegion, getStatus, getStatusChangedTime, getSubregion, isSpot, setCreatedTime, setHostname, setId, setImageId, setInstanceType, setPrivateIpAddress, setProvider, setPublicIpAddress, setRegion, setSpot, setStatus, setStatusChangedTime, setSubregion 
- 
Constructor Details
- 
OciInstance
public OciInstance() 
 - 
 - 
Method Details
- 
getCompartmentId
The OCID of the compartment containing this instance.- Returns:
 - the compartment OCID
 
 - 
getFlexOcpus
The number of OCPUs provisioned on this flex type instance.- Returns:
 - the number of OCPUs
 
 - 
getFlexRam
The amount of ram in GB provisioned on this flex type instance.- Returns:
 - the amount of ram in GB
 
 - 
setCompartmentId
The OCID of the compartment containing this instance.- Parameters:
 compartmentId- This should not be set outside of the YellowDog Compute service.
 - 
setFlexOcpus
The number of OCPUs provisioned on this flex type instance.- Parameters:
 flexOcpus- This should not be set outside of the YellowDog Compute service.
 - 
setFlexRam
The amount of ram in GB provisioned on this flex type instance.- Parameters:
 flexRam- This should not be set outside of the YellowDog Compute service.
 - 
toString
 - 
equals
 - 
canEqual
 - 
hashCode
 
 -