public static interface RemoveTargetsRequest.Builder extends CloudWatchEventsRequest.Builder, SdkPojo, CopyableBuilder<RemoveTargetsRequest.Builder,RemoveTargetsRequest>
| Modifier and Type | Method and Description |
|---|---|
RemoveTargetsRequest.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 remove targets. |
RemoveTargetsRequest.Builder |
ids(Collection<String> ids)
The IDs of the targets to remove from the rule.
|
RemoveTargetsRequest.Builder |
ids(String... ids)
The IDs of the targets to remove from the rule.
|
RemoveTargetsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
RemoveTargetsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
RemoveTargetsRequest.Builder |
rule(String rule)
The name of the rule.
|
buildoverrideConfigurationcopyapplyMutation, buildRemoveTargetsRequest.Builder rule(String rule)
The name of the rule.
rule - The name of the rule.RemoveTargetsRequest.Builder ids(Collection<String> ids)
The IDs of the targets to remove from the rule.
ids - The IDs of the targets to remove from the rule.RemoveTargetsRequest.Builder ids(String... ids)
The IDs of the targets to remove from the rule.
ids - The IDs of the targets to remove from the rule.RemoveTargetsRequest.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 remove targets. 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 remove targets. 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.RemoveTargetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.RemoveTargetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.