Interface RuleGroupVariables.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleGroupVariables.Builder,
,RuleGroupVariables> SdkBuilder<RuleGroupVariables.Builder,
,RuleGroupVariables> SdkPojo
- Enclosing class:
RuleGroupVariables
@Mutable
@NotThreadSafe
public static interface RuleGroupVariables.Builder
extends SdkPojo, CopyableBuilder<RuleGroupVariables.Builder,RuleGroupVariables>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleGroupVariables.Builder
A list of IP addresses and address ranges, in CIDR notation.A list of IP addresses and address ranges, in CIDR notation.default RuleGroupVariables.Builder
A list of port ranges.portSets
(RuleGroupVariablesPortSetsDetails portSets) A list of port ranges.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
ipSets
A list of IP addresses and address ranges, in CIDR notation.
- Parameters:
ipSets
- A list of IP addresses and address ranges, in CIDR notation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipSets
A list of IP addresses and address ranges, in CIDR notation.
This is a convenience method that creates an instance of theRuleGroupVariablesIpSetsDetails.Builder
avoiding the need to create one manually viaRuleGroupVariablesIpSetsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipSets(RuleGroupVariablesIpSetsDetails)
.- Parameters:
ipSets
- a consumer that will call methods onRuleGroupVariablesIpSetsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
portSets
A list of port ranges.
- Parameters:
portSets
- A list of port ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portSets
default RuleGroupVariables.Builder portSets(Consumer<RuleGroupVariablesPortSetsDetails.Builder> portSets) A list of port ranges.
This is a convenience method that creates an instance of theRuleGroupVariablesPortSetsDetails.Builder
avoiding the need to create one manually viaRuleGroupVariablesPortSetsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toportSets(RuleGroupVariablesPortSetsDetails)
.- Parameters:
portSets
- a consumer that will call methods onRuleGroupVariablesPortSetsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-