Interface RuleGroupVariables.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroupVariables.Builder,,RuleGroupVariables> SdkBuilder<RuleGroupVariables.Builder,,RuleGroupVariables> SdkPojo
- Enclosing class:
RuleGroupVariables
public static interface RuleGroupVariables.Builder
extends SdkPojo, CopyableBuilder<RuleGroupVariables.Builder,RuleGroupVariables>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleGroupVariables.BuilderA list of IP addresses and address ranges, in CIDR notation.A list of IP addresses and address ranges, in CIDR notation.default RuleGroupVariables.BuilderA list of port ranges.portSets(RuleGroupVariablesPortSetsDetails portSets) A list of port ranges.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaRuleGroupVariablesIpSetsDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRuleGroupVariablesPortSetsDetails.builder().When the
Consumercompletes,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:
-