#[non_exhaustive]pub struct CreateSubnetCidrReservationInput { /* private fields */ }
Implementations§
source§impl CreateSubnetCidrReservationInput
impl CreateSubnetCidrReservationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateSubnetCidrReservation, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateSubnetCidrReservation, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateSubnetCidrReservation
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateSubnetCidrReservationInput
.
source§impl CreateSubnetCidrReservationInput
impl CreateSubnetCidrReservationInput
sourcepub fn reservation_type(&self) -> Option<&SubnetCidrReservationType>
pub fn reservation_type(&self) -> Option<&SubnetCidrReservationType>
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.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description to assign to the subnet CIDR reservation.
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn tag_specifications(&self) -> Option<&[TagSpecification]>
pub fn tag_specifications(&self) -> Option<&[TagSpecification]>
The tags to assign to the subnet CIDR reservation.
Trait Implementations§
source§impl Clone for CreateSubnetCidrReservationInput
impl Clone for CreateSubnetCidrReservationInput
source§fn clone(&self) -> CreateSubnetCidrReservationInput
fn clone(&self) -> CreateSubnetCidrReservationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<CreateSubnetCidrReservationInput> for CreateSubnetCidrReservationInput
impl PartialEq<CreateSubnetCidrReservationInput> for CreateSubnetCidrReservationInput
source§fn eq(&self, other: &CreateSubnetCidrReservationInput) -> bool
fn eq(&self, other: &CreateSubnetCidrReservationInput) -> bool
self
and other
values to be equal, and is used
by ==
.