Class BatchDeleteClusterNodesError
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.BatchDeleteClusterNodesError
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<BatchDeleteClusterNodesError.Builder,BatchDeleteClusterNodesError>
@Generated("software.amazon.awssdk:codegen") public final class BatchDeleteClusterNodesError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchDeleteClusterNodesError.Builder,BatchDeleteClusterNodesError>
Represents an error encountered when deleting a node from a SageMaker HyperPod cluster.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
BatchDeleteClusterNodesError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchDeleteClusterNodesError.Builder
builder()
BatchDeleteClusterNodesErrorCode
code()
The error code associated with the error encountered when deleting a node.String
codeAsString()
The error code associated with the error encountered when deleting a node.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
message()
A message describing the error encountered when deleting a node.String
nodeId()
The ID of the node that encountered an error during the deletion process.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends BatchDeleteClusterNodesError.Builder>
serializableBuilderClass()
BatchDeleteClusterNodesError.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
code
public final BatchDeleteClusterNodesErrorCode code()
The error code associated with the error encountered when deleting a node.
The code provides information about the specific issue encountered, such as the node not being found, the node's status being invalid for deletion, or the node ID being in use by another process.
If the service returns an enum value that is not available in the current SDK version,
code
will returnBatchDeleteClusterNodesErrorCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcodeAsString()
.- Returns:
- The error code associated with the error encountered when deleting a node.
The code provides information about the specific issue encountered, such as the node not being found, the node's status being invalid for deletion, or the node ID being in use by another process.
- See Also:
BatchDeleteClusterNodesErrorCode
-
codeAsString
public final String codeAsString()
The error code associated with the error encountered when deleting a node.
The code provides information about the specific issue encountered, such as the node not being found, the node's status being invalid for deletion, or the node ID being in use by another process.
If the service returns an enum value that is not available in the current SDK version,
code
will returnBatchDeleteClusterNodesErrorCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcodeAsString()
.- Returns:
- The error code associated with the error encountered when deleting a node.
The code provides information about the specific issue encountered, such as the node not being found, the node's status being invalid for deletion, or the node ID being in use by another process.
- See Also:
BatchDeleteClusterNodesErrorCode
-
message
public final String message()
A message describing the error encountered when deleting a node.
- Returns:
- A message describing the error encountered when deleting a node.
-
nodeId
public final String nodeId()
The ID of the node that encountered an error during the deletion process.
- Returns:
- The ID of the node that encountered an error during the deletion process.
-
toBuilder
public BatchDeleteClusterNodesError.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<BatchDeleteClusterNodesError.Builder,BatchDeleteClusterNodesError>
-
builder
public static BatchDeleteClusterNodesError.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchDeleteClusterNodesError.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-