Struct aws_sdk_codedeploy::types::InstanceInfo
source · #[non_exhaustive]pub struct InstanceInfo {
pub instance_name: Option<String>,
pub iam_session_arn: Option<String>,
pub iam_user_arn: Option<String>,
pub instance_arn: Option<String>,
pub register_time: Option<DateTime>,
pub deregister_time: Option<DateTime>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Information about an on-premises instance.
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.instance_name: Option<String>
The name of the on-premises instance.
iam_session_arn: Option<String>
The ARN of the IAM session associated with the on-premises instance.
iam_user_arn: Option<String>
The user ARN associated with the on-premises instance.
instance_arn: Option<String>
The ARN of the on-premises instance.
register_time: Option<DateTime>
The time at which the on-premises instance was registered.
deregister_time: Option<DateTime>
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
The tags currently associated with the on-premises instance.
Implementations§
source§impl InstanceInfo
impl InstanceInfo
sourcepub fn instance_name(&self) -> Option<&str>
pub fn instance_name(&self) -> Option<&str>
The name of the on-premises instance.
sourcepub fn iam_session_arn(&self) -> Option<&str>
pub fn iam_session_arn(&self) -> Option<&str>
The ARN of the IAM session associated with the on-premises instance.
sourcepub fn iam_user_arn(&self) -> Option<&str>
pub fn iam_user_arn(&self) -> Option<&str>
The user ARN associated with the on-premises instance.
sourcepub fn instance_arn(&self) -> Option<&str>
pub fn instance_arn(&self) -> Option<&str>
The ARN of the on-premises instance.
sourcepub fn register_time(&self) -> Option<&DateTime>
pub fn register_time(&self) -> Option<&DateTime>
The time at which the on-premises instance was registered.
sourcepub fn deregister_time(&self) -> Option<&DateTime>
pub fn deregister_time(&self) -> Option<&DateTime>
If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered.
The tags currently associated with the on-premises instance.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl InstanceInfo
impl InstanceInfo
sourcepub fn builder() -> InstanceInfoBuilder
pub fn builder() -> InstanceInfoBuilder
Creates a new builder-style object to manufacture InstanceInfo
.
Trait Implementations§
source§impl Clone for InstanceInfo
impl Clone for InstanceInfo
source§fn clone(&self) -> InstanceInfo
fn clone(&self) -> InstanceInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceInfo
impl Debug for InstanceInfo
source§impl PartialEq for InstanceInfo
impl PartialEq for InstanceInfo
source§fn eq(&self, other: &InstanceInfo) -> bool
fn eq(&self, other: &InstanceInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceInfo
Auto Trait Implementations§
impl Freeze for InstanceInfo
impl RefUnwindSafe for InstanceInfo
impl Send for InstanceInfo
impl Sync for InstanceInfo
impl Unpin for InstanceInfo
impl UnwindSafe for InstanceInfo
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