Class PutRuleResult
- java.lang.Object
-
- com.amazonaws.services.cloudwatchevents.model.PutRuleResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PutRuleResult extends Object implements Serializable, Cloneable
The result of the PutRule operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PutRuleResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutRuleResult
clone()
boolean
equals(Object obj)
String
getRuleArn()
The Amazon Resource Name (ARN) that identifies the rule.int
hashCode()
void
setRuleArn(String ruleArn)
The Amazon Resource Name (ARN) that identifies the rule.String
toString()
Returns a string representation of this object; useful for testing and debugging.PutRuleResult
withRuleArn(String ruleArn)
The Amazon Resource Name (ARN) that identifies the rule.
-
-
-
Method Detail
-
setRuleArn
public void setRuleArn(String ruleArn)
The Amazon Resource Name (ARN) that identifies the rule.
- Parameters:
ruleArn
- The Amazon Resource Name (ARN) that identifies the rule.
-
getRuleArn
public String getRuleArn()
The Amazon Resource Name (ARN) that identifies the rule.
- Returns:
- The Amazon Resource Name (ARN) that identifies the rule.
-
withRuleArn
public PutRuleResult withRuleArn(String ruleArn)
The Amazon Resource Name (ARN) that identifies the rule.
- Parameters:
ruleArn
- The Amazon Resource Name (ARN) that identifies the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PutRuleResult clone()
-
-