Interface ContainerPortMapping.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ContainerPortMapping.Builder,
,ContainerPortMapping> SdkBuilder<ContainerPortMapping.Builder,
,ContainerPortMapping> SdkPojo
- Enclosing class:
ContainerPortMapping
public static interface ContainerPortMapping.Builder
extends SdkPojo, CopyableBuilder<ContainerPortMapping.Builder,ContainerPortMapping>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionPort
(Integer connectionPort) The port opened on the fleet instance.containerPort
(Integer containerPort) The port opened on the container.The network protocol that this mapping supports.protocol
(IpProtocol protocol) The network protocol that this mapping supports.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
-
containerPort
The port opened on the container.
- Parameters:
containerPort
- The port opened on the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionPort
The port opened on the fleet instance. This is also called the "host port".
- Parameters:
connectionPort
- The port opened on the fleet instance. This is also called the "host port".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The network protocol that this mapping supports.
- Parameters:
protocol
- The network protocol that this mapping supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The network protocol that this mapping supports.
- Parameters:
protocol
- The network protocol that this mapping supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-