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
Modifier and TypeMethodDescriptionThe port used for the port mapping.The protocol used for the port mapping.protocol
(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 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
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
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:
-