Class NodeDetails.Builder
java.lang.Object
co.yellowdog.platform.model.NodeDetails.Builder
- 
Method SummaryModifier and TypeMethodDescriptionbuild()The hostname of the instance.instanceId(String instanceId) The ID of the node's instance.instanceType(String instanceType) 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.privateIpAddress(String privateIpAddress) The private IP address of the instance.provider(CloudProvider provider) The provider of the node's instance.publicIpAddress(String publicIpAddress) The public IP address of the instance.The amount of RAM in GB on the node's instance.The region in which the node's instance is running.sourceName(String sourceName) The name of the compute source from which the node's instance was provisioned.sourceNumber(Integer sourceNumber) The number of the compute source based on its order within the parent compute requirement.supportedTaskTypes(List<@NotBlank String> supportedTaskTypes) The task types supported by this node.toString()The number of processors (threads) on the node's instance.An optional tag value that can be used to constrain worker allocation.
- 
Method Details- 
instanceIdThe ID of the node's instance.- Parameters:
- instanceId- the ID of the node's instance
- Returns:
- this.
 
- 
providerThe provider of the node's instance.- Parameters:
- provider- the provider of the node's instance
- Returns:
- this.
 
- 
regionThe region in which the node's instance is running.- Parameters:
- region- the region
- Returns:
- this.
 
- 
sourceNameThe name of the compute source from which the node's instance was provisioned.- Parameters:
- sourceName- the compute source name
- Returns:
- this.
 
- 
sourceNumberThe number of the compute source based on its order within the parent compute requirement.- Parameters:
- sourceNumber- the compute source number
- Returns:
- this.
 
- 
instanceTypeThe instance type of the instance.- Parameters:
- instanceType- the instance type
- Returns:
- this.
 
- 
hostnameThe hostname of the instance.- Parameters:
- hostname- the hostname
- Returns:
- this.
 
- 
privateIpAddressThe private IP address of the instance.- Parameters:
- privateIpAddress- the private IP address
- Returns:
- this.
 
- 
publicIpAddressThe public IP address of the instance.- Parameters:
- publicIpAddress- the public IP address
- Returns:
- this.
 
- 
vcpusThe number of processors (threads) on the node's instance.- Parameters:
- vcpus- the number of processors
- Returns:
- this.
 
- 
ramThe amount of RAM in GB on the node's instance.- Parameters:
- ram- the amount of RAM in GB
- Returns:
- this.
 
- 
supportedTaskTypesThe task types supported by this node.- Parameters:
- supportedTaskTypes- the supported task types
- Returns:
- this.
 
- 
workerTagAn optional tag value that can be used to constrain worker allocation.- Parameters:
- workerTag- an optional tag value
- Returns:
- this.
 
- 
nodeTypeThe node type of this node if node types have been configured.- Parameters:
- nodeType- the node type of this node
- Returns:
- this.
 
- 
nodeSlotThe 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
- Returns:
- this.
 
- 
build
- 
toString
 
-