public class CreateRuleResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
CreateRuleResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRuleArn()
The Amazon Resource Name (ARN) of the rule.
|
java.lang.String |
getRuleId()
A unique identifier for the rule.
|
int |
hashCode() |
void |
setRuleArn(java.lang.String ruleArn)
The Amazon Resource Name (ARN) of the rule.
|
void |
setRuleId(java.lang.String ruleId)
A unique identifier for the rule.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateRuleResult |
withRuleArn(java.lang.String ruleArn)
The Amazon Resource Name (ARN) of the rule.
|
CreateRuleResult |
withRuleId(java.lang.String ruleId)
A unique identifier for the rule.
|
public java.lang.String getRuleArn()
The Amazon Resource Name (ARN) of the rule.
The Amazon Resource Name (ARN) of the rule.
public void setRuleArn(java.lang.String ruleArn)
The Amazon Resource Name (ARN) of the rule.
ruleArn - The Amazon Resource Name (ARN) of the rule.
public CreateRuleResult withRuleArn(java.lang.String ruleArn)
The Amazon Resource Name (ARN) of the rule.
Returns a reference to this object so that method calls can be chained together.
ruleArn - The Amazon Resource Name (ARN) of the rule.
public java.lang.String getRuleId()
A unique identifier for the rule.
Constraints:
Length: 1 - 256
A unique identifier for the rule.
public void setRuleId(java.lang.String ruleId)
A unique identifier for the rule.
Constraints:
Length: 1 - 256
ruleId - A unique identifier for the rule.
public CreateRuleResult withRuleId(java.lang.String ruleId)
A unique identifier for the rule.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
ruleId - A unique identifier for the rule.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object