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