Struct aws_sdk_securityhub::model::aws_ec2_vpc_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AwsEc2VpcDetails
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> AwsEc2VpcDetails
pub fn build(self) -> AwsEc2VpcDetails
Consumes the builder and constructs a AwsEc2VpcDetails
.