Class CfnMatchmakingRuleSetProps.Builder

java.lang.Object
software.amazon.awscdk.services.gamelift.CfnMatchmakingRuleSetProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMatchmakingRuleSetProps>
Enclosing interface:
CfnMatchmakingRuleSetProps

@Stability(Stable) public static final class CfnMatchmakingRuleSetProps.Builder extends Object implements software.amazon.jsii.Builder<CfnMatchmakingRuleSetProps>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • name

      @Stability(Stable) public CfnMatchmakingRuleSetProps.Builder name(String name)
      Parameters:
      name - A unique identifier for the matchmaking rule set. This parameter is required. 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.
      Returns:
      this
    • ruleSetBody

      @Stability(Stable) public CfnMatchmakingRuleSetProps.Builder ruleSetBody(String ruleSetBody)
      Parameters:
      ruleSetBody - A collection of matchmaking rules, formatted as a JSON string. This parameter is required. Comments are not allowed in JSON, but most elements support a description field.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnMatchmakingRuleSetProps.Builder tags(List<? extends CfnTag> tags)
      Parameters:
      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.
      Returns:
      this
    • build

      @Stability(Stable) public CfnMatchmakingRuleSetProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnMatchmakingRuleSetProps>
      Returns:
      a new instance of CfnMatchmakingRuleSetProps
      Throws:
      NullPointerException - if any required attribute was not provided