Class Location.Builder

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

@Stability(Experimental) public static final class Location.Builder extends Object implements software.amazon.jsii.Builder<Location>
A builder for Location
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • region

      @Stability(Experimental) public Location.Builder region(String region)
      Sets the value of Location.getRegion()
      Parameters:
      region - An AWS Region code. This parameter is required.
      Returns:
      this
    • capacity

      @Stability(Experimental) public Location.Builder capacity(LocationCapacity capacity)
      Sets the value of Location.getCapacity()
      Parameters:
      capacity - Current resource capacity settings in a specified fleet or location. The location value might refer to a fleet's remote location or its home Region.
      Returns:
      this
    • build

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