Interface DeleteRuleRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CloudWatchEventsRequest.Builder, CopyableBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest>, SdkBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DeleteRuleRequest

public static interface DeleteRuleRequest.Builder extends CloudWatchEventsRequest.Builder, SdkPojo, CopyableBuilder<DeleteRuleRequest.Builder,DeleteRuleRequest>
  • 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

      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

      If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify Force as True to 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 using DescribeRule or ListRules and checking the ManagedBy field of the response.

      Parameters:
      force - If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify Force as True to 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 using DescribeRule or ListRules and checking the ManagedBy field of the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DeleteRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.