@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableInsightRulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
EnableInsightRulesResult() |
Modifier and Type | Method and Description |
---|---|
EnableInsightRulesResult |
clone() |
boolean |
equals(Object obj) |
List<PartialFailure> |
getFailures()
An array listing the rules that could not be enabled.
|
int |
hashCode() |
void |
setFailures(Collection<PartialFailure> failures)
An array listing the rules that could not be enabled.
|
String |
toString()
Returns a string representation of this object.
|
EnableInsightRulesResult |
withFailures(Collection<PartialFailure> failures)
An array listing the rules that could not be enabled.
|
EnableInsightRulesResult |
withFailures(PartialFailure... failures)
An array listing the rules that could not be enabled.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PartialFailure> getFailures()
An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.
public void setFailures(Collection<PartialFailure> failures)
An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.
failures
- An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.public EnableInsightRulesResult withFailures(PartialFailure... failures)
An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.
NOTE: This method appends the values to the existing list (if any). Use
setFailures(java.util.Collection)
or withFailures(java.util.Collection)
if you want to override
the existing values.
failures
- An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.public EnableInsightRulesResult withFailures(Collection<PartialFailure> failures)
An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.
failures
- An array listing the rules that could not be enabled. You cannot disable or enable built-in rules.public String toString()
toString
in class Object
Object.toString()
public EnableInsightRulesResult clone()