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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal IntegerThe number of addresses in the range.final IntegerThe number of available addresses in the range.static PublicIpv4PoolRange.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe first IP address in the range.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe last IP address in the range.static Class<? extends PublicIpv4PoolRange.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
firstAddress
The first IP address in the range.
- Returns:
- The first IP address in the range.
-
lastAddress
The last IP address in the range.
- Returns:
- The last IP address in the range.
-
addressCount
The number of addresses in the range.
- Returns:
- The number of addresses in the range.
-
availableAddressCount
The number of available addresses in the range.
- Returns:
- The number of available addresses in the range.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PublicIpv4PoolRange.Builder,PublicIpv4PoolRange>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-