Interface AssociateFirewallRuleGroupRequest.Builder

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

  • Method Details

    • creatorRequestId

      AssociateFirewallRuleGroupRequest.Builder creatorRequestId(String creatorRequestId)

      A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

      Parameters:
      creatorRequestId - A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firewallRuleGroupId

      AssociateFirewallRuleGroupRequest.Builder firewallRuleGroupId(String firewallRuleGroupId)

      The unique identifier of the firewall rule group.

      Parameters:
      firewallRuleGroupId - The unique identifier of the firewall rule group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcId

      The unique identifier of the VPC that you want to associate with the rule group.

      Parameters:
      vpcId - The unique identifier of the VPC that you want to associate with the rule group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • priority

      The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.

      You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.

      The allowed values for Priority are between 100 and 9900.

      Parameters:
      priority - The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.

      You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.

      The allowed values for Priority are between 100 and 9900.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      A name that lets you identify the association, to manage and use it.

      Parameters:
      name - A name that lets you identify the association, to manage and use it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mutationProtection

      AssociateFirewallRuleGroupRequest.Builder mutationProtection(String mutationProtection)

      If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is DISABLED.

      Parameters:
      mutationProtection - If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is DISABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mutationProtection

      If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is DISABLED.

      Parameters:
      mutationProtection - If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is DISABLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      A list of the tag keys and values that you want to associate with the rule group association.

      Parameters:
      tags - A list of the tag keys and values that you want to associate with the rule group association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of the tag keys and values that you want to associate with the rule group association.

      Parameters:
      tags - A list of the tag keys and values that you want to associate with the rule group association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of the tag keys and values that you want to associate with the rule group association.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      AssociateFirewallRuleGroupRequest.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.