Struct aws_sdk_gamelift::types::Alias
source · #[non_exhaustive]pub struct Alias {
pub alias_id: Option<String>,
pub name: Option<String>,
pub alias_arn: Option<String>,
pub description: Option<String>,
pub routing_strategy: Option<RoutingStrategy>,
pub creation_time: Option<DateTime>,
pub last_updated_time: Option<DateTime>,
}
Expand description
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.alias_id: Option<String>
A unique identifier for the alias. Alias IDs are unique within a Region.
name: Option<String>
A descriptive label that is associated with an alias. Alias names do not need to be unique.
alias_arn: Option<String>
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift alias resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
. In a GameLift alias ARN, the resource ID matches the alias ID value.
description: Option<String>
A human-readable description of an alias.
routing_strategy: Option<RoutingStrategy>
The routing configuration, including routing type and fleet target, for the alias.
creation_time: Option<DateTime>
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
last_updated_time: Option<DateTime>
The time that this data object was last modified. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
Implementations§
source§impl Alias
impl Alias
sourcepub fn alias_id(&self) -> Option<&str>
pub fn alias_id(&self) -> Option<&str>
A unique identifier for the alias. Alias IDs are unique within a Region.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A descriptive label that is associated with an alias. Alias names do not need to be unique.
sourcepub fn alias_arn(&self) -> Option<&str>
pub fn alias_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift alias resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
. In a GameLift alias ARN, the resource ID matches the alias ID value.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A human-readable description of an alias.
sourcepub fn routing_strategy(&self) -> Option<&RoutingStrategy>
pub fn routing_strategy(&self) -> Option<&RoutingStrategy>
The routing configuration, including routing type and fleet target, for the alias.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The time that this data object was last modified. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"
).
Trait Implementations§
source§impl PartialEq for Alias
impl PartialEq for Alias
impl StructuralPartialEq for Alias
Auto Trait Implementations§
impl Freeze for Alias
impl RefUnwindSafe for Alias
impl Send for Alias
impl Sync for Alias
impl Unpin for Alias
impl UnwindSafe for Alias
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