Struct aws_sdk_kafka::types::VpcConnection
source · #[non_exhaustive]pub struct VpcConnection {
pub vpc_connection_arn: Option<String>,
pub target_cluster_arn: Option<String>,
pub creation_time: Option<DateTime>,
pub authentication: Option<String>,
pub vpc_id: Option<String>,
pub state: Option<VpcConnectionState>,
}
Expand description
The VPC connection object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.vpc_connection_arn: Option<String>
The ARN that identifies the Vpc Connection.
target_cluster_arn: Option<String>
The ARN that identifies the Cluster which the Vpc Connection belongs to.
creation_time: Option<DateTime>
Creation time of the Vpc Connection.
authentication: Option<String>
Information about the auth scheme of Vpc Connection.
vpc_id: Option<String>
The vpcId that belongs to the Vpc Connection.
state: Option<VpcConnectionState>
State of the Vpc Connection.
Implementations§
source§impl VpcConnection
impl VpcConnection
sourcepub fn vpc_connection_arn(&self) -> Option<&str>
pub fn vpc_connection_arn(&self) -> Option<&str>
The ARN that identifies the Vpc Connection.
sourcepub fn target_cluster_arn(&self) -> Option<&str>
pub fn target_cluster_arn(&self) -> Option<&str>
The ARN that identifies the Cluster which the Vpc Connection belongs to.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
Creation time of the Vpc Connection.
sourcepub fn authentication(&self) -> Option<&str>
pub fn authentication(&self) -> Option<&str>
Information about the auth scheme of Vpc Connection.
sourcepub fn state(&self) -> Option<&VpcConnectionState>
pub fn state(&self) -> Option<&VpcConnectionState>
State of the Vpc Connection.
source§impl VpcConnection
impl VpcConnection
sourcepub fn builder() -> VpcConnectionBuilder
pub fn builder() -> VpcConnectionBuilder
Creates a new builder-style object to manufacture VpcConnection
.
Trait Implementations§
source§impl Clone for VpcConnection
impl Clone for VpcConnection
source§fn clone(&self) -> VpcConnection
fn clone(&self) -> VpcConnection
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 Debug for VpcConnection
impl Debug for VpcConnection
source§impl PartialEq for VpcConnection
impl PartialEq for VpcConnection
source§fn eq(&self, other: &VpcConnection) -> bool
fn eq(&self, other: &VpcConnection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpcConnection
Auto Trait Implementations§
impl Freeze for VpcConnection
impl RefUnwindSafe for VpcConnection
impl Send for VpcConnection
impl Sync for VpcConnection
impl Unpin for VpcConnection
impl UnwindSafe for VpcConnection
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.