Class BatchDeleteAgentError
- java.lang.Object
-
- software.amazon.awssdk.services.applicationdiscovery.model.BatchDeleteAgentError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchDeleteAgentError.Builder,BatchDeleteAgentError>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchDeleteAgentError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringagentId()The ID of the agent or data collector to delete.static BatchDeleteAgentError.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)DeleteAgentErrorCodeerrorCode()The type of error that occurred for the delete failed agent.StringerrorCodeAsString()The type of error that occurred for the delete failed agent.StringerrorMessage()The description of the error that occurred for the delete failed agent.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends BatchDeleteAgentError.Builder>serializableBuilderClass()BatchDeleteAgentError.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
-
agentId
public final String agentId()
The ID of the agent or data collector to delete.
- Returns:
- The ID of the agent or data collector to delete.
-
errorMessage
public final String errorMessage()
The description of the error that occurred for the delete failed agent.
- Returns:
- The description of the error that occurred for the delete failed agent.
-
errorCode
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,
errorCodewill returnDeleteAgentErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR.
- See Also:
DeleteAgentErrorCode
-
errorCodeAsString
public 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,
errorCodewill returnDeleteAgentErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR.
- See Also:
DeleteAgentErrorCode
-
toBuilder
public BatchDeleteAgentError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchDeleteAgentError.Builder,BatchDeleteAgentError>
-
builder
public static BatchDeleteAgentError.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchDeleteAgentError.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.
-
-