Class PublicIpv4PoolRange
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.PublicIpv4PoolRange
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PublicIpv4PoolRange.Builder,PublicIpv4PoolRange>
@Generated("software.amazon.awssdk:codegen") public final class PublicIpv4PoolRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PublicIpv4PoolRange.Builder,PublicIpv4PoolRange>
Describes an address range of an IPv4 address pool.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PublicIpv4PoolRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
addressCount()
The number of addresses in the range.Integer
availableAddressCount()
The number of available addresses in the range.static PublicIpv4PoolRange.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
firstAddress()
The first IP address in the range.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
lastAddress()
The last IP address in the range.List<SdkField<?>>
sdkFields()
static Class<? extends PublicIpv4PoolRange.Builder>
serializableBuilderClass()
PublicIpv4PoolRange.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
firstAddress
public final String firstAddress()
The first IP address in the range.
- Returns:
- The first IP address in the range.
-
lastAddress
public final String lastAddress()
The last IP address in the range.
- Returns:
- The last IP address in the range.
-
addressCount
public final Integer addressCount()
The number of addresses in the range.
- Returns:
- The number of addresses in the range.
-
availableAddressCount
public final Integer availableAddressCount()
The number of available addresses in the range.
- Returns:
- The number of available addresses in the range.
-
toBuilder
public PublicIpv4PoolRange.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PublicIpv4PoolRange.Builder,PublicIpv4PoolRange>
-
builder
public static PublicIpv4PoolRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends PublicIpv4PoolRange.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-