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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleGroupVariables.BuilderipSets(Consumer<RuleGroupVariablesIpSetsDetails.Builder> ipSets)A list of IP addresses and address ranges, in CIDR notation.RuleGroupVariables.BuilderipSets(RuleGroupVariablesIpSetsDetails ipSets)A list of IP addresses and address ranges, in CIDR notation.default RuleGroupVariables.BuilderportSets(Consumer<RuleGroupVariablesPortSetsDetails.Builder> portSets)A list of port ranges.RuleGroupVariables.BuilderportSets(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, sdkFields
-
-
-
-
Method Detail
-
ipSets
RuleGroupVariables.Builder ipSets(RuleGroupVariablesIpSetsDetails 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
default RuleGroupVariables.Builder ipSets(Consumer<RuleGroupVariablesIpSetsDetails.Builder> 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:
ipSets(RuleGroupVariablesIpSetsDetails)
-
portSets
RuleGroupVariables.Builder portSets(RuleGroupVariablesPortSetsDetails 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:
portSets(RuleGroupVariablesPortSetsDetails)
-
-