@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Rule extends Object implements Serializable, Cloneable, StructuredPojo
A rule.
Constructor and Description |
---|
Rule() |
Modifier and Type | Method and Description |
---|---|
Rule |
clone() |
boolean |
equals(Object obj) |
String |
getDetectorId()
The detector for which the rule is associated.
|
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 |
setDetectorId(String detectorId)
The detector for which the rule is associated.
|
void |
setRuleId(String ruleId)
The rule ID.
|
void |
setRuleVersion(String ruleVersion)
The rule version.
|
String |
toString()
Returns a string representation of this object.
|
Rule |
withDetectorId(String detectorId)
The detector for which the rule is associated.
|
Rule |
withRuleId(String ruleId)
The rule ID.
|
Rule |
withRuleVersion(String ruleVersion)
The rule version.
|
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 Rule withDetectorId(String detectorId)
The detector for which the rule is associated.
detectorId
- The detector for which the rule is associated.public void setRuleId(String ruleId)
The rule ID.
ruleId
- The rule ID.public String getRuleId()
The rule ID.
public Rule withRuleId(String ruleId)
The rule ID.
ruleId
- The rule ID.public void setRuleVersion(String ruleVersion)
The rule version.
ruleVersion
- The rule version.public String getRuleVersion()
The rule version.
public Rule withRuleVersion(String ruleVersion)
The rule version.
ruleVersion
- The rule version.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.