public static interface RemoveTargetsRequest.Builder extends CloudWatchEventsRequest.Builder, SdkPojo, CopyableBuilder<RemoveTargetsRequest.Builder,RemoveTargetsRequest>
| Modifier and Type | Method and Description |
|---|---|
RemoveTargetsRequest.Builder |
eventBusName(String eventBusName)
The name or ARN of the event bus associated with 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. |
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) |
RemoveTargetsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
RemoveTargetsRequest.Builder |
rule(String rule)
The name of the rule.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildRemoveTargetsRequest.Builder rule(String rule)
The name of the rule.
rule - The name of the rule.RemoveTargetsRequest.Builder eventBusName(String eventBusName)
The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
eventBusName - The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is
used.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)
overrideConfiguration in interface AwsRequest.BuilderRemoveTargetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2020. All rights reserved.