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