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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PortMapping.Builderport(Integer port)The port used for the port mapping.PortMapping.Builderprotocol(String protocol)The protocol used for the port mapping.PortMapping.Builderprotocol(PortProtocol protocol)The protocol used for the port mapping.-
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, sdkFields
-
-
-
-
Method Detail
-
port
PortMapping.Builder port(Integer 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:
PortProtocol,PortProtocol
-
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:
PortProtocol,PortProtocol
-
-