@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleResult extends Object implements Serializable, Cloneable, StructuredPojo
The result of a successful Rule request, with status for an individual rule.
Constructor and Description |
---|
RuleResult() |
Modifier and Type | Method and Description |
---|---|
RuleResult |
clone() |
boolean |
equals(Object obj) |
Date |
getLastCheckedTimestamp()
The time the resource was last checked for readiness, in ISO-8601 format, UTC.
|
List<Message> |
getMessages()
Details about the resource's readiness.
|
String |
getReadiness()
The readiness at rule level.
|
String |
getRuleId()
The identifier of the rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastCheckedTimestamp(Date lastCheckedTimestamp)
The time the resource was last checked for readiness, in ISO-8601 format, UTC.
|
void |
setMessages(Collection<Message> messages)
Details about the resource's readiness.
|
void |
setReadiness(String readiness)
The readiness at rule level.
|
void |
setRuleId(String ruleId)
The identifier of the rule.
|
String |
toString()
Returns a string representation of this object.
|
RuleResult |
withLastCheckedTimestamp(Date lastCheckedTimestamp)
The time the resource was last checked for readiness, in ISO-8601 format, UTC.
|
RuleResult |
withMessages(Collection<Message> messages)
Details about the resource's readiness.
|
RuleResult |
withMessages(Message... messages)
Details about the resource's readiness.
|
RuleResult |
withReadiness(Readiness readiness)
The readiness at rule level.
|
RuleResult |
withReadiness(String readiness)
The readiness at rule level.
|
RuleResult |
withRuleId(String ruleId)
The identifier of the rule.
|
public void setLastCheckedTimestamp(Date lastCheckedTimestamp)
The time the resource was last checked for readiness, in ISO-8601 format, UTC.
lastCheckedTimestamp
- The time the resource was last checked for readiness, in ISO-8601 format, UTC.public Date getLastCheckedTimestamp()
The time the resource was last checked for readiness, in ISO-8601 format, UTC.
public RuleResult withLastCheckedTimestamp(Date lastCheckedTimestamp)
The time the resource was last checked for readiness, in ISO-8601 format, UTC.
lastCheckedTimestamp
- The time the resource was last checked for readiness, in ISO-8601 format, UTC.public List<Message> getMessages()
Details about the resource's readiness.
public void setMessages(Collection<Message> messages)
Details about the resource's readiness.
messages
- Details about the resource's readiness.public RuleResult withMessages(Message... messages)
Details about the resource's readiness.
NOTE: This method appends the values to the existing list (if any). Use
setMessages(java.util.Collection)
or withMessages(java.util.Collection)
if you want to override
the existing values.
messages
- Details about the resource's readiness.public RuleResult withMessages(Collection<Message> messages)
Details about the resource's readiness.
messages
- Details about the resource's readiness.public void setReadiness(String readiness)
The readiness at rule level.
readiness
- The readiness at rule level.Readiness
public String getReadiness()
The readiness at rule level.
Readiness
public RuleResult withReadiness(String readiness)
The readiness at rule level.
readiness
- The readiness at rule level.Readiness
public RuleResult withReadiness(Readiness readiness)
The readiness at rule level.
readiness
- The readiness at rule level.Readiness
public void setRuleId(String ruleId)
The identifier of the rule.
ruleId
- The identifier of the rule.public String getRuleId()
The identifier of the rule.
public RuleResult withRuleId(String ruleId)
The identifier of the rule.
ruleId
- The identifier of the rule.public String toString()
toString
in class Object
Object.toString()
public RuleResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.