Interface AssociateFirewallRuleGroupRequest.Builder

    • Method Detail

      • 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

        AssociateFirewallRuleGroupRequest.Builder vpcId​(String 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

        AssociateFirewallRuleGroupRequest.Builder priority​(Integer 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

        AssociateFirewallRuleGroupRequest.Builder name​(String 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:
        MutationProtectionStatus, MutationProtectionStatus
      • mutationProtection

        AssociateFirewallRuleGroupRequest.Builder mutationProtection​(MutationProtectionStatus 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:
        MutationProtectionStatus, MutationProtectionStatus
      • tags

        AssociateFirewallRuleGroupRequest.Builder tags​(Collection<Tag> 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

        AssociateFirewallRuleGroupRequest.Builder tags​(Tag... 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

        AssociateFirewallRuleGroupRequest.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)