@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeleteAgentError extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the agent or data collector that failed to delete, each containing agentId, errorMessage, and errorCode.
Constructor and Description |
---|
BatchDeleteAgentError() |
Modifier and Type | Method and Description |
---|---|
BatchDeleteAgentError |
clone() |
boolean |
equals(Object obj) |
String |
getAgentId()
The ID of the agent or data collector to delete.
|
String |
getErrorCode()
The type of error that occurred for the delete failed agent.
|
String |
getErrorMessage()
The description of the error that occurred for the delete failed agent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAgentId(String agentId)
The ID of the agent or data collector to delete.
|
void |
setErrorCode(String errorCode)
The type of error that occurred for the delete failed agent.
|
void |
setErrorMessage(String errorMessage)
The description of the error that occurred for the delete failed agent.
|
String |
toString()
Returns a string representation of this object.
|
BatchDeleteAgentError |
withAgentId(String agentId)
The ID of the agent or data collector to delete.
|
BatchDeleteAgentError |
withErrorCode(DeleteAgentErrorCode errorCode)
The type of error that occurred for the delete failed agent.
|
BatchDeleteAgentError |
withErrorCode(String errorCode)
The type of error that occurred for the delete failed agent.
|
BatchDeleteAgentError |
withErrorMessage(String errorMessage)
The description of the error that occurred for the delete failed agent.
|
public void setAgentId(String agentId)
The ID of the agent or data collector to delete.
agentId
- The ID of the agent or data collector to delete.public String getAgentId()
The ID of the agent or data collector to delete.
public BatchDeleteAgentError withAgentId(String agentId)
The ID of the agent or data collector to delete.
agentId
- The ID of the agent or data collector to delete.public void setErrorMessage(String errorMessage)
The description of the error that occurred for the delete failed agent.
errorMessage
- The description of the error that occurred for the delete failed agent.public String getErrorMessage()
The description of the error that occurred for the delete failed agent.
public BatchDeleteAgentError withErrorMessage(String errorMessage)
The description of the error that occurred for the delete failed agent.
errorMessage
- The description of the error that occurred for the delete failed agent.public void setErrorCode(String errorCode)
The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR.
errorCode
- The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND |
INTERNAL_SERVER_ERROR.DeleteAgentErrorCode
public String getErrorCode()
The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR.
DeleteAgentErrorCode
public BatchDeleteAgentError withErrorCode(String errorCode)
The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR.
errorCode
- The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND |
INTERNAL_SERVER_ERROR.DeleteAgentErrorCode
public BatchDeleteAgentError withErrorCode(DeleteAgentErrorCode errorCode)
The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR.
errorCode
- The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND |
INTERNAL_SERVER_ERROR.DeleteAgentErrorCode
public String toString()
toString
in class Object
Object.toString()
public BatchDeleteAgentError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.