Class IpamPoolAllocation
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IpamPoolAllocation.Builder,IpamPoolAllocation>
In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic IpamPoolAllocation.Builderbuilder()final Stringcidr()The CIDR for the allocation.final StringA description of the pool allocation.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of an allocation.final StringThe ID of the resource.final StringThe owner of the resource.final StringThe Amazon Web Services Region of the resource.The type of the resource.final StringThe type of the resource.static Class<? extends IpamPoolAllocation.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
-
cidr
The CIDR for the allocation. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is
10.24.34.0/23. An IPv6 CIDR example is2001:DB8::/32.- Returns:
- The CIDR for the allocation. A CIDR is a representation of an IP address and its associated network mask
(or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is
10.24.34.0/23. An IPv6 CIDR example is2001:DB8::/32.
-
ipamPoolAllocationId
The ID of an allocation.
- Returns:
- The ID of an allocation.
-
description
A description of the pool allocation.
- Returns:
- A description of the pool allocation.
-
resourceId
The ID of the resource.
- Returns:
- The ID of the resource.
-
resourceType
The type of the resource.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnIpamPoolAllocationResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of the resource.
- See Also:
-
resourceTypeAsString
The type of the resource.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnIpamPoolAllocationResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of the resource.
- See Also:
-
resourceRegion
The Amazon Web Services Region of the resource.
- Returns:
- The Amazon Web Services Region of the resource.
-
resourceOwner
The owner of the resource.
- Returns:
- The owner of the resource.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<IpamPoolAllocation.Builder,IpamPoolAllocation>
-
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
-