Interface PortRange.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PortRange.Builder,PortRange>,SdkBuilder<PortRange.Builder,PortRange>,SdkPojo
- Enclosing class:
- PortRange
public static interface PortRange.Builder extends SdkPojo, CopyableBuilder<PortRange.Builder,PortRange>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PortRange.BuilderfromPort(Integer fromPort)The first port in the range of ports, inclusive.PortRange.BuildertoPort(Integer toPort)The last port in the range of ports, inclusive.-
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
PortRange.Builder fromPort(Integer fromPort)
The first port in the range of ports, inclusive.
- Parameters:
fromPort- The first port in the range of ports, inclusive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toPort
PortRange.Builder toPort(Integer toPort)
The last port in the range of ports, inclusive.
- Parameters:
toPort- The last port in the range of ports, inclusive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-