Class CfnLocation.Builder

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

@Stability(Stable) public static final class CfnLocation.Builder extends Object implements software.amazon.jsii.Builder<CfnLocation>
A fluent builder for CfnLocation.
  • Method Details

    • create

      @Stability(Stable) public static CfnLocation.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnLocation.Builder.
    • locationName

      @Stability(Stable) public CfnLocation.Builder locationName(String locationName)
      The location's name.

      Parameters:
      locationName - The location's name. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnLocation.Builder tags(List<? extends CfnTag> tags)
      AWS::GameLift::Location.Tags.

      Parameters:
      tags - AWS::GameLift::Location.Tags. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnLocation build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnLocation>
      Returns:
      a newly built instance of CfnLocation.