Interface PortMapping.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PortMapping.Builder,PortMapping>, SdkBuilder<PortMapping.Builder,PortMapping>, SdkPojo
Enclosing class:
PortMapping

public static interface PortMapping.Builder extends SdkPojo, CopyableBuilder<PortMapping.Builder,PortMapping>
  • Method Details

    • port

      The port used for the port mapping.

      Parameters:
      port - The port used for the port mapping.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protocol

      PortMapping.Builder protocol(String protocol)

      The protocol used for the port mapping. Specify one protocol.

      Parameters:
      protocol - The protocol used for the port mapping. Specify one protocol.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protocol

      PortMapping.Builder protocol(PortProtocol protocol)

      The protocol used for the port mapping. Specify one protocol.

      Parameters:
      protocol - The protocol used for the port mapping. Specify one protocol.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: