Class IpamPoolAllocation
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.IpamPoolAllocation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IpamPoolAllocation.Builder,IpamPoolAllocation>
@Generated("software.amazon.awssdk:codegen") public final class IpamPoolAllocation extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIpamPoolAllocation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IpamPoolAllocation.Builderbuilder()Stringcidr()The CIDR for the allocation.Stringdescription()A description of the pool allocation.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringipamPoolAllocationId()The ID of an allocation.StringresourceId()The ID of the resource.StringresourceOwner()The owner of the resource.StringresourceRegion()The Amazon Web Services Region of the resource.IpamPoolAllocationResourceTyperesourceType()The type of the resource.StringresourceTypeAsString()The type of the resource.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends IpamPoolAllocation.Builder>serializableBuilderClass()IpamPoolAllocation.BuildertoBuilder()StringtoString()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
-
cidr
public final String 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
public final String ipamPoolAllocationId()
The ID of an allocation.
- Returns:
- The ID of an allocation.
-
description
public final String description()
A description of the pool allocation.
- Returns:
- A description of the pool allocation.
-
resourceId
public final String resourceId()
The ID of the resource.
- Returns:
- The ID of the resource.
-
resourceType
public final IpamPoolAllocationResourceType 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:
IpamPoolAllocationResourceType
-
resourceTypeAsString
public final String 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:
IpamPoolAllocationResourceType
-
resourceRegion
public final String resourceRegion()
The Amazon Web Services Region of the resource.
- Returns:
- The Amazon Web Services Region of the resource.
-
resourceOwner
public final String resourceOwner()
The owner of the resource.
- Returns:
- The owner of the resource.
-
toBuilder
public IpamPoolAllocation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IpamPoolAllocation.Builder,IpamPoolAllocation>
-
builder
public static IpamPoolAllocation.Builder builder()
-
serializableBuilderClass
public static Class<? extends IpamPoolAllocation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-