Class CfnMatchmakingRuleSet.Builder
java.lang.Object
software.amazon.awscdk.services.gamelift.CfnMatchmakingRuleSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMatchmakingRuleSet>
- Enclosing class:
CfnMatchmakingRuleSet
@Stability(Stable)
public static final class CfnMatchmakingRuleSet.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMatchmakingRuleSet>
A fluent builder for
CfnMatchmakingRuleSet
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
A unique identifier for the matchmaking rule set.ruleSetBody
(String ruleSetBody) A collection of matchmaking rules, formatted as a JSON string.A list of labels to assign to the new matchmaking rule set resource.
-
Method Details
-
create
@Stability(Stable) public static CfnMatchmakingRuleSet.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnMatchmakingRuleSet.Builder
.
-
name
A unique identifier for the matchmaking rule set.A matchmaking configuration identifies the rule set it uses by this name value. Note that the rule set name is different from the optional
name
field in the rule set body.- Parameters:
name
- A unique identifier for the matchmaking rule set. This parameter is required.- Returns:
this
- See Also:
-
ruleSetBody
A collection of matchmaking rules, formatted as a JSON string.Comments are not allowed in JSON, but most elements support a description field.
- Parameters:
ruleSetBody
- A collection of matchmaking rules, formatted as a JSON string. This parameter is required.- Returns:
this
- See Also:
-
tags
A list of labels to assign to the new matchmaking rule set resource.Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference . Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
- Parameters:
tags
- A list of labels to assign to the new matchmaking rule set resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMatchmakingRuleSet>
- Returns:
- a newly built instance of
CfnMatchmakingRuleSet
.
-