@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
IpamPoolAllocation.Builder |
Modifier and Type | Method and Description |
---|---|
static IpamPoolAllocation.Builder |
builder() |
String |
cidr()
The CIDR for the allocation.
|
String |
description()
A description of the pool allocation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ipamPoolAllocationId()
The ID of an allocation.
|
String |
resourceId()
The ID of the resource.
|
String |
resourceOwner()
The owner of the resource.
|
String |
resourceRegion()
The Amazon Web Services Region of the resource.
|
IpamPoolAllocationResourceType |
resourceType()
The type of the resource.
|
String |
resourceTypeAsString()
The type of the resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IpamPoolAllocation.Builder> |
serializableBuilderClass() |
IpamPoolAllocation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
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 is 2001:DB8::/32
.
10.24.34.0/23
.
An IPv6 CIDR example is 2001:DB8::/32
.public final String ipamPoolAllocationId()
The ID of an allocation.
public final String description()
A description of the pool allocation.
public final String resourceId()
The ID of the resource.
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, resourceType
will
return IpamPoolAllocationResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from resourceTypeAsString()
.
IpamPoolAllocationResourceType
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, resourceType
will
return IpamPoolAllocationResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from resourceTypeAsString()
.
IpamPoolAllocationResourceType
public final String resourceRegion()
The Amazon Web Services Region of the resource.
public final String resourceOwner()
The owner of the resource.
public IpamPoolAllocation.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<IpamPoolAllocation.Builder,IpamPoolAllocation>
public static IpamPoolAllocation.Builder builder()
public static Class<? extends IpamPoolAllocation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.