@Generated(value="software.amazon.awssdk:codegen") public final class PortRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PortRange.Builder,PortRange>
A complex type for a range of ports for a listener.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PortRange.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PortRange.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
fromPort()
The first port in the range of ports, inclusive.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PortRange.Builder> |
serializableBuilderClass() |
PortRange.Builder |
toBuilder() |
Integer |
toPort()
The last port in the range of ports, inclusive.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer fromPort()
The first port in the range of ports, inclusive.
public final Integer toPort()
The last port in the range of ports, inclusive.
public PortRange.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PortRange.Builder,PortRange>public static PortRange.Builder builder()
public static Class<? extends PortRange.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.