#[non_exhaustive]pub struct SelfManagedKafkaAccessConfigurationVpcBuilder { /* private fields */ }Expand description
A builder for SelfManagedKafkaAccessConfigurationVpc.
Implementations§
source§impl SelfManagedKafkaAccessConfigurationVpcBuilder
impl SelfManagedKafkaAccessConfigurationVpcBuilder
sourcepub fn subnets(self, input: impl Into<String>) -> Self
pub fn subnets(self, input: impl Into<String>) -> Self
Appends an item to subnets.
To override the contents of this collection use set_subnets.
Specifies the subnets associated with the stream. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
sourcepub fn set_subnets(self, input: Option<Vec<String>>) -> Self
pub fn set_subnets(self, input: Option<Vec<String>>) -> Self
Specifies the subnets associated with the stream. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
sourcepub fn get_subnets(&self) -> &Option<Vec<String>>
pub fn get_subnets(&self) -> &Option<Vec<String>>
Specifies the subnets associated with the stream. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
sourcepub fn security_group(self, input: impl Into<String>) -> Self
pub fn security_group(self, input: impl Into<String>) -> Self
Appends an item to security_group.
To override the contents of this collection use set_security_group.
Specifies the security groups associated with the stream. These security groups must all be in the same VPC. You can specify as many as five security groups.
sourcepub fn set_security_group(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group(self, input: Option<Vec<String>>) -> Self
Specifies the security groups associated with the stream. These security groups must all be in the same VPC. You can specify as many as five security groups.
sourcepub fn get_security_group(&self) -> &Option<Vec<String>>
pub fn get_security_group(&self) -> &Option<Vec<String>>
Specifies the security groups associated with the stream. These security groups must all be in the same VPC. You can specify as many as five security groups.
sourcepub fn build(self) -> SelfManagedKafkaAccessConfigurationVpc
pub fn build(self) -> SelfManagedKafkaAccessConfigurationVpc
Consumes the builder and constructs a SelfManagedKafkaAccessConfigurationVpc.
Trait Implementations§
source§impl Clone for SelfManagedKafkaAccessConfigurationVpcBuilder
impl Clone for SelfManagedKafkaAccessConfigurationVpcBuilder
source§fn clone(&self) -> SelfManagedKafkaAccessConfigurationVpcBuilder
fn clone(&self) -> SelfManagedKafkaAccessConfigurationVpcBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SelfManagedKafkaAccessConfigurationVpcBuilder
impl Default for SelfManagedKafkaAccessConfigurationVpcBuilder
source§fn default() -> SelfManagedKafkaAccessConfigurationVpcBuilder
fn default() -> SelfManagedKafkaAccessConfigurationVpcBuilder
source§impl PartialEq for SelfManagedKafkaAccessConfigurationVpcBuilder
impl PartialEq for SelfManagedKafkaAccessConfigurationVpcBuilder
source§fn eq(&self, other: &SelfManagedKafkaAccessConfigurationVpcBuilder) -> bool
fn eq(&self, other: &SelfManagedKafkaAccessConfigurationVpcBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SelfManagedKafkaAccessConfigurationVpcBuilder
Auto Trait Implementations§
impl Freeze for SelfManagedKafkaAccessConfigurationVpcBuilder
impl RefUnwindSafe for SelfManagedKafkaAccessConfigurationVpcBuilder
impl Send for SelfManagedKafkaAccessConfigurationVpcBuilder
impl Sync for SelfManagedKafkaAccessConfigurationVpcBuilder
impl Unpin for SelfManagedKafkaAccessConfigurationVpcBuilder
impl UnwindSafe for SelfManagedKafkaAccessConfigurationVpcBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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