Interface RegisterComputeNodeGroupInstanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RegisterComputeNodeGroupInstanceResponse.Builder,,RegisterComputeNodeGroupInstanceResponse> PcsResponse.Builder,SdkBuilder<RegisterComputeNodeGroupInstanceResponse.Builder,,RegisterComputeNodeGroupInstanceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RegisterComputeNodeGroupInstanceResponse
-
Method Summary
Modifier and TypeMethodDescriptionclusterName(String clusterName) The name of the cluster that the compute node registered into.computeNodeGroupId(String computeNodeGroupId) The ID of the compute node group that the compute node registered into.computeNodeGroupName(String computeNodeGroupName) The name of the compute node group that the compute node registered into.endpoints(Collection<Endpoint> endpoints) The list of endpoints available for interaction with the scheduler.endpoints(Consumer<Endpoint.Builder>... endpoints) The list of endpoints available for interaction with the scheduler.The list of endpoints available for interaction with the scheduler.The scheduler node ID for this instance.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.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.sharedSecret(String sharedSecret) For the Slurm scheduler, this is the shared Munge key the scheduler uses to authenticate compute node group instances.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pcs.model.PcsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
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 theEndpoint.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpoints(List<Endpoint>).- Parameters:
endpoints- a consumer that will call methods onEndpoint.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
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
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 theNodeLifecycleActions.Builderavoiding the need to create one manually viaNodeLifecycleActions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonodeLifecycleActions(NodeLifecycleActions).- Parameters:
nodeLifecycleActions- a consumer that will call methods onNodeLifecycleActions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-