Interface RemoveTargetsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RemoveTargetsRequest.Builder,RemoveTargetsRequest>,EventBridgeRequest.Builder,SdkBuilder<RemoveTargetsRequest.Builder,RemoveTargetsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RemoveTargetsRequest
public static interface RemoveTargetsRequest.Builder extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<RemoveTargetsRequest.Builder,RemoveTargetsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoveTargetsRequest.BuildereventBusName(String eventBusName)The name or ARN of the event bus associated with the rule.RemoveTargetsRequest.Builderforce(Boolean force)If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specifyForceasTrueto remove targets.RemoveTargetsRequest.Builderids(String... ids)The IDs of the targets to remove from the rule.RemoveTargetsRequest.Builderids(Collection<String> ids)The IDs of the targets to remove from the rule.RemoveTargetsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RemoveTargetsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RemoveTargetsRequest.Builderrule(String rule)The name of the rule.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
rule
RemoveTargetsRequest.Builder rule(String rule)
The name of the rule.
- Parameters:
rule- The name of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBusName
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.
- Parameters:
eventBusName- The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ids
RemoveTargetsRequest.Builder ids(Collection<String> ids)
The IDs of the targets to remove from the rule.
- Parameters:
ids- The IDs of the targets to remove from the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ids
RemoveTargetsRequest.Builder ids(String... ids)
The IDs of the targets to remove from the rule.
- Parameters:
ids- The IDs of the targets to remove from the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
force
RemoveTargetsRequest.Builder force(Boolean force)
If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
ForceasTrueto remove targets. This parameter is ignored for rules that are not managed rules. You can check whether a rule is a managed rule by usingDescribeRuleorListRulesand checking theManagedByfield of the response.- Parameters:
force- If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specifyForceasTrueto remove targets. This parameter is ignored for rules that are not managed rules. You can check whether a rule is a managed rule by usingDescribeRuleorListRulesand checking theManagedByfield of the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RemoveTargetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RemoveTargetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-