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.Builder
from(Integer from)
The first port in the range.PortRange.Builder
to(Integer to)
The last port in the range.-
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
-
from
PortRange.Builder from(Integer from)
The first port in the range.
- Parameters:
from
- The first port in the range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
PortRange.Builder to(Integer to)
The last port in the range.
- Parameters:
to
- The last port in the range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-