@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpamPoolAllocation extends Object implements Serializable, Cloneable
In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource.
Constructor and Description |
---|
IpamPoolAllocation() |
Modifier and Type | Method and Description |
---|---|
IpamPoolAllocation |
clone() |
boolean |
equals(Object obj) |
String |
getCidr()
The CIDR for the allocation.
|
String |
getDescription()
A description of the pool allocation.
|
String |
getIpamPoolAllocationId()
The ID of an allocation.
|
String |
getResourceId()
The ID of the resource.
|
String |
getResourceOwner()
The owner of the resource.
|
String |
getResourceRegion()
The Amazon Web Services Region of the resource.
|
String |
getResourceType()
The type of the resource.
|
int |
hashCode() |
void |
setCidr(String cidr)
The CIDR for the allocation.
|
void |
setDescription(String description)
A description of the pool allocation.
|
void |
setIpamPoolAllocationId(String ipamPoolAllocationId)
The ID of an allocation.
|
void |
setResourceId(String resourceId)
The ID of the resource.
|
void |
setResourceOwner(String resourceOwner)
The owner of the resource.
|
void |
setResourceRegion(String resourceRegion)
The Amazon Web Services Region of the resource.
|
void |
setResourceType(String resourceType)
The type of the resource.
|
String |
toString()
Returns a string representation of this object.
|
IpamPoolAllocation |
withCidr(String cidr)
The CIDR for the allocation.
|
IpamPoolAllocation |
withDescription(String description)
A description of the pool allocation.
|
IpamPoolAllocation |
withIpamPoolAllocationId(String ipamPoolAllocationId)
The ID of an allocation.
|
IpamPoolAllocation |
withResourceId(String resourceId)
The ID of the resource.
|
IpamPoolAllocation |
withResourceOwner(String resourceOwner)
The owner of the resource.
|
IpamPoolAllocation |
withResourceRegion(String resourceRegion)
The Amazon Web Services Region of the resource.
|
IpamPoolAllocation |
withResourceType(IpamPoolAllocationResourceType resourceType)
The type of the resource.
|
IpamPoolAllocation |
withResourceType(String resourceType)
The type of the resource.
|
public void setCidr(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
.
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
.public String getCidr()
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 IpamPoolAllocation withCidr(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
.
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
.public void setIpamPoolAllocationId(String ipamPoolAllocationId)
The ID of an allocation.
ipamPoolAllocationId
- The ID of an allocation.public String getIpamPoolAllocationId()
The ID of an allocation.
public IpamPoolAllocation withIpamPoolAllocationId(String ipamPoolAllocationId)
The ID of an allocation.
ipamPoolAllocationId
- The ID of an allocation.public void setDescription(String description)
A description of the pool allocation.
description
- A description of the pool allocation.public String getDescription()
A description of the pool allocation.
public IpamPoolAllocation withDescription(String description)
A description of the pool allocation.
description
- A description of the pool allocation.public void setResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public String getResourceId()
The ID of the resource.
public IpamPoolAllocation withResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public void setResourceType(String resourceType)
The type of the resource.
resourceType
- The type of the resource.IpamPoolAllocationResourceType
public String getResourceType()
The type of the resource.
IpamPoolAllocationResourceType
public IpamPoolAllocation withResourceType(String resourceType)
The type of the resource.
resourceType
- The type of the resource.IpamPoolAllocationResourceType
public IpamPoolAllocation withResourceType(IpamPoolAllocationResourceType resourceType)
The type of the resource.
resourceType
- The type of the resource.IpamPoolAllocationResourceType
public void setResourceRegion(String resourceRegion)
The Amazon Web Services Region of the resource.
resourceRegion
- The Amazon Web Services Region of the resource.public String getResourceRegion()
The Amazon Web Services Region of the resource.
public IpamPoolAllocation withResourceRegion(String resourceRegion)
The Amazon Web Services Region of the resource.
resourceRegion
- The Amazon Web Services Region of the resource.public void setResourceOwner(String resourceOwner)
The owner of the resource.
resourceOwner
- The owner of the resource.public String getResourceOwner()
The owner of the resource.
public IpamPoolAllocation withResourceOwner(String resourceOwner)
The owner of the resource.
resourceOwner
- The owner of the resource.public String toString()
toString
in class Object
Object.toString()
public IpamPoolAllocation clone()