@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpamPoolCidr extends Object implements Serializable, Cloneable
A CIDR provisioned to an IPAM pool.
Constructor and Description |
---|
IpamPoolCidr() |
Modifier and Type | Method and Description |
---|---|
IpamPoolCidr |
clone() |
boolean |
equals(Object obj) |
String |
getCidr()
The CIDR provisioned to the IPAM pool.
|
IpamPoolCidrFailureReason |
getFailureReason()
Details related to why an IPAM pool CIDR failed to be provisioned.
|
String |
getIpamPoolCidrId()
The IPAM pool CIDR ID.
|
Integer |
getNetmaskLength()
The netmask length of the CIDR you'd like to provision to a pool.
|
String |
getState()
The state of the CIDR.
|
int |
hashCode() |
void |
setCidr(String cidr)
The CIDR provisioned to the IPAM pool.
|
void |
setFailureReason(IpamPoolCidrFailureReason failureReason)
Details related to why an IPAM pool CIDR failed to be provisioned.
|
void |
setIpamPoolCidrId(String ipamPoolCidrId)
The IPAM pool CIDR ID.
|
void |
setNetmaskLength(Integer netmaskLength)
The netmask length of the CIDR you'd like to provision to a pool.
|
void |
setState(String state)
The state of the CIDR.
|
String |
toString()
Returns a string representation of this object.
|
IpamPoolCidr |
withCidr(String cidr)
The CIDR provisioned to the IPAM pool.
|
IpamPoolCidr |
withFailureReason(IpamPoolCidrFailureReason failureReason)
Details related to why an IPAM pool CIDR failed to be provisioned.
|
IpamPoolCidr |
withIpamPoolCidrId(String ipamPoolCidrId)
The IPAM pool CIDR ID.
|
IpamPoolCidr |
withNetmaskLength(Integer netmaskLength)
The netmask length of the CIDR you'd like to provision to a pool.
|
IpamPoolCidr |
withState(IpamPoolCidrState state)
The state of the CIDR.
|
IpamPoolCidr |
withState(String state)
The state of the CIDR.
|
public void setCidr(String cidr)
The CIDR provisioned to the IPAM pool. 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 provisioned to the IPAM pool. 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 provisioned to the IPAM pool. 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 IpamPoolCidr withCidr(String cidr)
The CIDR provisioned to the IPAM pool. 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 provisioned to the IPAM pool. 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 setState(String state)
The state of the CIDR.
state
- The state of the CIDR.IpamPoolCidrState
public String getState()
The state of the CIDR.
IpamPoolCidrState
public IpamPoolCidr withState(String state)
The state of the CIDR.
state
- The state of the CIDR.IpamPoolCidrState
public IpamPoolCidr withState(IpamPoolCidrState state)
The state of the CIDR.
state
- The state of the CIDR.IpamPoolCidrState
public void setFailureReason(IpamPoolCidrFailureReason failureReason)
Details related to why an IPAM pool CIDR failed to be provisioned.
failureReason
- Details related to why an IPAM pool CIDR failed to be provisioned.public IpamPoolCidrFailureReason getFailureReason()
Details related to why an IPAM pool CIDR failed to be provisioned.
public IpamPoolCidr withFailureReason(IpamPoolCidrFailureReason failureReason)
Details related to why an IPAM pool CIDR failed to be provisioned.
failureReason
- Details related to why an IPAM pool CIDR failed to be provisioned.public void setIpamPoolCidrId(String ipamPoolCidrId)
The IPAM pool CIDR ID.
ipamPoolCidrId
- The IPAM pool CIDR ID.public String getIpamPoolCidrId()
The IPAM pool CIDR ID.
public IpamPoolCidr withIpamPoolCidrId(String ipamPoolCidrId)
The IPAM pool CIDR ID.
ipamPoolCidrId
- The IPAM pool CIDR ID.public void setNetmaskLength(Integer netmaskLength)
The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required.
netmaskLength
- The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning
Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools.
Cannot be used to provision BYOIP CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required.public Integer getNetmaskLength()
The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required.
public IpamPoolCidr withNetmaskLength(Integer netmaskLength)
The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required.
netmaskLength
- The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning
Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools.
Cannot be used to provision BYOIP CIDRs to top-level pools. "NetmaskLength" or "Cidr" is required.public String toString()
toString
in class Object
Object.toString()
public IpamPoolCidr clone()