Interface VerifiedAccessEndpointEniOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VerifiedAccessEndpointEniOptions.Builder,,VerifiedAccessEndpointEniOptions> SdkBuilder<VerifiedAccessEndpointEniOptions.Builder,,VerifiedAccessEndpointEniOptions> SdkPojo
- Enclosing class:
VerifiedAccessEndpointEniOptions
@Mutable
@NotThreadSafe
public static interface VerifiedAccessEndpointEniOptions.Builder
extends SdkPojo, CopyableBuilder<VerifiedAccessEndpointEniOptions.Builder,VerifiedAccessEndpointEniOptions>
-
Method Summary
Modifier and TypeMethodDescriptionnetworkInterfaceId(String networkInterfaceId) The ID of the network interface.The IP port number.portRanges(Collection<VerifiedAccessEndpointPortRange> portRanges) The port ranges.portRanges(Consumer<VerifiedAccessEndpointPortRange.Builder>... portRanges) The port ranges.portRanges(VerifiedAccessEndpointPortRange... 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
VerifiedAccessEndpointEniOptions.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
VerifiedAccessEndpointEniOptions.Builder portRanges(Consumer<VerifiedAccessEndpointPortRange.Builder>... portRanges) The port ranges.
This is a convenience method that creates an instance of theVerifiedAccessEndpointPortRange.Builderavoiding the need to create one manually viaVerifiedAccessEndpointPortRange.builder().When the
Consumercompletes,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:
-