@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PartialFailure extends Object implements Serializable, Cloneable
This array is empty if the API operation was successful for all the rules specified in the request. If the operation could not process one of the rules, the following data is returned for each of those rules.
Constructor and Description |
---|
PartialFailure() |
Modifier and Type | Method and Description |
---|---|
PartialFailure |
clone() |
boolean |
equals(Object obj) |
String |
getExceptionType()
The type of error.
|
String |
getFailureCode()
The code of the error.
|
String |
getFailureDescription()
A description of the error.
|
String |
getFailureResource()
The specified rule that could not be deleted.
|
int |
hashCode() |
void |
setExceptionType(String exceptionType)
The type of error.
|
void |
setFailureCode(String failureCode)
The code of the error.
|
void |
setFailureDescription(String failureDescription)
A description of the error.
|
void |
setFailureResource(String failureResource)
The specified rule that could not be deleted.
|
String |
toString()
Returns a string representation of this object.
|
PartialFailure |
withExceptionType(String exceptionType)
The type of error.
|
PartialFailure |
withFailureCode(String failureCode)
The code of the error.
|
PartialFailure |
withFailureDescription(String failureDescription)
A description of the error.
|
PartialFailure |
withFailureResource(String failureResource)
The specified rule that could not be deleted.
|
public void setFailureResource(String failureResource)
The specified rule that could not be deleted.
failureResource
- The specified rule that could not be deleted.public String getFailureResource()
The specified rule that could not be deleted.
public PartialFailure withFailureResource(String failureResource)
The specified rule that could not be deleted.
failureResource
- The specified rule that could not be deleted.public void setExceptionType(String exceptionType)
The type of error.
exceptionType
- The type of error.public String getExceptionType()
The type of error.
public PartialFailure withExceptionType(String exceptionType)
The type of error.
exceptionType
- The type of error.public void setFailureCode(String failureCode)
The code of the error.
failureCode
- The code of the error.public String getFailureCode()
The code of the error.
public PartialFailure withFailureCode(String failureCode)
The code of the error.
failureCode
- The code of the error.public void setFailureDescription(String failureDescription)
A description of the error.
failureDescription
- A description of the error.public String getFailureDescription()
A description of the error.
public PartialFailure withFailureDescription(String failureDescription)
A description of the error.
failureDescription
- A description of the error.public String toString()
toString
in class Object
Object.toString()
public PartialFailure clone()