#[non_exhaustive]pub struct SelfManagedKafkaAccessConfigurationVpc {
pub subnets: Option<Vec<String>>,
pub security_group: Option<Vec<String>>,
}Expand description
This structure specifies the VPC subnets and security groups for the stream, and whether a public IP address is to be used.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.subnets: 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.
security_group: 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. If you do not specify a security group, the default security group for the VPC is used.
Implementations§
source§impl SelfManagedKafkaAccessConfigurationVpc
impl SelfManagedKafkaAccessConfigurationVpc
sourcepub fn subnets(&self) -> &[String]
pub fn subnets(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnets.is_none().
sourcepub fn security_group(&self) -> &[String]
pub fn security_group(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group.is_none().
source§impl SelfManagedKafkaAccessConfigurationVpc
impl SelfManagedKafkaAccessConfigurationVpc
sourcepub fn builder() -> SelfManagedKafkaAccessConfigurationVpcBuilder
pub fn builder() -> SelfManagedKafkaAccessConfigurationVpcBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for SelfManagedKafkaAccessConfigurationVpc
impl PartialEq for SelfManagedKafkaAccessConfigurationVpc
source§fn eq(&self, other: &SelfManagedKafkaAccessConfigurationVpc) -> bool
fn eq(&self, other: &SelfManagedKafkaAccessConfigurationVpc) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SelfManagedKafkaAccessConfigurationVpc
Auto Trait Implementations§
impl Freeze for SelfManagedKafkaAccessConfigurationVpc
impl RefUnwindSafe for SelfManagedKafkaAccessConfigurationVpc
impl Send for SelfManagedKafkaAccessConfigurationVpc
impl Sync for SelfManagedKafkaAccessConfigurationVpc
impl Unpin for SelfManagedKafkaAccessConfigurationVpc
impl UnwindSafe for SelfManagedKafkaAccessConfigurationVpc
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> 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