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
Modifier and TypeMethodDescriptionStarting value for the port range.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 Details
-
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
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.
-