@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 |
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 |
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 |
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 String toString()
toString
in class Object
Object.toString()
public IpamPoolCidr clone()
Copyright © 2022. All rights reserved.