Interface VerifiedAccessEndpointCidrOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VerifiedAccessEndpointCidrOptions.Builder,
,VerifiedAccessEndpointCidrOptions> SdkBuilder<VerifiedAccessEndpointCidrOptions.Builder,
,VerifiedAccessEndpointCidrOptions> SdkPojo
- Enclosing class:
VerifiedAccessEndpointCidrOptions
@Mutable
@NotThreadSafe
public static interface VerifiedAccessEndpointCidrOptions.Builder
extends SdkPojo, CopyableBuilder<VerifiedAccessEndpointCidrOptions.Builder,VerifiedAccessEndpointCidrOptions>
-
Method Summary
Modifier and TypeMethodDescriptionThe CIDR.portRanges
(Collection<VerifiedAccessEndpointPortRange> portRanges) The port ranges.portRanges
(Consumer<VerifiedAccessEndpointPortRange.Builder>... portRanges) The port ranges.portRanges
(VerifiedAccessEndpointPortRange... portRanges) The port ranges.The protocol.protocol
(VerifiedAccessEndpointProtocol protocol) The protocol.The IDs of the subnets.subnetIds
(Collection<String> subnetIds) The IDs of the subnets.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
-
cidr
The CIDR.
- Parameters:
cidr
- The CIDR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
VerifiedAccessEndpointCidrOptions.Builder portRanges(Collection<VerifiedAccessEndpointPortRange> portRanges) The port ranges.
- Parameters:
portRanges
- The port ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
The port ranges.
- Parameters:
portRanges
- The port ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
VerifiedAccessEndpointCidrOptions.Builder portRanges(Consumer<VerifiedAccessEndpointPortRange.Builder>... portRanges) The port ranges.
This is a convenience method that creates an instance of theVerifiedAccessEndpointPortRange.Builder
avoiding the need to create one manually viaVerifiedAccessEndpointPortRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toportRanges(List<VerifiedAccessEndpointPortRange>)
.- Parameters:
portRanges
- a consumer that will call methods onVerifiedAccessEndpointPortRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol.
- Parameters:
protocol
- The protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The protocol.
- Parameters:
protocol
- The protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subnetIds
The IDs of the subnets.
- Parameters:
subnetIds
- The IDs of the subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
The IDs of the subnets.
- Parameters:
subnetIds
- The IDs of the subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-