Interface BatchRebootClusterNodesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchRebootClusterNodesResponse.Builder,,BatchRebootClusterNodesResponse> SageMakerResponse.Builder,SdkBuilder<BatchRebootClusterNodesResponse.Builder,,BatchRebootClusterNodesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchRebootClusterNodesResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailed(Collection<BatchRebootClusterNodesError> failed) A list of errors encountered for EC2 instance IDs that could not be rebooted.failed(Consumer<BatchRebootClusterNodesError.Builder>... failed) A list of errors encountered for EC2 instance IDs that could not be rebooted.failed(BatchRebootClusterNodesError... failed) A list of errors encountered for EC2 instance IDs that could not be rebooted.failedNodeLogicalIds(Collection<BatchRebootClusterNodeLogicalIdsError> failedNodeLogicalIds) A list of errors encountered for logical node IDs that could not be rebooted.failedNodeLogicalIds(Consumer<BatchRebootClusterNodeLogicalIdsError.Builder>... failedNodeLogicalIds) A list of errors encountered for logical node IDs that could not be rebooted.failedNodeLogicalIds(BatchRebootClusterNodeLogicalIdsError... failedNodeLogicalIds) A list of errors encountered for logical node IDs that could not be rebooted.successful(String... successful) A list of EC2 instance IDs for which the reboot operation was successfully initiated.successful(Collection<String> successful) A list of EC2 instance IDs for which the reboot operation was successfully initiated.successfulNodeLogicalIds(String... successfulNodeLogicalIds) A list of logical node IDs for which the reboot operation was successfully initiated.successfulNodeLogicalIds(Collection<String> successfulNodeLogicalIds) A list of logical node IDs for which the reboot operation was successfully initiated.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 EC2 instance IDs for which the reboot operation was successfully initiated.
- Parameters:
successful- A list of EC2 instance IDs for which the reboot operation was successfully initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of EC2 instance IDs for which the reboot operation was successfully initiated.
- Parameters:
successful- A list of EC2 instance IDs for which the reboot operation was successfully initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of errors encountered for EC2 instance IDs that could not be rebooted. Each error includes the instance ID, an error code, and a descriptive message.
- Parameters:
failed- A list of errors encountered for EC2 instance IDs that could not be rebooted. Each error includes the instance ID, an error code, and a descriptive message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of errors encountered for EC2 instance IDs that could not be rebooted. Each error includes the instance ID, an error code, and a descriptive message.
- Parameters:
failed- A list of errors encountered for EC2 instance IDs that could not be rebooted. Each error includes the instance ID, an error code, and a descriptive message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
BatchRebootClusterNodesResponse.Builder failed(Consumer<BatchRebootClusterNodesError.Builder>... failed) A list of errors encountered for EC2 instance IDs that could not be rebooted. Each error includes the instance ID, an error code, and a descriptive message.
This is a convenience method that creates an instance of theBatchRebootClusterNodesError.Builderavoiding the need to create one manually viaBatchRebootClusterNodesError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<BatchRebootClusterNodesError>).- Parameters:
failed- a consumer that will call methods onBatchRebootClusterNodesError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failedNodeLogicalIds
BatchRebootClusterNodesResponse.Builder failedNodeLogicalIds(Collection<BatchRebootClusterNodeLogicalIdsError> failedNodeLogicalIds) A list of errors encountered for logical node IDs that could not be rebooted. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present when
NodeLogicalIdswere provided in the request.- Parameters:
failedNodeLogicalIds- A list of errors encountered for logical node IDs that could not be rebooted. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present whenNodeLogicalIdswere provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedNodeLogicalIds
BatchRebootClusterNodesResponse.Builder failedNodeLogicalIds(BatchRebootClusterNodeLogicalIdsError... failedNodeLogicalIds) A list of errors encountered for logical node IDs that could not be rebooted. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present when
NodeLogicalIdswere provided in the request.- Parameters:
failedNodeLogicalIds- A list of errors encountered for logical node IDs that could not be rebooted. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present whenNodeLogicalIdswere provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedNodeLogicalIds
BatchRebootClusterNodesResponse.Builder failedNodeLogicalIds(Consumer<BatchRebootClusterNodeLogicalIdsError.Builder>... failedNodeLogicalIds) A list of errors encountered for logical node IDs that could not be rebooted. Each error includes the logical node ID, an error code, and a descriptive message. This field is only present when
This is a convenience method that creates an instance of theNodeLogicalIdswere provided in the request.BatchRebootClusterNodeLogicalIdsError.Builderavoiding the need to create one manually viaBatchRebootClusterNodeLogicalIdsError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedNodeLogicalIds(List<BatchRebootClusterNodeLogicalIdsError>).- Parameters:
failedNodeLogicalIds- a consumer that will call methods onBatchRebootClusterNodeLogicalIdsError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
successfulNodeLogicalIds
BatchRebootClusterNodesResponse.Builder successfulNodeLogicalIds(Collection<String> successfulNodeLogicalIds) A list of logical node IDs for which the reboot operation was successfully initiated. This field is only present when
NodeLogicalIdswere provided in the request.- Parameters:
successfulNodeLogicalIds- A list of logical node IDs for which the reboot operation was successfully initiated. This field is only present whenNodeLogicalIdswere provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulNodeLogicalIds
BatchRebootClusterNodesResponse.Builder successfulNodeLogicalIds(String... successfulNodeLogicalIds) A list of logical node IDs for which the reboot operation was successfully initiated. This field is only present when
NodeLogicalIdswere provided in the request.- Parameters:
successfulNodeLogicalIds- A list of logical node IDs for which the reboot operation was successfully initiated. This field is only present whenNodeLogicalIdswere provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-