Interface DeleteRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest>,EventBridgeRequest.Builder,SdkBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DeleteRuleRequest
public static interface DeleteRuleRequest.Builder extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteRuleRequest.BuildereventBusName(String eventBusName)The name or ARN of the event bus associated with the rule.DeleteRuleRequest.Builderforce(Boolean force)If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specifyForceasTrueto delete the rule.DeleteRuleRequest.Buildername(String name)The name of the rule.DeleteRuleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteRuleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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
-
name
DeleteRuleRequest.Builder name(String 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
DeleteRuleRequest.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.
-
force
DeleteRuleRequest.Builder force(Boolean 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
-
-