pub struct Builder { /* private fields */ }
Expand description
A builder for SelfManagedKafkaAccessConfigurationVpc
.
Implementations§
source§impl Builder
impl Builder
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 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. If you do not specify a security group, the default security group for the VPC is used.
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. If you do not specify a security group, the default security group for the VPC is used.
sourcepub fn build(self) -> SelfManagedKafkaAccessConfigurationVpc
pub fn build(self) -> SelfManagedKafkaAccessConfigurationVpc
Consumes the builder and constructs a SelfManagedKafkaAccessConfigurationVpc
.