@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSubnetCidrReservationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateSubnetCidrReservationRequest>
NOOP| Constructor and Description |
|---|
CreateSubnetCidrReservationRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateSubnetCidrReservationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCidr()
The IPv4 or IPV6 CIDR range to reserve.
|
String |
getDescription()
The description to assign to the subnet CIDR reservation.
|
Request<CreateSubnetCidrReservationRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getReservationType()
The type of reservation.
|
String |
getSubnetId()
The ID of the subnet.
|
List<TagSpecification> |
getTagSpecifications()
The tags to assign to the subnet CIDR reservation.
|
int |
hashCode() |
void |
setCidr(String cidr)
The IPv4 or IPV6 CIDR range to reserve.
|
void |
setDescription(String description)
The description to assign to the subnet CIDR reservation.
|
void |
setReservationType(String reservationType)
The type of reservation.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the subnet CIDR reservation.
|
String |
toString()
Returns a string representation of this object.
|
CreateSubnetCidrReservationRequest |
withCidr(String cidr)
The IPv4 or IPV6 CIDR range to reserve.
|
CreateSubnetCidrReservationRequest |
withDescription(String description)
The description to assign to the subnet CIDR reservation.
|
CreateSubnetCidrReservationRequest |
withReservationType(String reservationType)
The type of reservation.
|
CreateSubnetCidrReservationRequest |
withReservationType(SubnetCidrReservationType reservationType)
The type of reservation.
|
CreateSubnetCidrReservationRequest |
withSubnetId(String subnetId)
The ID of the subnet.
|
CreateSubnetCidrReservationRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the subnet CIDR reservation.
|
CreateSubnetCidrReservationRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the subnet CIDR reservation.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setSubnetId(String subnetId)
The ID of the subnet.
subnetId - The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public CreateSubnetCidrReservationRequest withSubnetId(String subnetId)
The ID of the subnet.
subnetId - The ID of the subnet.public void setCidr(String cidr)
The IPv4 or IPV6 CIDR range to reserve.
cidr - The IPv4 or IPV6 CIDR range to reserve.public String getCidr()
The IPv4 or IPV6 CIDR range to reserve.
public CreateSubnetCidrReservationRequest withCidr(String cidr)
The IPv4 or IPV6 CIDR range to reserve.
cidr - The IPv4 or IPV6 CIDR range to reserve.public void setReservationType(String reservationType)
The type of reservation.
The following are valid values:
prefix: The Amazon EC2 Prefix Delegation feature assigns the IP addresses to network interfaces that
are associated with an instance. For information about Prefix Delegation, see Prefix Delegation for
Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
explicit: You manually assign the IP addresses to resources that reside in your subnet.
reservationType - The type of reservation.
The following are valid values:
prefix: The Amazon EC2 Prefix Delegation feature assigns the IP addresses to network
interfaces that are associated with an instance. For information about Prefix Delegation, see Prefix Delegation
for Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
explicit: You manually assign the IP addresses to resources that reside in your subnet.
SubnetCidrReservationTypepublic String getReservationType()
The type of reservation.
The following are valid values:
prefix: The Amazon EC2 Prefix Delegation feature assigns the IP addresses to network interfaces that
are associated with an instance. For information about Prefix Delegation, see Prefix Delegation for
Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
explicit: You manually assign the IP addresses to resources that reside in your subnet.
The following are valid values:
prefix: The Amazon EC2 Prefix Delegation feature assigns the IP addresses to network
interfaces that are associated with an instance. For information about Prefix Delegation, see Prefix Delegation
for Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
explicit: You manually assign the IP addresses to resources that reside in your subnet.
SubnetCidrReservationTypepublic CreateSubnetCidrReservationRequest withReservationType(String reservationType)
The type of reservation.
The following are valid values:
prefix: The Amazon EC2 Prefix Delegation feature assigns the IP addresses to network interfaces that
are associated with an instance. For information about Prefix Delegation, see Prefix Delegation for
Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
explicit: You manually assign the IP addresses to resources that reside in your subnet.
reservationType - The type of reservation.
The following are valid values:
prefix: The Amazon EC2 Prefix Delegation feature assigns the IP addresses to network
interfaces that are associated with an instance. For information about Prefix Delegation, see Prefix Delegation
for Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
explicit: You manually assign the IP addresses to resources that reside in your subnet.
SubnetCidrReservationTypepublic CreateSubnetCidrReservationRequest withReservationType(SubnetCidrReservationType reservationType)
The type of reservation.
The following are valid values:
prefix: The Amazon EC2 Prefix Delegation feature assigns the IP addresses to network interfaces that
are associated with an instance. For information about Prefix Delegation, see Prefix Delegation for
Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
explicit: You manually assign the IP addresses to resources that reside in your subnet.
reservationType - The type of reservation.
The following are valid values:
prefix: The Amazon EC2 Prefix Delegation feature assigns the IP addresses to network
interfaces that are associated with an instance. For information about Prefix Delegation, see Prefix Delegation
for Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
explicit: You manually assign the IP addresses to resources that reside in your subnet.
SubnetCidrReservationTypepublic void setDescription(String description)
The description to assign to the subnet CIDR reservation.
description - The description to assign to the subnet CIDR reservation.public String getDescription()
The description to assign to the subnet CIDR reservation.
public CreateSubnetCidrReservationRequest withDescription(String description)
The description to assign to the subnet CIDR reservation.
description - The description to assign to the subnet CIDR reservation.public List<TagSpecification> getTagSpecifications()
The tags to assign to the subnet CIDR reservation.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the subnet CIDR reservation.
tagSpecifications - The tags to assign to the subnet CIDR reservation.public CreateSubnetCidrReservationRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the subnet CIDR reservation.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection) or withTagSpecifications(java.util.Collection) if
you want to override the existing values.
tagSpecifications - The tags to assign to the subnet CIDR reservation.public CreateSubnetCidrReservationRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the subnet CIDR reservation.
tagSpecifications - The tags to assign to the subnet CIDR reservation.public Request<CreateSubnetCidrReservationRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<CreateSubnetCidrReservationRequest>public String toString()
toString in class ObjectObject.toString()public CreateSubnetCidrReservationRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.