Interface CreateVerifiedAccessEndpointEniOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CreateVerifiedAccessEndpointEniOptions.Builder,,CreateVerifiedAccessEndpointEniOptions> SdkBuilder<CreateVerifiedAccessEndpointEniOptions.Builder,,CreateVerifiedAccessEndpointEniOptions> SdkPojo
- Enclosing class:
CreateVerifiedAccessEndpointEniOptions
public static interface CreateVerifiedAccessEndpointEniOptions.Builder
extends SdkPojo, CopyableBuilder<CreateVerifiedAccessEndpointEniOptions.Builder,CreateVerifiedAccessEndpointEniOptions>
-
Method Summary
Modifier and TypeMethodDescriptionnetworkInterfaceId(String networkInterfaceId) The ID of the network interface.The IP port number.portRanges(Collection<CreateVerifiedAccessEndpointPortRange> portRanges) The port ranges.portRanges(Consumer<CreateVerifiedAccessEndpointPortRange.Builder>... portRanges) The port ranges.portRanges(CreateVerifiedAccessEndpointPortRange... portRanges) The port ranges.The IP protocol.protocol(VerifiedAccessEndpointProtocol protocol) The IP protocol.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, sdkFieldNameToField, sdkFields
-
Method Details
-
networkInterfaceId
The ID of the network interface.
- Parameters:
networkInterfaceId- The ID of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The IP protocol.
- Parameters:
protocol- The IP protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The IP protocol.
- Parameters:
protocol- The IP protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
port
The IP port number.
- Parameters:
port- The IP port number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portRanges
CreateVerifiedAccessEndpointEniOptions.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
CreateVerifiedAccessEndpointEniOptions.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
CreateVerifiedAccessEndpointEniOptions.Builder portRanges(Consumer<CreateVerifiedAccessEndpointPortRange.Builder>... portRanges) The port ranges.
This is a convenience method that creates an instance of theCreateVerifiedAccessEndpointPortRange.Builderavoiding the need to create one manually viaCreateVerifiedAccessEndpointPortRange.builder().When the
Consumercompletes,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:
-