#[non_exhaustive]pub struct VpcConfigurationDescriptionBuilder { /* private fields */ }
Expand description
A builder for VpcConfigurationDescription
.
Implementations§
source§impl VpcConfigurationDescriptionBuilder
impl VpcConfigurationDescriptionBuilder
sourcepub fn vpc_configuration_id(self, input: impl Into<String>) -> Self
pub fn vpc_configuration_id(self, input: impl Into<String>) -> Self
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
The ID of the VPC configuration.
sourcepub fn get_vpc_configuration_id(&self) -> &Option<String>
pub fn get_vpc_configuration_id(&self) -> &Option<String>
The ID of the VPC configuration.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The ID of the associated VPC.
This field is required.sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the associated VPC.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the associated VPC.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids
.
To override the contents of this collection use set_subnet_ids
.
The array of Subnet IDs used by the VPC configuration.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
The array of Subnet IDs used by the VPC configuration.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
The array of Subnet IDs used by the VPC configuration.
sourcepub fn security_group_ids(self, input: impl Into<String>) -> Self
pub fn security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to security_group_ids
.
To override the contents of this collection use set_security_group_ids
.
The array of SecurityGroup IDs used by the VPC configuration.
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
The array of SecurityGroup IDs used by the VPC configuration.
sourcepub fn get_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_security_group_ids(&self) -> &Option<Vec<String>>
The array of SecurityGroup IDs used by the VPC configuration.
sourcepub fn build(self) -> Result<VpcConfigurationDescription, BuildError>
pub fn build(self) -> Result<VpcConfigurationDescription, BuildError>
Consumes the builder and constructs a VpcConfigurationDescription
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VpcConfigurationDescriptionBuilder
impl Clone for VpcConfigurationDescriptionBuilder
source§fn clone(&self) -> VpcConfigurationDescriptionBuilder
fn clone(&self) -> VpcConfigurationDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for VpcConfigurationDescriptionBuilder
impl Default for VpcConfigurationDescriptionBuilder
source§fn default() -> VpcConfigurationDescriptionBuilder
fn default() -> VpcConfigurationDescriptionBuilder
source§impl PartialEq for VpcConfigurationDescriptionBuilder
impl PartialEq for VpcConfigurationDescriptionBuilder
source§fn eq(&self, other: &VpcConfigurationDescriptionBuilder) -> bool
fn eq(&self, other: &VpcConfigurationDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpcConfigurationDescriptionBuilder
Auto Trait Implementations§
impl Freeze for VpcConfigurationDescriptionBuilder
impl RefUnwindSafe for VpcConfigurationDescriptionBuilder
impl Send for VpcConfigurationDescriptionBuilder
impl Sync for VpcConfigurationDescriptionBuilder
impl Unpin for VpcConfigurationDescriptionBuilder
impl UnwindSafe for VpcConfigurationDescriptionBuilder
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