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
Modifier and TypeMethodDescriptionA starting value for the range of allowed port numbers.The network protocol that these ports support.protocol
(IpProtocol protocol) The network protocol that these ports support.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 Details
-
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
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
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:
-
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:
-