public static interface PutRuleRequest.Builder extends CloudWatchEventsRequest.Builder, CopyableBuilder<PutRuleRequest.Builder,PutRuleRequest>
| Modifier and Type | Method and 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutRuleRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
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(RuleState state)
Indicates whether the rule is enabled or disabled.
|
PutRuleRequest.Builder |
state(String state)
Indicates whether the rule is enabled or disabled.
|
buildrequestOverrideConfigcopyapply, 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 * * ? *)" or "rate(5 minutes)".
scheduleExpression - The scheduling expression. For example, "cron(0 20 * * ? *)" or "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.
PutRuleRequest.Builder state(RuleState state)
Indicates whether the rule is enabled or disabled.
PutRuleRequest.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.PutRuleRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.PutRuleRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.