@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleUpdateFailure extends Object implements Serializable, Cloneable, StructuredPojo
Describes a rule update that failed.
Constructor and Description |
---|
RuleUpdateFailure() |
Modifier and Type | Method and Description |
---|---|
RuleUpdateFailure |
clone() |
boolean |
equals(Object obj) |
String |
getFailureCode()
The failure code.
|
String |
getFailureMessage()
The failure message.
|
String |
getRuleIdentifier()
The ID or Amazon Resource Name (ARN) of the rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailureCode(String failureCode)
The failure code.
|
void |
setFailureMessage(String failureMessage)
The failure message.
|
void |
setRuleIdentifier(String ruleIdentifier)
The ID or Amazon Resource Name (ARN) of the rule.
|
String |
toString()
Returns a string representation of this object.
|
RuleUpdateFailure |
withFailureCode(String failureCode)
The failure code.
|
RuleUpdateFailure |
withFailureMessage(String failureMessage)
The failure message.
|
RuleUpdateFailure |
withRuleIdentifier(String ruleIdentifier)
The ID or Amazon Resource Name (ARN) of the rule.
|
public void setFailureCode(String failureCode)
The failure code.
failureCode
- The failure code.public String getFailureCode()
The failure code.
public RuleUpdateFailure withFailureCode(String failureCode)
The failure code.
failureCode
- The failure code.public void setFailureMessage(String failureMessage)
The failure message.
failureMessage
- The failure message.public String getFailureMessage()
The failure message.
public RuleUpdateFailure withFailureMessage(String failureMessage)
The failure message.
failureMessage
- The failure message.public void setRuleIdentifier(String ruleIdentifier)
The ID or Amazon Resource Name (ARN) of the rule.
ruleIdentifier
- The ID or Amazon Resource Name (ARN) of the rule.public String getRuleIdentifier()
The ID or Amazon Resource Name (ARN) of the rule.
public RuleUpdateFailure withRuleIdentifier(String ruleIdentifier)
The ID or Amazon Resource Name (ARN) of the rule.
ruleIdentifier
- The ID or Amazon Resource Name (ARN) of the rule.public String toString()
toString
in class Object
Object.toString()
public RuleUpdateFailure clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.