Interface ContainerPortRange.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContainerPortRange.Builder,ContainerPortRange>,SdkBuilder<ContainerPortRange.Builder,ContainerPortRange>,SdkPojo
- Enclosing class:
- ContainerPortRange
public static interface ContainerPortRange.Builder extends SdkPojo, CopyableBuilder<ContainerPortRange.Builder,ContainerPortRange>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerPortRange.BuilderfromPort(Integer fromPort)A starting value for the range of allowed port numbers.ContainerPortRange.Builderprotocol(String protocol)The network protocol that these ports support.ContainerPortRange.Builderprotocol(IpProtocol protocol)The network protocol that these ports support.ContainerPortRange.BuildertoPort(Integer toPort)An ending value for the range of allowed port numbers.-
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
-
fromPort
ContainerPortRange.Builder fromPort(Integer fromPort)
A starting value for the range of allowed port numbers.
- Parameters:
fromPort- A starting value for the range of allowed port numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toPort
ContainerPortRange.Builder toPort(Integer toPort)
An ending value for the range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater than
FromPort.- Parameters:
toPort- An ending value for the range of allowed port numbers. Port numbers are end-inclusive. This value must be equal to or greater thanFromPort.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
ContainerPortRange.Builder protocol(String protocol)
The network protocol that these ports support.
- Parameters:
protocol- The network protocol that these ports support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpProtocol,IpProtocol
-
protocol
ContainerPortRange.Builder protocol(IpProtocol protocol)
The network protocol that these ports support.
- Parameters:
protocol- The network protocol that these ports support.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpProtocol,IpProtocol
-
-