#[non_exhaustive]pub struct SelfManagedKafkaAccessConfigurationVpc { /* private fields */ }
Expand description
This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
Implementations§
source§impl SelfManagedKafkaAccessConfigurationVpc
impl SelfManagedKafkaAccessConfigurationVpc
sourcepub fn subnets(&self) -> Option<&[String]>
pub fn subnets(&self) -> Option<&[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) -> Option<&[String]>
pub fn security_group(&self) -> Option<&[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. If you do not specify a security group, the default security group for the VPC is used.
source§impl SelfManagedKafkaAccessConfigurationVpc
impl SelfManagedKafkaAccessConfigurationVpc
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SelfManagedKafkaAccessConfigurationVpc
.
Trait Implementations§
source§impl Clone for SelfManagedKafkaAccessConfigurationVpc
impl Clone for SelfManagedKafkaAccessConfigurationVpc
source§fn clone(&self) -> SelfManagedKafkaAccessConfigurationVpc
fn clone(&self) -> SelfManagedKafkaAccessConfigurationVpc
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 PartialEq<SelfManagedKafkaAccessConfigurationVpc> for SelfManagedKafkaAccessConfigurationVpc
impl PartialEq<SelfManagedKafkaAccessConfigurationVpc> for SelfManagedKafkaAccessConfigurationVpc
source§fn eq(&self, other: &SelfManagedKafkaAccessConfigurationVpc) -> bool
fn eq(&self, other: &SelfManagedKafkaAccessConfigurationVpc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.