@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailedRemediationExceptionBatch extends Object implements Serializable, Cloneable, StructuredPojo
List of each of the failed remediation exceptions with specific reasons.
Constructor and Description |
---|
FailedRemediationExceptionBatch() |
Modifier and Type | Method and Description |
---|---|
FailedRemediationExceptionBatch |
clone() |
boolean |
equals(Object obj) |
List<RemediationException> |
getFailedItems()
Returns remediation exception resource key object of the failed items.
|
String |
getFailureMessage()
Returns a failure message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailedItems(Collection<RemediationException> failedItems)
Returns remediation exception resource key object of the failed items.
|
void |
setFailureMessage(String failureMessage)
Returns a failure message.
|
String |
toString()
Returns a string representation of this object.
|
FailedRemediationExceptionBatch |
withFailedItems(Collection<RemediationException> failedItems)
Returns remediation exception resource key object of the failed items.
|
FailedRemediationExceptionBatch |
withFailedItems(RemediationException... failedItems)
Returns remediation exception resource key object of the failed items.
|
FailedRemediationExceptionBatch |
withFailureMessage(String failureMessage)
Returns a failure message.
|
public void setFailureMessage(String failureMessage)
Returns a failure message. For example, the auto-remediation has failed.
failureMessage
- Returns a failure message. For example, the auto-remediation has failed.public String getFailureMessage()
Returns a failure message. For example, the auto-remediation has failed.
public FailedRemediationExceptionBatch withFailureMessage(String failureMessage)
Returns a failure message. For example, the auto-remediation has failed.
failureMessage
- Returns a failure message. For example, the auto-remediation has failed.public List<RemediationException> getFailedItems()
Returns remediation exception resource key object of the failed items.
public void setFailedItems(Collection<RemediationException> failedItems)
Returns remediation exception resource key object of the failed items.
failedItems
- Returns remediation exception resource key object of the failed items.public FailedRemediationExceptionBatch withFailedItems(RemediationException... failedItems)
Returns remediation exception resource key object of the failed items.
NOTE: This method appends the values to the existing list (if any). Use
setFailedItems(java.util.Collection)
or withFailedItems(java.util.Collection)
if you want to
override the existing values.
failedItems
- Returns remediation exception resource key object of the failed items.public FailedRemediationExceptionBatch withFailedItems(Collection<RemediationException> failedItems)
Returns remediation exception resource key object of the failed items.
failedItems
- Returns remediation exception resource key object of the failed items.public String toString()
toString
in class Object
Object.toString()
public FailedRemediationExceptionBatch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.