Interface CreateFirewallRuleGroupRequest.Builder

    • Method Detail

      • creatorRequestId

        CreateFirewallRuleGroupRequest.Builder creatorRequestId​(String creatorRequestId)

        A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.

        Parameters:
        creatorRequestId - A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of running the operation twice. This can be any unique string, for example, a timestamp.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateFirewallRuleGroupRequest.Builder name​(String name)

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

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

        CreateFirewallRuleGroupRequest.Builder tags​(Collection<Tag> tags)

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

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

        CreateFirewallRuleGroupRequest.Builder tags​(Tag... tags)

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

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

        CreateFirewallRuleGroupRequest.Builder tags​(Consumer<Tag.Builder>... tags)

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

        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)