public static interface PortMapping.Builder extends SdkPojo, CopyableBuilder<PortMapping.Builder,PortMapping>
| Modifier and Type | Method and Description |
|---|---|
PortMapping.Builder |
port(Integer port)
The port used for the port mapping.
|
PortMapping.Builder |
protocol(PortProtocol protocol)
The protocol used for the port mapping.
|
PortMapping.Builder |
protocol(String protocol)
The protocol used for the port mapping.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPortMapping.Builder port(Integer port)
The port used for the port mapping.
port - The port used for the port mapping.PortMapping.Builder protocol(String protocol)
The protocol used for the port mapping. Specify one protocol.
protocol - The protocol used for the port mapping. Specify one protocol.PortProtocol,
PortProtocolPortMapping.Builder protocol(PortProtocol protocol)
The protocol used for the port mapping. Specify one protocol.
protocol - The protocol used for the port mapping. Specify one protocol.PortProtocol,
PortProtocolCopyright © 2021. All rights reserved.