@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AllocateIpamPoolCidrRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AllocateIpamPoolCidrRequest>
NOOP
Constructor and Description |
---|
AllocateIpamPoolCidrRequest() |
Modifier and Type | Method and Description |
---|---|
AllocateIpamPoolCidrRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAllowedCidrs()
Include a particular CIDR range that can be returned by the pool.
|
String |
getCidr()
The CIDR you would like to allocate from the IPAM pool.
|
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getDescription()
A description for the allocation.
|
List<String> |
getDisallowedCidrs()
Exclude a particular CIDR range from being returned by the pool.
|
Request<AllocateIpamPoolCidrRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getIpamPoolId()
The ID of the IPAM pool from which you would like to allocate a CIDR.
|
Integer |
getNetmaskLength()
The netmask length of the CIDR you would like to allocate from the IPAM pool.
|
Boolean |
getPreviewNextCidr()
A preview of the next available CIDR in a pool.
|
int |
hashCode() |
Boolean |
isPreviewNextCidr()
A preview of the next available CIDR in a pool.
|
void |
setAllowedCidrs(Collection<String> allowedCidrs)
Include a particular CIDR range that can be returned by the pool.
|
void |
setCidr(String cidr)
The CIDR you would like to allocate from the IPAM pool.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
A description for the allocation.
|
void |
setDisallowedCidrs(Collection<String> disallowedCidrs)
Exclude a particular CIDR range from being returned by the pool.
|
void |
setIpamPoolId(String ipamPoolId)
The ID of the IPAM pool from which you would like to allocate a CIDR.
|
void |
setNetmaskLength(Integer netmaskLength)
The netmask length of the CIDR you would like to allocate from the IPAM pool.
|
void |
setPreviewNextCidr(Boolean previewNextCidr)
A preview of the next available CIDR in a pool.
|
String |
toString()
Returns a string representation of this object.
|
AllocateIpamPoolCidrRequest |
withAllowedCidrs(Collection<String> allowedCidrs)
Include a particular CIDR range that can be returned by the pool.
|
AllocateIpamPoolCidrRequest |
withAllowedCidrs(String... allowedCidrs)
Include a particular CIDR range that can be returned by the pool.
|
AllocateIpamPoolCidrRequest |
withCidr(String cidr)
The CIDR you would like to allocate from the IPAM pool.
|
AllocateIpamPoolCidrRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
AllocateIpamPoolCidrRequest |
withDescription(String description)
A description for the allocation.
|
AllocateIpamPoolCidrRequest |
withDisallowedCidrs(Collection<String> disallowedCidrs)
Exclude a particular CIDR range from being returned by the pool.
|
AllocateIpamPoolCidrRequest |
withDisallowedCidrs(String... disallowedCidrs)
Exclude a particular CIDR range from being returned by the pool.
|
AllocateIpamPoolCidrRequest |
withIpamPoolId(String ipamPoolId)
The ID of the IPAM pool from which you would like to allocate a CIDR.
|
AllocateIpamPoolCidrRequest |
withNetmaskLength(Integer netmaskLength)
The netmask length of the CIDR you would like to allocate from the IPAM pool.
|
AllocateIpamPoolCidrRequest |
withPreviewNextCidr(Boolean previewNextCidr)
A preview of the next available CIDR in a pool.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIpamPoolId(String ipamPoolId)
The ID of the IPAM pool from which you would like to allocate a CIDR.
ipamPoolId
- The ID of the IPAM pool from which you would like to allocate a CIDR.public String getIpamPoolId()
The ID of the IPAM pool from which you would like to allocate a CIDR.
public AllocateIpamPoolCidrRequest withIpamPoolId(String ipamPoolId)
The ID of the IPAM pool from which you would like to allocate a CIDR.
ipamPoolId
- The ID of the IPAM pool from which you would like to allocate a CIDR.public void setCidr(String cidr)
The CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible values: Any available IPv4 or IPv6 CIDR.
cidr
- The CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible values: Any available IPv4 or IPv6 CIDR.
public String getCidr()
The CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible values: Any available IPv4 or IPv6 CIDR.
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible values: Any available IPv4 or IPv6 CIDR.
public AllocateIpamPoolCidrRequest withCidr(String cidr)
The CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible values: Any available IPv4 or IPv6 CIDR.
cidr
- The CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible values: Any available IPv4 or IPv6 CIDR.
public void setNetmaskLength(Integer netmaskLength)
The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
netmaskLength
- The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
public Integer getNetmaskLength()
The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
public AllocateIpamPoolCidrRequest withNetmaskLength(Integer netmaskLength)
The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
netmaskLength
- The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:
If there is no DefaultNetmaskLength allocation rule set on the pool, you must specify either the NetmaskLength or the CIDR.
If the DefaultNetmaskLength allocation rule is set on the pool, you can specify either the NetmaskLength or the CIDR and the DefaultNetmaskLength allocation rule will be ignored.
Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.
public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see Ensuring idempotency.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
public AllocateIpamPoolCidrRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see Ensuring idempotency.public void setDescription(String description)
A description for the allocation.
description
- A description for the allocation.public String getDescription()
A description for the allocation.
public AllocateIpamPoolCidrRequest withDescription(String description)
A description for the allocation.
description
- A description for the allocation.public void setPreviewNextCidr(Boolean previewNextCidr)
A preview of the next available CIDR in a pool.
previewNextCidr
- A preview of the next available CIDR in a pool.public Boolean getPreviewNextCidr()
A preview of the next available CIDR in a pool.
public AllocateIpamPoolCidrRequest withPreviewNextCidr(Boolean previewNextCidr)
A preview of the next available CIDR in a pool.
previewNextCidr
- A preview of the next available CIDR in a pool.public Boolean isPreviewNextCidr()
A preview of the next available CIDR in a pool.
public List<String> getAllowedCidrs()
Include a particular CIDR range that can be returned by the pool. Allowed CIDRs are only allowed if using netmask length for allocation.
public void setAllowedCidrs(Collection<String> allowedCidrs)
Include a particular CIDR range that can be returned by the pool. Allowed CIDRs are only allowed if using netmask length for allocation.
allowedCidrs
- Include a particular CIDR range that can be returned by the pool. Allowed CIDRs are only allowed if using
netmask length for allocation.public AllocateIpamPoolCidrRequest withAllowedCidrs(String... allowedCidrs)
Include a particular CIDR range that can be returned by the pool. Allowed CIDRs are only allowed if using netmask length for allocation.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedCidrs(java.util.Collection)
or withAllowedCidrs(java.util.Collection)
if you want to
override the existing values.
allowedCidrs
- Include a particular CIDR range that can be returned by the pool. Allowed CIDRs are only allowed if using
netmask length for allocation.public AllocateIpamPoolCidrRequest withAllowedCidrs(Collection<String> allowedCidrs)
Include a particular CIDR range that can be returned by the pool. Allowed CIDRs are only allowed if using netmask length for allocation.
allowedCidrs
- Include a particular CIDR range that can be returned by the pool. Allowed CIDRs are only allowed if using
netmask length for allocation.public List<String> getDisallowedCidrs()
Exclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if using netmask length for allocation.
public void setDisallowedCidrs(Collection<String> disallowedCidrs)
Exclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if using netmask length for allocation.
disallowedCidrs
- Exclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if
using netmask length for allocation.public AllocateIpamPoolCidrRequest withDisallowedCidrs(String... disallowedCidrs)
Exclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if using netmask length for allocation.
NOTE: This method appends the values to the existing list (if any). Use
setDisallowedCidrs(java.util.Collection)
or withDisallowedCidrs(java.util.Collection)
if you
want to override the existing values.
disallowedCidrs
- Exclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if
using netmask length for allocation.public AllocateIpamPoolCidrRequest withDisallowedCidrs(Collection<String> disallowedCidrs)
Exclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if using netmask length for allocation.
disallowedCidrs
- Exclude a particular CIDR range from being returned by the pool. Disallowed CIDRs are only allowed if
using netmask length for allocation.public Request<AllocateIpamPoolCidrRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AllocateIpamPoolCidrRequest>
public String toString()
toString
in class Object
Object.toString()
public AllocateIpamPoolCidrRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()