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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerPortMapping.BuilderconnectionPort(Integer connectionPort)The port opened on the fleet instance.ContainerPortMapping.BuildercontainerPort(Integer containerPort)The port opened on the container.ContainerPortMapping.Builderprotocol(String protocol)The network protocol that this mapping supports.ContainerPortMapping.Builderprotocol(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 Detail
-
containerPort
ContainerPortMapping.Builder containerPort(Integer 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
ContainerPortMapping.Builder connectionPort(Integer 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
ContainerPortMapping.Builder protocol(String 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:
IpProtocol,IpProtocol
-
protocol
ContainerPortMapping.Builder protocol(IpProtocol 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:
IpProtocol,IpProtocol
-
-