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 ==
.impl StructuralPartialEq for VpcConnectionBuilder
Auto Trait Implementations§
impl Freeze for VpcConnectionBuilder
impl RefUnwindSafe for VpcConnectionBuilder
impl Send for VpcConnectionBuilder
impl Sync for VpcConnectionBuilder
impl Unpin for VpcConnectionBuilder
impl UnwindSafe for VpcConnectionBuilder
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