Struct aws_sdk_gamelift::types::builders::MatchmakingRuleSetBuilder
source · #[non_exhaustive]pub struct MatchmakingRuleSetBuilder { /* private fields */ }Expand description
A builder for MatchmakingRuleSet.
Implementations§
source§impl MatchmakingRuleSetBuilder
impl MatchmakingRuleSetBuilder
sourcepub fn rule_set_name(self, input: impl Into<String>) -> Self
pub fn rule_set_name(self, input: impl Into<String>) -> Self
A unique identifier for the matchmaking rule set
sourcepub fn set_rule_set_name(self, input: Option<String>) -> Self
pub fn set_rule_set_name(self, input: Option<String>) -> Self
A unique identifier for the matchmaking rule set
sourcepub fn get_rule_set_name(&self) -> &Option<String>
pub fn get_rule_set_name(&self) -> &Option<String>
A unique identifier for the matchmaking rule set
sourcepub fn rule_set_arn(self, input: impl Into<String>) -> Self
pub fn rule_set_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift matchmaking rule set resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
. In a GameLift rule set ARN, the resource ID matches the RuleSetName value.
sourcepub fn set_rule_set_arn(self, input: Option<String>) -> Self
pub fn set_rule_set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift matchmaking rule set resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
. In a GameLift rule set ARN, the resource ID matches the RuleSetName value.
sourcepub fn get_rule_set_arn(&self) -> &Option<String>
pub fn get_rule_set_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift matchmaking rule set resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:
. In a GameLift rule set ARN, the resource ID matches the RuleSetName value.
sourcepub fn rule_set_body(self, input: impl Into<String>) -> Self
pub fn rule_set_body(self, input: impl Into<String>) -> Self
A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed in JSON, but most elements support a description field.
This field is required.sourcepub fn set_rule_set_body(self, input: Option<String>) -> Self
pub fn set_rule_set_body(self, input: Option<String>) -> Self
A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed in JSON, but most elements support a description field.
sourcepub fn get_rule_set_body(&self) -> &Option<String>
pub fn get_rule_set_body(&self) -> &Option<String>
A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed in JSON, but most elements support a description field.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
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 set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
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 get_creation_time(&self) -> &Option<DateTime>
pub fn get_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 build(self) -> MatchmakingRuleSet
pub fn build(self) -> MatchmakingRuleSet
Consumes the builder and constructs a MatchmakingRuleSet.
Trait Implementations§
source§impl Clone for MatchmakingRuleSetBuilder
impl Clone for MatchmakingRuleSetBuilder
source§fn clone(&self) -> MatchmakingRuleSetBuilder
fn clone(&self) -> MatchmakingRuleSetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MatchmakingRuleSetBuilder
impl Debug for MatchmakingRuleSetBuilder
source§impl Default for MatchmakingRuleSetBuilder
impl Default for MatchmakingRuleSetBuilder
source§fn default() -> MatchmakingRuleSetBuilder
fn default() -> MatchmakingRuleSetBuilder
source§impl PartialEq for MatchmakingRuleSetBuilder
impl PartialEq for MatchmakingRuleSetBuilder
source§fn eq(&self, other: &MatchmakingRuleSetBuilder) -> bool
fn eq(&self, other: &MatchmakingRuleSetBuilder) -> bool
self and other values to be equal, and is used
by ==.