Struct aws_sdk_kafka::types::builders::VpcConnectionBuilder
source · #[non_exhaustive]pub struct VpcConnectionBuilder { /* private fields */ }
Expand description
A builder for VpcConnection
.
Implementations§
source§impl VpcConnectionBuilder
impl VpcConnectionBuilder
sourcepub fn vpc_connection_arn(self, input: impl Into<String>) -> Self
pub fn vpc_connection_arn(self, input: impl Into<String>) -> Self
The ARN that identifies the Vpc Connection.
This field is required.sourcepub fn set_vpc_connection_arn(self, input: Option<String>) -> Self
pub fn set_vpc_connection_arn(self, input: Option<String>) -> Self
The ARN that identifies the Vpc Connection.
sourcepub fn get_vpc_connection_arn(&self) -> &Option<String>
pub fn get_vpc_connection_arn(&self) -> &Option<String>
The ARN that identifies the Vpc Connection.
sourcepub fn target_cluster_arn(self, input: impl Into<String>) -> Self
pub fn target_cluster_arn(self, input: impl Into<String>) -> Self
The ARN that identifies the Cluster which the Vpc Connection belongs to.
This field is required.sourcepub fn set_target_cluster_arn(self, input: Option<String>) -> Self
pub fn set_target_cluster_arn(self, input: Option<String>) -> Self
The ARN that identifies the Cluster which the Vpc Connection belongs to.
sourcepub fn get_target_cluster_arn(&self) -> &Option<String>
pub fn get_target_cluster_arn(&self) -> &Option<String>
The ARN that identifies the Cluster which the Vpc Connection belongs to.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
Creation time of the Vpc Connection.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
Creation time of the Vpc Connection.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
Creation time of the Vpc Connection.
sourcepub fn authentication(self, input: impl Into<String>) -> Self
pub fn authentication(self, input: impl Into<String>) -> Self
Information about the auth scheme of Vpc Connection.
sourcepub fn set_authentication(self, input: Option<String>) -> Self
pub fn set_authentication(self, input: Option<String>) -> Self
Information about the auth scheme of Vpc Connection.
sourcepub fn get_authentication(&self) -> &Option<String>
pub fn get_authentication(&self) -> &Option<String>
Information about the auth scheme of Vpc Connection.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The vpcId that belongs to the Vpc Connection.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The vpcId that belongs to the Vpc Connection.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The vpcId that belongs to the Vpc Connection.
sourcepub fn state(self, input: VpcConnectionState) -> Self
pub fn state(self, input: VpcConnectionState) -> Self
State of the Vpc Connection.
sourcepub fn set_state(self, input: Option<VpcConnectionState>) -> Self
pub fn set_state(self, input: Option<VpcConnectionState>) -> Self
State of the Vpc Connection.
sourcepub fn get_state(&self) -> &Option<VpcConnectionState>
pub fn get_state(&self) -> &Option<VpcConnectionState>
State of the Vpc Connection.
sourcepub fn build(self) -> VpcConnection
pub fn build(self) -> VpcConnection
Consumes the builder and constructs a VpcConnection
.
Trait Implementations§
source§impl Clone for VpcConnectionBuilder
impl Clone for VpcConnectionBuilder
source§fn clone(&self) -> VpcConnectionBuilder
fn clone(&self) -> VpcConnectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcConnectionBuilder
impl Debug for VpcConnectionBuilder
source§impl Default for VpcConnectionBuilder
impl Default for VpcConnectionBuilder
source§fn default() -> VpcConnectionBuilder
fn default() -> VpcConnectionBuilder
source§impl PartialEq for VpcConnectionBuilder
impl PartialEq for VpcConnectionBuilder
source§fn eq(&self, other: &VpcConnectionBuilder) -> bool
fn eq(&self, other: &VpcConnectionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.