Interface ConnectionPortRange.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectionPortRange.Builder,ConnectionPortRange>,SdkBuilder<ConnectionPortRange.Builder,ConnectionPortRange>,SdkPojo
- Enclosing class:
- ConnectionPortRange
public static interface ConnectionPortRange.Builder extends SdkPojo, CopyableBuilder<ConnectionPortRange.Builder,ConnectionPortRange>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectionPortRange.BuilderfromPort(Integer fromPort)Starting value for the port range.ConnectionPortRange.BuildertoPort(Integer toPort)Ending value for the port.-
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
ConnectionPortRange.Builder fromPort(Integer fromPort)
Starting value for the port range.
- Parameters:
fromPort- Starting value for the port range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toPort
ConnectionPortRange.Builder toPort(Integer toPort)
Ending value for the port. Port numbers are end-inclusive. This value must be equal to or greater than
FromPort.- Parameters:
toPort- Ending value for the port. Port numbers are end-inclusive. This value must be equal to or greater thanFromPort.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-