Class DescribeRuleResult
- All Implemented Interfaces:
Serializable, Cloneable
The result of the DescribeRule operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetArn()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.inthashCode()voidThe Amazon Resource Name (ARN) associated with the rule.voidsetDescription(String description) The rule's description.voidsetEventPattern(String eventPattern) The event pattern.voidThe rule's name.voidsetRoleArn(String roleArn) The Amazon Resource Name (ARN) of the IAM role associated with the rule.voidsetScheduleExpression(String scheduleExpression) The scheduling expression.voidSpecifies whether the rule is enabled or disabled.voidSpecifies 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
-
getName
-
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
-
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
-
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
-
equals
-
hashCode
-
clone
-