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 ==
.