Struct aws_sdk_gamelift::types::builders::LocationModelBuilder
source · #[non_exhaustive]pub struct LocationModelBuilder { /* private fields */ }Expand description
A builder for LocationModel.
Implementations§
source§impl LocationModelBuilder
impl LocationModelBuilder
sourcepub fn location_name(self, input: impl Into<String>) -> Self
pub fn location_name(self, input: impl Into<String>) -> Self
The location's name.
sourcepub fn set_location_name(self, input: Option<String>) -> Self
pub fn set_location_name(self, input: Option<String>) -> Self
The location's name.
sourcepub fn get_location_name(&self) -> &Option<String>
pub fn get_location_name(&self) -> &Option<String>
The location's name.
sourcepub fn location_arn(self, input: impl Into<String>) -> Self
pub fn location_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift location resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
sourcepub fn set_location_arn(self, input: Option<String>) -> Self
pub fn set_location_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift location resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
sourcepub fn get_location_arn(&self) -> &Option<String>
pub fn get_location_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift location resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
.
sourcepub fn build(self) -> LocationModel
pub fn build(self) -> LocationModel
Consumes the builder and constructs a LocationModel.
Trait Implementations§
source§impl Clone for LocationModelBuilder
impl Clone for LocationModelBuilder
source§fn clone(&self) -> LocationModelBuilder
fn clone(&self) -> LocationModelBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LocationModelBuilder
impl Debug for LocationModelBuilder
source§impl Default for LocationModelBuilder
impl Default for LocationModelBuilder
source§fn default() -> LocationModelBuilder
fn default() -> LocationModelBuilder
source§impl PartialEq for LocationModelBuilder
impl PartialEq for LocationModelBuilder
source§fn eq(&self, other: &LocationModelBuilder) -> bool
fn eq(&self, other: &LocationModelBuilder) -> bool
self and other values to be equal, and is used
by ==.