Struct aws_sdk_gamelift::operation::validate_matchmaking_rule_set::builders::ValidateMatchmakingRuleSetFluentBuilder
source · pub struct ValidateMatchmakingRuleSetFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ValidateMatchmakingRuleSet.
Validates the syntax of a matchmaking rule or rule set. This operation checks that the rule set is using syntactically correct JSON and that it conforms to allowed property expressions. To validate syntax, provide a rule set JSON string.
Learn more
Implementations§
source§impl ValidateMatchmakingRuleSetFluentBuilder
impl ValidateMatchmakingRuleSetFluentBuilder
sourcepub fn as_input(&self) -> &ValidateMatchmakingRuleSetInputBuilder
pub fn as_input(&self) -> &ValidateMatchmakingRuleSetInputBuilder
Access the ValidateMatchmakingRuleSet as a reference.
sourcepub async fn send(
self
) -> Result<ValidateMatchmakingRuleSetOutput, SdkError<ValidateMatchmakingRuleSetError, HttpResponse>>
pub async fn send( self ) -> Result<ValidateMatchmakingRuleSetOutput, SdkError<ValidateMatchmakingRuleSetError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ValidateMatchmakingRuleSetOutput, ValidateMatchmakingRuleSetError>, SdkError<ValidateMatchmakingRuleSetError>>
pub async fn customize( self ) -> Result<CustomizableOperation<ValidateMatchmakingRuleSetOutput, ValidateMatchmakingRuleSetError>, SdkError<ValidateMatchmakingRuleSetError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 to validate, formatted as a JSON string.
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 to validate, formatted as a JSON string.
sourcepub fn get_rule_set_body(&self) -> &Option<String>
pub fn get_rule_set_body(&self) -> &Option<String>
A collection of matchmaking rules to validate, formatted as a JSON string.
Trait Implementations§
source§impl Clone for ValidateMatchmakingRuleSetFluentBuilder
impl Clone for ValidateMatchmakingRuleSetFluentBuilder
source§fn clone(&self) -> ValidateMatchmakingRuleSetFluentBuilder
fn clone(&self) -> ValidateMatchmakingRuleSetFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more