@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeleteAgentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchDeleteAgentsResult() |
Modifier and Type | Method and Description |
---|---|
BatchDeleteAgentsResult |
clone() |
boolean |
equals(Object obj) |
List<BatchDeleteAgentError> |
getErrors()
A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
|
int |
hashCode() |
void |
setErrors(Collection<BatchDeleteAgentError> errors)
A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
|
String |
toString()
Returns a string representation of this object.
|
BatchDeleteAgentsResult |
withErrors(BatchDeleteAgentError... errors)
A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
|
BatchDeleteAgentsResult |
withErrors(Collection<BatchDeleteAgentError> errors)
A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BatchDeleteAgentError> getErrors()
A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
public void setErrors(Collection<BatchDeleteAgentError> errors)
A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
errors
- A list of agent IDs that failed to delete during the deletion task, each paired with an error message.public BatchDeleteAgentsResult withErrors(BatchDeleteAgentError... errors)
A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- A list of agent IDs that failed to delete during the deletion task, each paired with an error message.public BatchDeleteAgentsResult withErrors(Collection<BatchDeleteAgentError> errors)
A list of agent IDs that failed to delete during the deletion task, each paired with an error message.
errors
- A list of agent IDs that failed to delete during the deletion task, each paired with an error message.public String toString()
toString
in class Object
Object.toString()
public BatchDeleteAgentsResult clone()