#[non_exhaustive]pub struct ModifyVpcTenancyInputBuilder { /* private fields */ }
Expand description
A builder for ModifyVpcTenancyInput
.
Implementations§
source§impl ModifyVpcTenancyInputBuilder
impl ModifyVpcTenancyInputBuilder
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC.
sourcepub fn instance_tenancy(self, input: VpcTenancy) -> Self
pub fn instance_tenancy(self, input: VpcTenancy) -> Self
The instance tenancy attribute for the VPC.
sourcepub fn set_instance_tenancy(self, input: Option<VpcTenancy>) -> Self
pub fn set_instance_tenancy(self, input: Option<VpcTenancy>) -> Self
The instance tenancy attribute for the VPC.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
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 set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
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 build(self) -> Result<ModifyVpcTenancyInput, BuildError>
pub fn build(self) -> Result<ModifyVpcTenancyInput, BuildError>
Consumes the builder and constructs a ModifyVpcTenancyInput
.
Trait Implementations§
source§impl Clone for ModifyVpcTenancyInputBuilder
impl Clone for ModifyVpcTenancyInputBuilder
source§fn clone(&self) -> ModifyVpcTenancyInputBuilder
fn clone(&self) -> ModifyVpcTenancyInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ModifyVpcTenancyInputBuilder
impl Debug for ModifyVpcTenancyInputBuilder
source§impl Default for ModifyVpcTenancyInputBuilder
impl Default for ModifyVpcTenancyInputBuilder
source§fn default() -> ModifyVpcTenancyInputBuilder
fn default() -> ModifyVpcTenancyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ModifyVpcTenancyInputBuilder> for ModifyVpcTenancyInputBuilder
impl PartialEq<ModifyVpcTenancyInputBuilder> for ModifyVpcTenancyInputBuilder
source§fn eq(&self, other: &ModifyVpcTenancyInputBuilder) -> bool
fn eq(&self, other: &ModifyVpcTenancyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyVpcTenancyInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ModifyVpcTenancyInputBuilder
impl Send for ModifyVpcTenancyInputBuilder
impl Sync for ModifyVpcTenancyInputBuilder
impl Unpin for ModifyVpcTenancyInputBuilder
impl UnwindSafe for ModifyVpcTenancyInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more