CopyableBuilder<PutRuleRequest.Builder,PutRuleRequest>, SdkBuilder<PutRuleRequest.Builder,PutRuleRequest>public static interface PutRuleRequest.Builder extends CopyableBuilder<PutRuleRequest.Builder,PutRuleRequest>
| Modifier and Type | Method | Description |
|---|---|---|
PutRuleRequest.Builder |
description(String description) |
A description of the rule.
|
PutRuleRequest.Builder |
eventPattern(String eventPattern) |
The event pattern.
|
PutRuleRequest.Builder |
name(String name) |
The name of the rule that you are creating or updating.
|
PutRuleRequest.Builder |
roleArn(String roleArn) |
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
|
PutRuleRequest.Builder |
scheduleExpression(String scheduleExpression) |
The scheduling expression.
|
PutRuleRequest.Builder |
state(String state) |
Indicates whether the rule is enabled or disabled.
|
PutRuleRequest.Builder |
state(RuleState state) |
Indicates whether the rule is enabled or disabled.
|
copyapply, buildPutRuleRequest.Builder name(String name)
The name of the rule that you are creating or updating.
name - The name of the rule that you are creating or updating.PutRuleRequest.Builder scheduleExpression(String scheduleExpression)
The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
scheduleExpression - The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".PutRuleRequest.Builder eventPattern(String eventPattern)
The event pattern. For more information, see Events and Event Patterns in the Amazon CloudWatch Events User Guide.
eventPattern - The event pattern. For more information, see Events and Event Patterns in the Amazon CloudWatch Events User Guide.PutRuleRequest.Builder state(String state)
Indicates whether the rule is enabled or disabled.
state - Indicates whether the rule is enabled or disabled.RuleStatePutRuleRequest.Builder state(RuleState state)
Indicates whether the rule is enabled or disabled.
state - Indicates whether the rule is enabled or disabled.RuleStatePutRuleRequest.Builder description(String description)
A description of the rule.
description - A description of the rule.PutRuleRequest.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
roleArn - The Amazon Resource Name (ARN) of the IAM role associated with the rule.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.