#[non_exhaustive]pub struct VpcDestinationPropertiesBuilder { /* private fields */ }
Expand description
A builder for VpcDestinationProperties
.
Implementations§
source§impl VpcDestinationPropertiesBuilder
impl VpcDestinationPropertiesBuilder
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 subnet IDs of the VPC destination.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
The subnet IDs of the VPC destination.
sourcepub fn get_subnet_ids(&self) -> &Option<Vec<String>>
pub fn get_subnet_ids(&self) -> &Option<Vec<String>>
The subnet IDs of the VPC destination.
sourcepub fn security_groups(self, input: impl Into<String>) -> Self
pub fn security_groups(self, input: impl Into<String>) -> Self
Appends an item to security_groups
.
To override the contents of this collection use set_security_groups
.
The security groups of the VPC destination.
sourcepub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<String>>) -> Self
The security groups of the VPC destination.
sourcepub fn get_security_groups(&self) -> &Option<Vec<String>>
pub fn get_security_groups(&self) -> &Option<Vec<String>>
The security groups of the VPC destination.
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 get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the VPC.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
sourcepub fn build(self) -> VpcDestinationProperties
pub fn build(self) -> VpcDestinationProperties
Consumes the builder and constructs a VpcDestinationProperties
.
Trait Implementations§
source§impl Clone for VpcDestinationPropertiesBuilder
impl Clone for VpcDestinationPropertiesBuilder
source§fn clone(&self) -> VpcDestinationPropertiesBuilder
fn clone(&self) -> VpcDestinationPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for VpcDestinationPropertiesBuilder
impl Default for VpcDestinationPropertiesBuilder
source§fn default() -> VpcDestinationPropertiesBuilder
fn default() -> VpcDestinationPropertiesBuilder
source§impl PartialEq for VpcDestinationPropertiesBuilder
impl PartialEq for VpcDestinationPropertiesBuilder
source§fn eq(&self, other: &VpcDestinationPropertiesBuilder) -> bool
fn eq(&self, other: &VpcDestinationPropertiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.