public static interface DeleteRuleRequest.Builder extends CloudWatchEventsRequest.Builder, SdkPojo, CopyableBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest>
Modifier and Type | Method and Description |
---|---|
DeleteRuleRequest.Builder |
force(Boolean force)
If this is a managed rule, created by an AWS service on your behalf, you must specify
Force as
True to delete the rule. |
DeleteRuleRequest.Builder |
name(String name)
The name of the rule.
|
DeleteRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DeleteRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
DeleteRuleRequest.Builder name(String name)
The name of the rule.
name
- The name of the rule.DeleteRuleRequest.Builder force(Boolean force)
If this is a managed rule, created by an AWS service on your behalf, you must specify Force
as
True
to delete the rule. This parameter is ignored for rules that are not managed rules. You can
check whether a rule is a managed rule by using DescribeRule
or ListRules
and
checking the ManagedBy
field of the response.
force
- If this is a managed rule, created by an AWS service on your behalf, you must specify
Force
as True
to delete the rule. This parameter is ignored for rules that
are not managed rules. You can check whether a rule is a managed rule by using
DescribeRule
or ListRules
and checking the ManagedBy
field of
the response.DeleteRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DeleteRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.