#[non_exhaustive]pub struct AwsEc2VpcDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEc2VpcDetails
.
Implementations§
source§impl AwsEc2VpcDetailsBuilder
impl AwsEc2VpcDetailsBuilder
sourcepub fn cidr_block_association_set(self, input: CidrBlockAssociation) -> Self
pub fn cidr_block_association_set(self, input: CidrBlockAssociation) -> Self
Appends an item to cidr_block_association_set
.
To override the contents of this collection use set_cidr_block_association_set
.
Information about the IPv4 CIDR blocks associated with the VPC.
sourcepub fn set_cidr_block_association_set(
self,
input: Option<Vec<CidrBlockAssociation>>
) -> Self
pub fn set_cidr_block_association_set( self, input: Option<Vec<CidrBlockAssociation>> ) -> Self
Information about the IPv4 CIDR blocks associated with the VPC.
sourcepub fn get_cidr_block_association_set(
&self
) -> &Option<Vec<CidrBlockAssociation>>
pub fn get_cidr_block_association_set( &self ) -> &Option<Vec<CidrBlockAssociation>>
Information about the IPv4 CIDR blocks associated with the VPC.
sourcepub fn ipv6_cidr_block_association_set(
self,
input: Ipv6CidrBlockAssociation
) -> Self
pub fn ipv6_cidr_block_association_set( self, input: Ipv6CidrBlockAssociation ) -> Self
Appends an item to ipv6_cidr_block_association_set
.
To override the contents of this collection use set_ipv6_cidr_block_association_set
.
Information about the IPv6 CIDR blocks associated with the VPC.
sourcepub fn set_ipv6_cidr_block_association_set(
self,
input: Option<Vec<Ipv6CidrBlockAssociation>>
) -> Self
pub fn set_ipv6_cidr_block_association_set( self, input: Option<Vec<Ipv6CidrBlockAssociation>> ) -> Self
Information about the IPv6 CIDR blocks associated with the VPC.
sourcepub fn get_ipv6_cidr_block_association_set(
&self
) -> &Option<Vec<Ipv6CidrBlockAssociation>>
pub fn get_ipv6_cidr_block_association_set( &self ) -> &Option<Vec<Ipv6CidrBlockAssociation>>
Information about the IPv6 CIDR blocks associated with the VPC.
sourcepub fn dhcp_options_id(self, input: impl Into<String>) -> Self
pub fn dhcp_options_id(self, input: impl Into<String>) -> Self
The identifier of the set of Dynamic Host Configuration Protocol (DHCP) options that are associated with the VPC. If the default options are associated with the VPC, then this is default.
sourcepub fn set_dhcp_options_id(self, input: Option<String>) -> Self
pub fn set_dhcp_options_id(self, input: Option<String>) -> Self
The identifier of the set of Dynamic Host Configuration Protocol (DHCP) options that are associated with the VPC. If the default options are associated with the VPC, then this is default.
sourcepub fn get_dhcp_options_id(&self) -> &Option<String>
pub fn get_dhcp_options_id(&self) -> &Option<String>
The identifier of the set of Dynamic Host Configuration Protocol (DHCP) options that are associated with the VPC. If the default options are associated with the VPC, then this is default.
sourcepub fn state(self, input: impl Into<String>) -> Self
pub fn state(self, input: impl Into<String>) -> Self
The current state of the VPC. Valid values are available
or pending
.
sourcepub fn set_state(self, input: Option<String>) -> Self
pub fn set_state(self, input: Option<String>) -> Self
The current state of the VPC. Valid values are available
or pending
.
sourcepub fn get_state(&self) -> &Option<String>
pub fn get_state(&self) -> &Option<String>
The current state of the VPC. Valid values are available
or pending
.
sourcepub fn build(self) -> AwsEc2VpcDetails
pub fn build(self) -> AwsEc2VpcDetails
Consumes the builder and constructs a AwsEc2VpcDetails
.
Trait Implementations§
source§impl Clone for AwsEc2VpcDetailsBuilder
impl Clone for AwsEc2VpcDetailsBuilder
source§fn clone(&self) -> AwsEc2VpcDetailsBuilder
fn clone(&self) -> AwsEc2VpcDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsEc2VpcDetailsBuilder
impl Debug for AwsEc2VpcDetailsBuilder
source§impl Default for AwsEc2VpcDetailsBuilder
impl Default for AwsEc2VpcDetailsBuilder
source§fn default() -> AwsEc2VpcDetailsBuilder
fn default() -> AwsEc2VpcDetailsBuilder
source§impl PartialEq for AwsEc2VpcDetailsBuilder
impl PartialEq for AwsEc2VpcDetailsBuilder
source§fn eq(&self, other: &AwsEc2VpcDetailsBuilder) -> bool
fn eq(&self, other: &AwsEc2VpcDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.