Interface DeleteRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteRuleRequest.Builder,,DeleteRuleRequest> EventBridgeRequest.Builder,SdkBuilder<DeleteRuleRequest.Builder,,DeleteRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- DeleteRuleRequest
@Mutable
@NotThreadSafe
public static interface DeleteRuleRequest.Builder
extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptioneventBusName(String eventBusName) The name or ARN of the event bus associated with the rule.If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specifyForceasTrueto delete the rule.The name of the rule.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the rule.
- Parameters:
name- The name of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
force
If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify
ForceasTrueto 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 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 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 usingDescribeRuleorListRulesand checking theManagedByfield of the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-