@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchAcknowledgeAlarmResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchAcknowledgeAlarmResult() |
Modifier and Type | Method and Description |
---|---|
BatchAcknowledgeAlarmResult |
clone() |
boolean |
equals(Object obj) |
List<BatchAlarmActionErrorEntry> |
getErrorEntries()
A list of errors associated with the request, or
null if there are no errors. |
int |
hashCode() |
void |
setErrorEntries(Collection<BatchAlarmActionErrorEntry> errorEntries)
A list of errors associated with the request, or
null if there are no errors. |
String |
toString()
Returns a string representation of this object.
|
BatchAcknowledgeAlarmResult |
withErrorEntries(BatchAlarmActionErrorEntry... errorEntries)
A list of errors associated with the request, or
null if there are no errors. |
BatchAcknowledgeAlarmResult |
withErrorEntries(Collection<BatchAlarmActionErrorEntry> errorEntries)
A list of errors associated with the request, or
null if there are no errors. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BatchAlarmActionErrorEntry> getErrorEntries()
A list of errors associated with the request, or null
if there are no errors. Each error entry
contains an entry ID that helps you identify the entry that failed.
null
if there are no errors. Each error
entry contains an entry ID that helps you identify the entry that failed.public void setErrorEntries(Collection<BatchAlarmActionErrorEntry> errorEntries)
A list of errors associated with the request, or null
if there are no errors. Each error entry
contains an entry ID that helps you identify the entry that failed.
errorEntries
- A list of errors associated with the request, or null
if there are no errors. Each error
entry contains an entry ID that helps you identify the entry that failed.public BatchAcknowledgeAlarmResult withErrorEntries(BatchAlarmActionErrorEntry... errorEntries)
A list of errors associated with the request, or null
if there are no errors. Each error entry
contains an entry ID that helps you identify the entry that failed.
NOTE: This method appends the values to the existing list (if any). Use
setErrorEntries(java.util.Collection)
or withErrorEntries(java.util.Collection)
if you want to
override the existing values.
errorEntries
- A list of errors associated with the request, or null
if there are no errors. Each error
entry contains an entry ID that helps you identify the entry that failed.public BatchAcknowledgeAlarmResult withErrorEntries(Collection<BatchAlarmActionErrorEntry> errorEntries)
A list of errors associated with the request, or null
if there are no errors. Each error entry
contains an entry ID that helps you identify the entry that failed.
errorEntries
- A list of errors associated with the request, or null
if there are no errors. Each error
entry contains an entry ID that helps you identify the entry that failed.public String toString()
toString
in class Object
Object.toString()
public BatchAcknowledgeAlarmResult clone()