Interface PortRangeFromTo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PortRangeFromTo.Builder,PortRangeFromTo>,SdkBuilder<PortRangeFromTo.Builder,PortRangeFromTo>,SdkPojo
- Enclosing class:
- PortRangeFromTo
public static interface PortRangeFromTo.Builder extends SdkPojo, CopyableBuilder<PortRangeFromTo.Builder,PortRangeFromTo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PortRangeFromTo.Builderfrom(Integer from)The first port in the port range.PortRangeFromTo.Builderto(Integer to)The last port in the port 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
from
PortRangeFromTo.Builder from(Integer from)
The first port in the port range.
- Parameters:
from- The first port in the port range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
PortRangeFromTo.Builder to(Integer to)
The last port in the port range.
- Parameters:
to- The last port in the port range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-