Struct aws_sdk_gamelift::types::InstanceAccess
source · #[non_exhaustive]pub struct InstanceAccess {
pub fleet_id: Option<String>,
pub instance_id: Option<String>,
pub ip_address: Option<String>,
pub operating_system: Option<OperatingSystem>,
pub credentials: Option<InstanceCredentials>,
}
Expand description
Information and credentials that you can use to remotely connect to an instance in an EC2 managed fleet. This data type is returned in response to a call to GetInstanceAccess
.
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.fleet_id: Option<String>
A unique identifier for the fleet containing the instance to be accessed.
instance_id: Option<String>
A unique identifier for the instance to be accessed.
ip_address: Option<String>
IP address assigned to the instance.
operating_system: Option<OperatingSystem>
Operating system that is running on the instance.
credentials: Option<InstanceCredentials>
Security credentials that are required to access the instance.
Implementations§
source§impl InstanceAccess
impl InstanceAccess
sourcepub fn fleet_id(&self) -> Option<&str>
pub fn fleet_id(&self) -> Option<&str>
A unique identifier for the fleet containing the instance to be accessed.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
A unique identifier for the instance to be accessed.
sourcepub fn ip_address(&self) -> Option<&str>
pub fn ip_address(&self) -> Option<&str>
IP address assigned to the instance.
sourcepub fn operating_system(&self) -> Option<&OperatingSystem>
pub fn operating_system(&self) -> Option<&OperatingSystem>
Operating system that is running on the instance.
sourcepub fn credentials(&self) -> Option<&InstanceCredentials>
pub fn credentials(&self) -> Option<&InstanceCredentials>
Security credentials that are required to access the instance.
source§impl InstanceAccess
impl InstanceAccess
sourcepub fn builder() -> InstanceAccessBuilder
pub fn builder() -> InstanceAccessBuilder
Creates a new builder-style object to manufacture InstanceAccess
.
Trait Implementations§
source§impl Clone for InstanceAccess
impl Clone for InstanceAccess
source§fn clone(&self) -> InstanceAccess
fn clone(&self) -> InstanceAccess
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InstanceAccess
impl Debug for InstanceAccess
source§impl PartialEq for InstanceAccess
impl PartialEq for InstanceAccess
source§fn eq(&self, other: &InstanceAccess) -> bool
fn eq(&self, other: &InstanceAccess) -> bool
self
and other
values to be equal, and is used
by ==
.