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 that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #portMappings(List) .portMappings - a consumer that will call methods on List.Builder #portMappings(List) Copyright © 2020. All rights reserved.