@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleDetail extends Object implements Serializable, Cloneable, StructuredPojo
The details of the rule.
Constructor and Description |
---|
RuleDetail() |
Modifier and Type | Method and Description |
---|---|
RuleDetail |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The rule ARN.
|
String |
getCreatedTime()
The timestamp of when the rule was created.
|
String |
getDescription()
The rule description.
|
String |
getDetectorId()
The detector for which the rule is associated.
|
String |
getExpression()
The rule expression.
|
String |
getLanguage()
The rule language.
|
String |
getLastUpdatedTime()
Timestamp of the last time the rule was updated.
|
List<String> |
getOutcomes()
The rule outcomes.
|
String |
getRuleId()
The rule ID.
|
String |
getRuleVersion()
The rule version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The rule ARN.
|
void |
setCreatedTime(String createdTime)
The timestamp of when the rule was created.
|
void |
setDescription(String description)
The rule description.
|
void |
setDetectorId(String detectorId)
The detector for which the rule is associated.
|
void |
setExpression(String expression)
The rule expression.
|
void |
setLanguage(String language)
The rule language.
|
void |
setLastUpdatedTime(String lastUpdatedTime)
Timestamp of the last time the rule was updated.
|
void |
setOutcomes(Collection<String> outcomes)
The rule outcomes.
|
void |
setRuleId(String ruleId)
The rule ID.
|
void |
setRuleVersion(String ruleVersion)
The rule version.
|
String |
toString()
Returns a string representation of this object.
|
RuleDetail |
withArn(String arn)
The rule ARN.
|
RuleDetail |
withCreatedTime(String createdTime)
The timestamp of when the rule was created.
|
RuleDetail |
withDescription(String description)
The rule description.
|
RuleDetail |
withDetectorId(String detectorId)
The detector for which the rule is associated.
|
RuleDetail |
withExpression(String expression)
The rule expression.
|
RuleDetail |
withLanguage(Language language)
The rule language.
|
RuleDetail |
withLanguage(String language)
The rule language.
|
RuleDetail |
withLastUpdatedTime(String lastUpdatedTime)
Timestamp of the last time the rule was updated.
|
RuleDetail |
withOutcomes(Collection<String> outcomes)
The rule outcomes.
|
RuleDetail |
withOutcomes(String... outcomes)
The rule outcomes.
|
RuleDetail |
withRuleId(String ruleId)
The rule ID.
|
RuleDetail |
withRuleVersion(String ruleVersion)
The rule version.
|
public void setRuleId(String ruleId)
The rule ID.
ruleId
- The rule ID.public String getRuleId()
The rule ID.
public RuleDetail withRuleId(String ruleId)
The rule ID.
ruleId
- The rule ID.public void setDescription(String description)
The rule description.
description
- The rule description.public String getDescription()
The rule description.
public RuleDetail withDescription(String description)
The rule description.
description
- The rule description.public void setDetectorId(String detectorId)
The detector for which the rule is associated.
detectorId
- The detector for which the rule is associated.public String getDetectorId()
The detector for which the rule is associated.
public RuleDetail withDetectorId(String detectorId)
The detector for which the rule is associated.
detectorId
- The detector for which the rule is associated.public void setRuleVersion(String ruleVersion)
The rule version.
ruleVersion
- The rule version.public String getRuleVersion()
The rule version.
public RuleDetail withRuleVersion(String ruleVersion)
The rule version.
ruleVersion
- The rule version.public void setExpression(String expression)
The rule expression.
expression
- The rule expression.public String getExpression()
The rule expression.
public RuleDetail withExpression(String expression)
The rule expression.
expression
- The rule expression.public void setLanguage(String language)
The rule language.
language
- The rule language.Language
public String getLanguage()
The rule language.
Language
public RuleDetail withLanguage(String language)
The rule language.
language
- The rule language.Language
public RuleDetail withLanguage(Language language)
The rule language.
language
- The rule language.Language
public void setOutcomes(Collection<String> outcomes)
The rule outcomes.
outcomes
- The rule outcomes.public RuleDetail withOutcomes(String... outcomes)
The rule outcomes.
NOTE: This method appends the values to the existing list (if any). Use
setOutcomes(java.util.Collection)
or withOutcomes(java.util.Collection)
if you want to override
the existing values.
outcomes
- The rule outcomes.public RuleDetail withOutcomes(Collection<String> outcomes)
The rule outcomes.
outcomes
- The rule outcomes.public void setLastUpdatedTime(String lastUpdatedTime)
Timestamp of the last time the rule was updated.
lastUpdatedTime
- Timestamp of the last time the rule was updated.public String getLastUpdatedTime()
Timestamp of the last time the rule was updated.
public RuleDetail withLastUpdatedTime(String lastUpdatedTime)
Timestamp of the last time the rule was updated.
lastUpdatedTime
- Timestamp of the last time the rule was updated.public void setCreatedTime(String createdTime)
The timestamp of when the rule was created.
createdTime
- The timestamp of when the rule was created.public String getCreatedTime()
The timestamp of when the rule was created.
public RuleDetail withCreatedTime(String createdTime)
The timestamp of when the rule was created.
createdTime
- The timestamp of when the rule was created.public void setArn(String arn)
The rule ARN.
arn
- The rule ARN.public String getArn()
The rule ARN.
public RuleDetail withArn(String arn)
The rule ARN.
arn
- The rule ARN.public String toString()
toString
in class Object
Object.toString()
public RuleDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.