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
Modifier and TypeMethodDescriptionThe lower limit of the port range.The upper limit of the port range.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, sdkFields
-
Method Details
-
fromPort
The lower limit of the port range. This must be less than or equal to the
ToPortspecification.- Parameters:
fromPort- The lower limit of the port range. This must be less than or equal to theToPortspecification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toPort
The upper limit of the port range. This must be greater than or equal to the
FromPortspecification.- Parameters:
toPort- The upper limit of the port range. This must be greater than or equal to theFromPortspecification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-