@Generated(value="software.amazon.awssdk:codegen") public final class BatchDeleteAgentError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchDeleteAgentError.Builder,BatchDeleteAgentError>
An object representing the agent or data collector that failed to delete, each containing agentId, errorMessage, and errorCode.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchDeleteAgentError.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
agentId()
The ID of the agent or data collector to delete.
|
static BatchDeleteAgentError.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
DeleteAgentErrorCode |
errorCode()
The type of error that occurred for the delete failed agent.
|
String |
errorCodeAsString()
The type of error that occurred for the delete failed agent.
|
String |
errorMessage()
The description of the error that occurred for the delete failed agent.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchDeleteAgentError.Builder> |
serializableBuilderClass() |
BatchDeleteAgentError.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String agentId()
The ID of the agent or data collector to delete.
public final String errorMessage()
The description of the error that occurred for the delete failed agent.
public final DeleteAgentErrorCode errorCode()
The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return DeleteAgentErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from errorCodeAsString().
DeleteAgentErrorCodepublic final String errorCodeAsString()
The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return DeleteAgentErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from errorCodeAsString().
DeleteAgentErrorCodepublic BatchDeleteAgentError.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchDeleteAgentError.Builder,BatchDeleteAgentError>public static BatchDeleteAgentError.Builder builder()
public static Class<? extends BatchDeleteAgentError.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.