public static interface PortForwardingConfig.Builder extends SdkPojo, CopyableBuilder<PortForwardingConfig.Builder,PortForwardingConfig>
| Modifier and Type | Method and Description |
|---|---|
PortForwardingConfig.Builder |
portMappings(Collection<PortMapping> portMappings)
The port mappings for the configuration.
|
PortForwardingConfig.Builder |
portMappings(Consumer<PortMapping.Builder>... portMappings)
The port mappings for the configuration.
|
PortForwardingConfig.Builder |
portMappings(PortMapping... portMappings)
The port mappings for the configuration.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPortForwardingConfig.Builder portMappings(Collection<PortMapping> portMappings)
The port mappings for the configuration.
portMappings - The port mappings for the configuration.PortForwardingConfig.Builder portMappings(PortMapping... portMappings)
The port mappings for the configuration.
portMappings - The port mappings for the configuration.PortForwardingConfig.Builder portMappings(Consumer<PortMapping.Builder>... portMappings)
The port mappings for the configuration.
This is a convenience method that creates an instance of thePortMapping.Builder avoiding the need to create one
manually via PortMapping.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #portMappings(List.
portMappings - a consumer that will call methods on
PortMapping.Builder#portMappings(java.util.Collection) Copyright © 2023. All rights reserved.