#[non_exhaustive]pub struct VpcDestinationConfigurationBuilder { /* private fields */ }
Expand description
A builder for VpcDestinationConfiguration
.
Implementations§
source§impl VpcDestinationConfigurationBuilder
impl VpcDestinationConfigurationBuilder
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 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 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 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 build(self) -> VpcDestinationConfiguration
pub fn build(self) -> VpcDestinationConfiguration
Consumes the builder and constructs a VpcDestinationConfiguration
.
Trait Implementations§
source§impl Clone for VpcDestinationConfigurationBuilder
impl Clone for VpcDestinationConfigurationBuilder
source§fn clone(&self) -> VpcDestinationConfigurationBuilder
fn clone(&self) -> VpcDestinationConfigurationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for VpcDestinationConfigurationBuilder
impl Default for VpcDestinationConfigurationBuilder
source§fn default() -> VpcDestinationConfigurationBuilder
fn default() -> VpcDestinationConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<VpcDestinationConfigurationBuilder> for VpcDestinationConfigurationBuilder
impl PartialEq<VpcDestinationConfigurationBuilder> for VpcDestinationConfigurationBuilder
source§fn eq(&self, other: &VpcDestinationConfigurationBuilder) -> bool
fn eq(&self, other: &VpcDestinationConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.