Struct aws_sdk_gamelift::operation::get_compute_auth_token::builders::GetComputeAuthTokenOutputBuilder
source · #[non_exhaustive]pub struct GetComputeAuthTokenOutputBuilder { /* private fields */ }Expand description
A builder for GetComputeAuthTokenOutput.
Implementations§
source§impl GetComputeAuthTokenOutputBuilder
impl GetComputeAuthTokenOutputBuilder
sourcepub fn fleet_id(self, input: impl Into<String>) -> Self
pub fn fleet_id(self, input: impl Into<String>) -> Self
A unique identifier for the fleet that the compute is registered to.
sourcepub fn set_fleet_id(self, input: Option<String>) -> Self
pub fn set_fleet_id(self, input: Option<String>) -> Self
A unique identifier for the fleet that the compute is registered to.
sourcepub fn get_fleet_id(&self) -> &Option<String>
pub fn get_fleet_id(&self) -> &Option<String>
A unique identifier for the fleet that the compute is registered to.
sourcepub fn fleet_arn(self, input: impl Into<String>) -> Self
pub fn fleet_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
sourcepub fn set_fleet_arn(self, input: Option<String>) -> Self
pub fn set_fleet_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
sourcepub fn get_fleet_arn(&self) -> &Option<String>
pub fn get_fleet_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
sourcepub fn compute_name(self, input: impl Into<String>) -> Self
pub fn compute_name(self, input: impl Into<String>) -> Self
The name of the compute resource you are requesting the authentication token for.
sourcepub fn set_compute_name(self, input: Option<String>) -> Self
pub fn set_compute_name(self, input: Option<String>) -> Self
The name of the compute resource you are requesting the authentication token for.
sourcepub fn get_compute_name(&self) -> &Option<String>
pub fn get_compute_name(&self) -> &Option<String>
The name of the compute resource you are requesting the authentication token for.
sourcepub fn compute_arn(self, input: impl Into<String>) -> Self
pub fn compute_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
sourcepub fn set_compute_arn(self, input: Option<String>) -> Self
pub fn set_compute_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
sourcepub fn get_compute_arn(&self) -> &Option<String>
pub fn get_compute_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
sourcepub fn auth_token(self, input: impl Into<String>) -> Self
pub fn auth_token(self, input: impl Into<String>) -> Self
The authentication token that your game server uses to authenticate with Amazon GameLift.
sourcepub fn set_auth_token(self, input: Option<String>) -> Self
pub fn set_auth_token(self, input: Option<String>) -> Self
The authentication token that your game server uses to authenticate with Amazon GameLift.
sourcepub fn get_auth_token(&self) -> &Option<String>
pub fn get_auth_token(&self) -> &Option<String>
The authentication token that your game server uses to authenticate with Amazon GameLift.
sourcepub fn expiration_timestamp(self, input: DateTime) -> Self
pub fn expiration_timestamp(self, input: DateTime) -> Self
The amount of time until the authentication token is no longer valid. To continue using the compute resource for game server hosting, renew the authentication token by using this operation again.
sourcepub fn set_expiration_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_expiration_timestamp(self, input: Option<DateTime>) -> Self
The amount of time until the authentication token is no longer valid. To continue using the compute resource for game server hosting, renew the authentication token by using this operation again.
sourcepub fn get_expiration_timestamp(&self) -> &Option<DateTime>
pub fn get_expiration_timestamp(&self) -> &Option<DateTime>
The amount of time until the authentication token is no longer valid. To continue using the compute resource for game server hosting, renew the authentication token by using this operation again.
sourcepub fn build(self) -> GetComputeAuthTokenOutput
pub fn build(self) -> GetComputeAuthTokenOutput
Consumes the builder and constructs a GetComputeAuthTokenOutput.
Trait Implementations§
source§impl Clone for GetComputeAuthTokenOutputBuilder
impl Clone for GetComputeAuthTokenOutputBuilder
source§fn clone(&self) -> GetComputeAuthTokenOutputBuilder
fn clone(&self) -> GetComputeAuthTokenOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetComputeAuthTokenOutputBuilder
impl Default for GetComputeAuthTokenOutputBuilder
source§fn default() -> GetComputeAuthTokenOutputBuilder
fn default() -> GetComputeAuthTokenOutputBuilder
source§impl PartialEq<GetComputeAuthTokenOutputBuilder> for GetComputeAuthTokenOutputBuilder
impl PartialEq<GetComputeAuthTokenOutputBuilder> for GetComputeAuthTokenOutputBuilder
source§fn eq(&self, other: &GetComputeAuthTokenOutputBuilder) -> bool
fn eq(&self, other: &GetComputeAuthTokenOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.