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.The last port in the 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 Details
-
from
The first port in the range.
- Parameters:
from
- The first port in the range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
to
The last port in the range.
- Parameters:
to
- The last port in the range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-