Interface RegisterComputeNodeGroupInstanceResponse.Builder

  • Method Details

    • nodeID

      The scheduler node ID for this instance.

      Parameters:
      nodeID - The scheduler node ID for this instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sharedSecret

      For the Slurm scheduler, this is the shared Munge key the scheduler uses to authenticate compute node group instances.

      Parameters:
      sharedSecret - For the Slurm scheduler, this is the shared Munge key the scheduler uses to authenticate compute node group instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoints

      The list of endpoints available for interaction with the scheduler.

      Parameters:
      endpoints - The list of endpoints available for interaction with the scheduler.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoints

      The list of endpoints available for interaction with the scheduler.

      Parameters:
      endpoints - The list of endpoints available for interaction with the scheduler.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoints

      The list of endpoints available for interaction with the scheduler.

      This is a convenience method that creates an instance of the Endpoint.Builder avoiding the need to create one manually via Endpoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to endpoints(List<Endpoint>).

      Parameters:
      endpoints - a consumer that will call methods on Endpoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clusterName

      The name of the cluster that the compute node registered into.

      Parameters:
      clusterName - The name of the cluster that the compute node registered into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeNodeGroupId

      RegisterComputeNodeGroupInstanceResponse.Builder computeNodeGroupId(String computeNodeGroupId)

      The ID of the compute node group that the compute node registered into.

      Parameters:
      computeNodeGroupId - The ID of the compute node group that the compute node registered into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeNodeGroupName

      RegisterComputeNodeGroupInstanceResponse.Builder computeNodeGroupName(String computeNodeGroupName)

      The name of the compute node group that the compute node registered into.

      Parameters:
      computeNodeGroupName - The name of the compute node group that the compute node registered into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeLifecycleActions

      RegisterComputeNodeGroupInstanceResponse.Builder nodeLifecycleActions(NodeLifecycleActions nodeLifecycleActions)

      The node lifecycle actions configured for the node group, including scripts to run when a compute node finishes bootstrapping or becomes ready to accept jobs.

      Parameters:
      nodeLifecycleActions - The node lifecycle actions configured for the node group, including scripts to run when a compute node finishes bootstrapping or becomes ready to accept jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeLifecycleActions

      default RegisterComputeNodeGroupInstanceResponse.Builder nodeLifecycleActions(Consumer<NodeLifecycleActions.Builder> nodeLifecycleActions)

      The node lifecycle actions configured for the node group, including scripts to run when a compute node finishes bootstrapping or becomes ready to accept jobs.

      This is a convenience method that creates an instance of the NodeLifecycleActions.Builder avoiding the need to create one manually via NodeLifecycleActions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to nodeLifecycleActions(NodeLifecycleActions).

      Parameters:
      nodeLifecycleActions - a consumer that will call methods on NodeLifecycleActions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • schedulerVersion

      RegisterComputeNodeGroupInstanceResponse.Builder schedulerVersion(String schedulerVersion)

      The scheduler version that the cluster is running. A compute node uses this value to run the matching scheduler version.

      Parameters:
      schedulerVersion - The scheduler version that the cluster is running. A compute node uses this value to run the matching scheduler version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.