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