Interface MoveClusterNodesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<MoveClusterNodesResponse.Builder,,MoveClusterNodesResponse> SageMakerResponse.Builder,SdkBuilder<MoveClusterNodesResponse.Builder,,MoveClusterNodesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
MoveClusterNodesResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailed(Collection<MoveClusterNodesError> failed) The instance IDs that could not be moved, each with an error code and message.failed(Consumer<MoveClusterNodesError.Builder>... failed) The instance IDs that could not be moved, each with an error code and message.failed(MoveClusterNodesError... failed) The instance IDs that could not be moved, each with an error code and message.failedNodeLogicalIds(Collection<MoveClusterNodeLogicalIdsError> failedNodeLogicalIds) TheNodeLogicalIdsthat could not be moved, each with an error code and message.failedNodeLogicalIds(Consumer<MoveClusterNodeLogicalIdsError.Builder>... failedNodeLogicalIds) TheNodeLogicalIdsthat could not be moved, each with an error code and message.failedNodeLogicalIds(MoveClusterNodeLogicalIdsError... failedNodeLogicalIds) TheNodeLogicalIdsthat could not be moved, each with an error code and message.successful(String... successful) This list contains the instance IDs of the nodes that were accepted for the move.successful(Collection<String> successful) This list contains the instance IDs of the nodes that were accepted for the move.successfulNodeLogicalIds(String... successfulNodeLogicalIds) TheNodeLogicalIdsof the nodes that were accepted for the move.successfulNodeLogicalIds(Collection<String> successfulNodeLogicalIds) TheNodeLogicalIdsof the nodes that were accepted for the move.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
This list contains the instance IDs of the nodes that were accepted for the move. The response includes this list when you specify
NodeIdsorInstanceCount.- Parameters:
successful- This list contains the instance IDs of the nodes that were accepted for the move. The response includes this list when you specifyNodeIdsorInstanceCount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
This list contains the instance IDs of the nodes that were accepted for the move. The response includes this list when you specify
NodeIdsorInstanceCount.- Parameters:
successful- This list contains the instance IDs of the nodes that were accepted for the move. The response includes this list when you specifyNodeIdsorInstanceCount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
The instance IDs that could not be moved, each with an error code and message. The response includes this list when you specify
NodeIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.- Parameters:
failed- The instance IDs that could not be moved, each with an error code and message. The response includes this list when you specifyNodeIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
The instance IDs that could not be moved, each with an error code and message. The response includes this list when you specify
NodeIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.- Parameters:
failed- The instance IDs that could not be moved, each with an error code and message. The response includes this list when you specifyNodeIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
The instance IDs that could not be moved, each with an error code and message. The response includes this list when you specify
This is a convenience method that creates an instance of theNodeIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.MoveClusterNodesError.Builderavoiding the need to create one manually viaMoveClusterNodesError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<MoveClusterNodesError>).- Parameters:
failed- a consumer that will call methods onMoveClusterNodesError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
successfulNodeLogicalIds
MoveClusterNodesResponse.Builder successfulNodeLogicalIds(Collection<String> successfulNodeLogicalIds) The
NodeLogicalIdsof the nodes that were accepted for the move. The response includes this list when you specifyNodeLogicalIds.- Parameters:
successfulNodeLogicalIds- TheNodeLogicalIdsof the nodes that were accepted for the move. The response includes this list when you specifyNodeLogicalIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulNodeLogicalIds
The
NodeLogicalIdsof the nodes that were accepted for the move. The response includes this list when you specifyNodeLogicalIds.- Parameters:
successfulNodeLogicalIds- TheNodeLogicalIdsof the nodes that were accepted for the move. The response includes this list when you specifyNodeLogicalIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedNodeLogicalIds
MoveClusterNodesResponse.Builder failedNodeLogicalIds(Collection<MoveClusterNodeLogicalIdsError> failedNodeLogicalIds) The
NodeLogicalIdsthat could not be moved, each with an error code and message. The response includes this list when you specifyNodeLogicalIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.- Parameters:
failedNodeLogicalIds- TheNodeLogicalIdsthat could not be moved, each with an error code and message. The response includes this list when you specifyNodeLogicalIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedNodeLogicalIds
MoveClusterNodesResponse.Builder failedNodeLogicalIds(MoveClusterNodeLogicalIdsError... failedNodeLogicalIds) The
NodeLogicalIdsthat could not be moved, each with an error code and message. The response includes this list when you specifyNodeLogicalIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.- Parameters:
failedNodeLogicalIds- TheNodeLogicalIdsthat could not be moved, each with an error code and message. The response includes this list when you specifyNodeLogicalIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedNodeLogicalIds
MoveClusterNodesResponse.Builder failedNodeLogicalIds(Consumer<MoveClusterNodeLogicalIdsError.Builder>... failedNodeLogicalIds) The
This is a convenience method that creates an instance of theNodeLogicalIdsthat could not be moved, each with an error code and message. The response includes this list when you specifyNodeLogicalIds. If none of the specified nodes can be moved, the request fails and no nodes are moved.MoveClusterNodeLogicalIdsError.Builderavoiding the need to create one manually viaMoveClusterNodeLogicalIdsError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedNodeLogicalIds(List<MoveClusterNodeLogicalIdsError>).- Parameters:
failedNodeLogicalIds- a consumer that will call methods onMoveClusterNodeLogicalIdsError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-