Class NodeDetails
java.lang.Object
co.yellowdog.platform.model.NodeDetails
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeDetails.Builderbuilder()protected booleanbooleanThe hostname of the instance.The ID of the node's instance.The instance type of the instance.The slot number of this node within its node type if slot numbering has been configured.The node type of this node if node types have been configured.The private IP address of the instance.The provider of the node's instance.The public IP address of the instance.getRam()The amount of RAM in GB on the node's instance.The region in which the node's instance is running.The name of the compute source from which the node's instance was provisioned.The number of the compute source based on its order within the parent compute requirement.The task types supported by this node.getVcpus()The number of processors (threads) on the node's instance.An optional tag value that can be used to constrain worker allocation.inthashCode()voidsetHostname(String hostname) The hostname of the instance.voidsetInstanceId(String instanceId) The ID of the node's instance.voidsetInstanceType(String instanceType) The instance type of the instance.voidsetNodeSlot(Integer nodeSlot) The slot number of this node within its node type if slot numbering has been configured.voidsetNodeType(String nodeType) The node type of this node if node types have been configured.voidsetPrivateIpAddress(String privateIpAddress) The private IP address of the instance.voidsetProvider(CloudProvider provider) The provider of the node's instance.voidsetPublicIpAddress(String publicIpAddress) The public IP address of the instance.voidThe amount of RAM in GB on the node's instance.voidThe region in which the node's instance is running.voidsetSourceName(String sourceName) The name of the compute source from which the node's instance was provisioned.voidsetSourceNumber(Integer sourceNumber) The number of the compute source based on its order within the parent compute requirement.voidsetSupportedTaskTypes(List<@NotBlank String> supportedTaskTypes) The task types supported by this node.voidThe number of processors (threads) on the node's instance.voidsetWorkerTag(String workerTag) An optional tag value that can be used to constrain worker allocation.toString()
-
Method Details
-
builder
-
getInstanceId
-
getProvider
The provider of the node's instance.- Returns:
- the provider of the node's instance
-
getRegion
-
getSourceName
The name of the compute source from which the node's instance was provisioned.- Returns:
- the compute source name
-
getSourceNumber
The number of the compute source based on its order within the parent compute requirement.- Returns:
- the compute source number
-
getInstanceType
-
getHostname
-
getPrivateIpAddress
The private IP address of the instance.- Returns:
- the private IP address
-
getPublicIpAddress
The public IP address of the instance.- Returns:
- the public IP address
-
getVcpus
The number of processors (threads) on the node's instance.- Returns:
- the number of processors
-
getRam
The amount of RAM in GB on the node's instance.- Returns:
- the amount of RAM in GB
-
getSupportedTaskTypes
-
getWorkerTag
An optional tag value that can be used to constrain worker allocation.- Returns:
- an optional tag value
-
getNodeType
The node type of this node if node types have been configured.- Returns:
- the node type of this node (can be null)
-
getNodeSlot
The slot number of this node within its node type if slot numbering has been configured.- Returns:
- the slot number of this node within its node type (can be null)
-
setInstanceId
The ID of the node's instance.- Parameters:
instanceId- the ID of the node's instance
-
setProvider
The provider of the node's instance.- Parameters:
provider- the provider of the node's instance
-
setRegion
The region in which the node's instance is running.- Parameters:
region- the region
-
setSourceName
The name of the compute source from which the node's instance was provisioned.- Parameters:
sourceName- the compute source name
-
setSourceNumber
The number of the compute source based on its order within the parent compute requirement.- Parameters:
sourceNumber- the compute source number
-
setInstanceType
The instance type of the instance.- Parameters:
instanceType- the instance type
-
setHostname
The hostname of the instance.- Parameters:
hostname- the hostname
-
setPrivateIpAddress
The private IP address of the instance.- Parameters:
privateIpAddress- the private IP address
-
setPublicIpAddress
The public IP address of the instance.- Parameters:
publicIpAddress- the public IP address
-
setVcpus
The number of processors (threads) on the node's instance.- Parameters:
vcpus- the number of processors
-
setRam
The amount of RAM in GB on the node's instance.- Parameters:
ram- the amount of RAM in GB
-
setSupportedTaskTypes
-
setWorkerTag
An optional tag value that can be used to constrain worker allocation.- Parameters:
workerTag- an optional tag value
-
setNodeType
The node type of this node if node types have been configured.- Parameters:
nodeType- the node type of this node
-
setNodeSlot
The slot number of this node within its node type if slot numbering has been configured.- Parameters:
nodeSlot- the slot number of this node within its node type
-
equals
-
canEqual
-
hashCode
-
toString
-