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 ofNodeLogicalIDs
that were successfully added to the cluster.successful
(Consumer<NodeAdditionResult.Builder>... successful) A list ofNodeLogicalIDs
that were successfully added to the cluster.successful
(NodeAdditionResult... successful) A list ofNodeLogicalIDs
that were successfully added to the cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
successful
A list of
NodeLogicalIDs
that were successfully added to the cluster. TheNodeLogicalID
is unique per cluster and does not change between instance replacements. Each entry includes aNodeLogicalId
that 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 ofNodeLogicalIDs
that were successfully added to the cluster. TheNodeLogicalID
is unique per cluster and does not change between instance replacements. Each entry includes aNodeLogicalId
that 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
NodeLogicalIDs
that were successfully added to the cluster. TheNodeLogicalID
is unique per cluster and does not change between instance replacements. Each entry includes aNodeLogicalId
that 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 ofNodeLogicalIDs
that were successfully added to the cluster. TheNodeLogicalID
is unique per cluster and does not change between instance replacements. Each entry includes aNodeLogicalId
that 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 theNodeLogicalIDs
that were successfully added to the cluster. TheNodeLogicalID
is unique per cluster and does not change between instance replacements. Each entry includes aNodeLogicalId
that can be used to track the node's provisioning status (withDescribeClusterNode
), the instance group name, and the current status of the node.NodeAdditionResult.Builder
avoiding the need to create one manually viaNodeAdditionResult.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaBatchAddClusterNodesError.builder()
.When the
Consumer
completes,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:
-