#[non_exhaustive]pub struct VpcConfigurationUpdateBuilder { /* private fields */ }
Expand description
A builder for VpcConfigurationUpdate
.
Implementations§
source§impl VpcConfigurationUpdateBuilder
impl VpcConfigurationUpdateBuilder
sourcepub fn vpc_configuration_id(self, input: impl Into<String>) -> Self
pub fn vpc_configuration_id(self, input: impl Into<String>) -> Self
Describes an update to the ID of the VPC configuration.
This field is required.sourcepub fn set_vpc_configuration_id(self, input: Option<String>) -> Self
pub fn set_vpc_configuration_id(self, input: Option<String>) -> Self
Describes an update to the ID of the VPC configuration.
sourcepub fn get_vpc_configuration_id(&self) -> &Option<String>
pub fn get_vpc_configuration_id(&self) -> &Option<String>
Describes an update to the ID of the VPC configuration.
sourcepub fn subnet_id_updates(self, input: impl Into<String>) -> Self
pub fn subnet_id_updates(self, input: impl Into<String>) -> Self
Appends an item to subnet_id_updates
.
To override the contents of this collection use set_subnet_id_updates
.
Describes updates to the array of Subnet IDs used by the VPC configuration.
sourcepub fn set_subnet_id_updates(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_id_updates(self, input: Option<Vec<String>>) -> Self
Describes updates to the array of Subnet IDs used by the VPC configuration.
sourcepub fn get_subnet_id_updates(&self) -> &Option<Vec<String>>
pub fn get_subnet_id_updates(&self) -> &Option<Vec<String>>
Describes updates to the array of Subnet IDs used by the VPC configuration.
sourcepub fn security_group_id_updates(self, input: impl Into<String>) -> Self
pub fn security_group_id_updates(self, input: impl Into<String>) -> Self
Appends an item to security_group_id_updates
.
To override the contents of this collection use set_security_group_id_updates
.
Describes updates to the array of SecurityGroup IDs used by the VPC configuration.
sourcepub fn set_security_group_id_updates(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_id_updates(self, input: Option<Vec<String>>) -> Self
Describes updates to the array of SecurityGroup IDs used by the VPC configuration.
sourcepub fn get_security_group_id_updates(&self) -> &Option<Vec<String>>
pub fn get_security_group_id_updates(&self) -> &Option<Vec<String>>
Describes updates to the array of SecurityGroup IDs used by the VPC configuration.
sourcepub fn build(self) -> Result<VpcConfigurationUpdate, BuildError>
pub fn build(self) -> Result<VpcConfigurationUpdate, BuildError>
Consumes the builder and constructs a VpcConfigurationUpdate
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VpcConfigurationUpdateBuilder
impl Clone for VpcConfigurationUpdateBuilder
source§fn clone(&self) -> VpcConfigurationUpdateBuilder
fn clone(&self) -> VpcConfigurationUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for VpcConfigurationUpdateBuilder
impl Default for VpcConfigurationUpdateBuilder
source§fn default() -> VpcConfigurationUpdateBuilder
fn default() -> VpcConfigurationUpdateBuilder
source§impl PartialEq for VpcConfigurationUpdateBuilder
impl PartialEq for VpcConfigurationUpdateBuilder
source§fn eq(&self, other: &VpcConfigurationUpdateBuilder) -> bool
fn eq(&self, other: &VpcConfigurationUpdateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpcConfigurationUpdateBuilder
Auto Trait Implementations§
impl Freeze for VpcConfigurationUpdateBuilder
impl RefUnwindSafe for VpcConfigurationUpdateBuilder
impl Send for VpcConfigurationUpdateBuilder
impl Sync for VpcConfigurationUpdateBuilder
impl Unpin for VpcConfigurationUpdateBuilder
impl UnwindSafe for VpcConfigurationUpdateBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more