Interface CreateFirewallRuleGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateFirewallRuleGroupRequest.Builder,
,CreateFirewallRuleGroupRequest> Route53ResolverRequest.Builder
,SdkBuilder<CreateFirewallRuleGroupRequest.Builder,
,CreateFirewallRuleGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateFirewallRuleGroupRequest
public static interface CreateFirewallRuleGroupRequest.Builder
extends Route53ResolverRequest.Builder, SdkPojo, CopyableBuilder<CreateFirewallRuleGroupRequest.Builder,CreateFirewallRuleGroupRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncreatorRequestId
(String creatorRequestId) A unique string defined by you to identify the request.A name that lets you identify the rule group, to manage and use it.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) A list of the tag keys and values that you want to associate with the rule group.tags
(Consumer<Tag.Builder>... tags) A list of the tag keys and values that you want to associate with the rule group.A list of the tag keys and values that you want to associate with the rule group.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.route53resolver.model.Route53ResolverRequest.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 Details
-
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
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
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
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
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateFirewallRuleGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFirewallRuleGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-