Class DescribeRuleResult
- All Implemented Interfaces:
Serializable
,Cloneable
The result of the DescribeRule operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArn()
The Amazon Resource Name (ARN) associated with the rule.The rule's description.The event pattern.getName()
The rule's name.The Amazon Resource Name (ARN) of the IAM role associated with the rule.The scheduling expression.getState()
Specifies whether the rule is enabled or disabled.int
hashCode()
void
The Amazon Resource Name (ARN) associated with the rule.void
setDescription
(String description) The rule's description.void
setEventPattern
(String eventPattern) The event pattern.void
The rule's name.void
setRoleArn
(String roleArn) The Amazon Resource Name (ARN) of the IAM role associated with the rule.void
setScheduleExpression
(String scheduleExpression) The scheduling expression.void
Specifies whether the rule is enabled or disabled.void
Specifies whether the rule is enabled or disabled.toString()
Returns a string representation of this object; useful for testing and debugging.The Amazon Resource Name (ARN) associated with the rule.withDescription
(String description) The rule's description.withEventPattern
(String eventPattern) The event pattern.The rule's name.withRoleArn
(String roleArn) The Amazon Resource Name (ARN) of the IAM role associated with the rule.withScheduleExpression
(String scheduleExpression) The scheduling expression.Specifies whether the rule is enabled or disabled.Specifies whether the rule is enabled or disabled.
-
Constructor Details
-
DescribeRuleResult
public DescribeRuleResult()
-
-
Method Details
-
setName
The rule's name.
- Parameters:
name
- The rule's name.
-
getName
The rule's name.
- Returns:
- The rule's name.
-
withName
The rule's name.
- Parameters:
name
- The rule's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setArn
The Amazon Resource Name (ARN) associated with the rule.
- Parameters:
arn
- The Amazon Resource Name (ARN) associated with the rule.
-
getArn
The Amazon Resource Name (ARN) associated with the rule.
- Returns:
- The Amazon Resource Name (ARN) associated with the rule.
-
withArn
The Amazon Resource Name (ARN) associated with the rule.
- Parameters:
arn
- The Amazon Resource Name (ARN) associated with the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEventPattern
The event pattern.
- Parameters:
eventPattern
- The event pattern.
-
getEventPattern
The event pattern.
- Returns:
- The event pattern.
-
withEventPattern
The event pattern.
- Parameters:
eventPattern
- The event pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setScheduleExpression
The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
- Parameters:
scheduleExpression
- The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
-
getScheduleExpression
The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
- Returns:
- The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
-
withScheduleExpression
The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
- Parameters:
scheduleExpression
- The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
Specifies whether the rule is enabled or disabled.
- Parameters:
state
- Specifies whether the rule is enabled or disabled.- See Also:
-
getState
Specifies whether the rule is enabled or disabled.
- Returns:
- Specifies whether the rule is enabled or disabled.
- See Also:
-
withState
Specifies whether the rule is enabled or disabled.
- Parameters:
state
- Specifies whether the rule is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
Specifies whether the rule is enabled or disabled.
- Parameters:
state
- Specifies whether the rule is enabled or disabled.- See Also:
-
withState
Specifies whether the rule is enabled or disabled.
- Parameters:
state
- Specifies whether the rule is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setDescription
The rule's description.
- Parameters:
description
- The rule's description.
-
getDescription
The rule's description.
- Returns:
- The rule's description.
-
withDescription
The rule's description.
- Parameters:
description
- The rule's description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRoleArn
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role associated with the rule.
-
getRoleArn
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role associated with the rule.
-
withRoleArn
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role associated with the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-