Class AwsInstance
java.lang.Object
co.yellowdog.platform.model.Instance
co.yellowdog.platform.model.AwsInstance
- All Implemented Interfaces:
Serializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe AWS EC2 instance lifecycle value for this instance.inthashCode()voidsetInstanceLifecycle(String instanceLifecycle) The AWS EC2 instance lifecycle value for this instance.toString()Methods inherited from class 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, setSubregionModifier and TypeMethodDescriptionThe date and time when this instance was first created.The hostname of this instance.getId()The unique identifier for this instance formed from the YellowDog Compute Source ID and the provider supplied instance IDThe machine image ID used for this instance.The machine type of this instance.The private IP address of this instance.The cloud provider that supplies this instance.The public IP address of this instance.The region where this instance is provisioned.The status of this instance.The date and time when the status last changedThe subregion where this instance is provisioned.booleanisSpot()Indicates if this instance was provisioned via spot pricing vs on-demand.voidsetCreatedTime(Instant createdTime) The date and time when this instance was first created.voidsetHostname(String hostname) The hostname of this instance.voidsetId(InstanceId id) The unique identifier for this instance formed from the YellowDog Compute Source ID and the provider supplied instance IDvoidsetImageId(String imageId) The machine image ID used for this instance.voidsetInstanceType(String instanceType) The machine type of this instance.voidsetPrivateIpAddress(String privateIpAddress) The private IP address of this instance.voidsetProvider(CloudProvider provider) The cloud provider that supplies this instance.voidsetPublicIpAddress(String publicIpAddress) The public IP address of this instance.voidThe region where this instance is provisioned.voidsetSpot(boolean spot) Indicates if this instance was provisioned via spot pricing vs on-demand.voidsetStatus(InstanceStatus status) The status of this instance.voidsetStatusChangedTime(Instant statusChangedTime) The date and time when the status last changedvoidsetSubregion(String subregion) The subregion where this instance is provisioned.
-
Constructor Details
-
AwsInstance
public AwsInstance()
-
-
Method Details
-
getInstanceLifecycle
The AWS EC2 instance lifecycle value for this instance.- Returns:
- the AWS EC2 instance lifecycle value for this instance
-
setInstanceLifecycle
The AWS EC2 instance lifecycle value for this instance.- Parameters:
instanceLifecycle- This should not be set outside of the YellowDog Compute service.
-
toString
-
equals
-
canEqual
-
hashCode
-