Interface BatchAddClusterNodesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchAddClusterNodesResponse.Builder,,BatchAddClusterNodesResponse> SageMakerResponse.Builder,SdkBuilder<BatchAddClusterNodesResponse.Builder,,BatchAddClusterNodesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchAddClusterNodesResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailed(Collection<BatchAddClusterNodesError> failed) A list of errors that occurred during the node addition operation.failed(Consumer<BatchAddClusterNodesError.Builder>... failed) A list of errors that occurred during the node addition operation.failed(BatchAddClusterNodesError... failed) A list of errors that occurred during the node addition operation.successful(Collection<NodeAdditionResult> successful) A list ofNodeLogicalIDsthat were successfully added to the cluster.successful(Consumer<NodeAdditionResult.Builder>... successful) A list ofNodeLogicalIDsthat were successfully added to the cluster.successful(NodeAdditionResult... successful) A list ofNodeLogicalIDsthat were successfully added to the cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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
-
successful
A list of
NodeLogicalIDsthat were successfully added to the cluster. TheNodeLogicalIDis unique per cluster and does not change between instance replacements. Each entry includes aNodeLogicalIdthat can be used to track the node's provisioning status (withDescribeClusterNode), the instance group name, and the current status of the node.- Parameters:
successful- A list ofNodeLogicalIDsthat were successfully added to the cluster. TheNodeLogicalIDis unique per cluster and does not change between instance replacements. Each entry includes aNodeLogicalIdthat can be used to track the node's provisioning status (withDescribeClusterNode), the instance group name, and the current status of the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of
NodeLogicalIDsthat were successfully added to the cluster. TheNodeLogicalIDis unique per cluster and does not change between instance replacements. Each entry includes aNodeLogicalIdthat can be used to track the node's provisioning status (withDescribeClusterNode), the instance group name, and the current status of the node.- Parameters:
successful- A list ofNodeLogicalIDsthat were successfully added to the cluster. TheNodeLogicalIDis unique per cluster and does not change between instance replacements. Each entry includes aNodeLogicalIdthat can be used to track the node's provisioning status (withDescribeClusterNode), the instance group name, and the current status of the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of
This is a convenience method that creates an instance of theNodeLogicalIDsthat were successfully added to the cluster. TheNodeLogicalIDis unique per cluster and does not change between instance replacements. Each entry includes aNodeLogicalIdthat can be used to track the node's provisioning status (withDescribeClusterNode), the instance group name, and the current status of the node.NodeAdditionResult.Builderavoiding the need to create one manually viaNodeAdditionResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<NodeAdditionResult>).- Parameters:
successful- a consumer that will call methods onNodeAdditionResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failed
A list of errors that occurred during the node addition operation. Each entry includes the instance group name, error code, number of failed additions, and an error message.
- Parameters:
failed- A list of errors that occurred during the node addition operation. Each entry includes the instance group name, error code, number of failed additions, and an error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of errors that occurred during the node addition operation. Each entry includes the instance group name, error code, number of failed additions, and an error message.
- Parameters:
failed- A list of errors that occurred during the node addition operation. Each entry includes the instance group name, error code, number of failed additions, and an error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of errors that occurred during the node addition operation. Each entry includes the instance group name, error code, number of failed additions, and an error message.
This is a convenience method that creates an instance of theBatchAddClusterNodesError.Builderavoiding the need to create one manually viaBatchAddClusterNodesError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<BatchAddClusterNodesError>).- Parameters:
failed- a consumer that will call methods onBatchAddClusterNodesError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-