Class BatchAddClusterNodesError
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.BatchAddClusterNodesError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchAddClusterNodesError.Builder,BatchAddClusterNodesError>
@Generated("software.amazon.awssdk:codegen") public final class BatchAddClusterNodesError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchAddClusterNodesError.Builder,BatchAddClusterNodesError>
Information about an error that occurred during the node addition operation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchAddClusterNodesError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchAddClusterNodesError.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BatchAddClusterNodesErrorCodeerrorCode()The error code associated with the failure.StringerrorCodeAsString()The error code associated with the failure.IntegerfailedCount()The number of nodes that failed to be added to the specified instance group.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceGroupName()The name of the instance group for which the error occurred.Stringmessage()A descriptive message providing additional details about the error.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends BatchAddClusterNodesError.Builder>serializableBuilderClass()BatchAddClusterNodesError.BuildertoBuilder()StringtoString()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
-
instanceGroupName
public final String instanceGroupName()
The name of the instance group for which the error occurred.
- Returns:
- The name of the instance group for which the error occurred.
-
errorCode
public final BatchAddClusterNodesErrorCode errorCode()
The error code associated with the failure. Possible values include
InstanceGroupNotFoundandInvalidInstanceGroupState.If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnBatchAddClusterNodesErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code associated with the failure. Possible values include
InstanceGroupNotFoundandInvalidInstanceGroupState. - See Also:
BatchAddClusterNodesErrorCode
-
errorCodeAsString
public final String errorCodeAsString()
The error code associated with the failure. Possible values include
InstanceGroupNotFoundandInvalidInstanceGroupState.If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnBatchAddClusterNodesErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code associated with the failure. Possible values include
InstanceGroupNotFoundandInvalidInstanceGroupState. - See Also:
BatchAddClusterNodesErrorCode
-
failedCount
public final Integer failedCount()
The number of nodes that failed to be added to the specified instance group.
- Returns:
- The number of nodes that failed to be added to the specified instance group.
-
message
public final String message()
A descriptive message providing additional details about the error.
- Returns:
- A descriptive message providing additional details about the error.
-
toBuilder
public BatchAddClusterNodesError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchAddClusterNodesError.Builder,BatchAddClusterNodesError>
-
builder
public static BatchAddClusterNodesError.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchAddClusterNodesError.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
sdkFieldNameToFieldin interfaceSdkPojo
-
-