Interface PortRange.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PortRange.Builder,,PortRange> SdkBuilder<PortRange.Builder,,PortRange> SdkPojo
- Enclosing class:
PortRange
@Mutable
@NotThreadSafe
public static interface PortRange.Builder
extends SdkPojo, CopyableBuilder<PortRange.Builder,PortRange>
-
Method Summary
Modifier and TypeMethodDescriptionThe first port in the range of ports, inclusive.The last port in the range of ports, inclusive.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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.
-