Interface PriorityConfigurationOverride.Builder

    • Method Detail

      • placementFallbackStrategy

        PriorityConfigurationOverride.Builder placementFallbackStrategy​(String placementFallbackStrategy)

        Instructions for how to use the override list if the first round of placement attempts fails. The first round is a failure if Amazon GameLift searches all listed locations, in all of the queue's destinations, without finding an available hosting resource for a new game session. Valid strategies include:

        • DEFAULT_AFTER_SINGLE_PASS -- After the first round of placement attempts, discard the override list and use the queue's default location priority list. Continue to use the queue's default list until the placement request times out.

        • NONE -- Continue to use the override list for all rounds of placement attempts until the placement request times out.

        Parameters:
        placementFallbackStrategy - Instructions for how to use the override list if the first round of placement attempts fails. The first round is a failure if Amazon GameLift searches all listed locations, in all of the queue's destinations, without finding an available hosting resource for a new game session. Valid strategies include:

        • DEFAULT_AFTER_SINGLE_PASS -- After the first round of placement attempts, discard the override list and use the queue's default location priority list. Continue to use the queue's default list until the placement request times out.

        • NONE -- Continue to use the override list for all rounds of placement attempts until the placement request times out.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlacementFallbackStrategy, PlacementFallbackStrategy
      • placementFallbackStrategy

        PriorityConfigurationOverride.Builder placementFallbackStrategy​(PlacementFallbackStrategy placementFallbackStrategy)

        Instructions for how to use the override list if the first round of placement attempts fails. The first round is a failure if Amazon GameLift searches all listed locations, in all of the queue's destinations, without finding an available hosting resource for a new game session. Valid strategies include:

        • DEFAULT_AFTER_SINGLE_PASS -- After the first round of placement attempts, discard the override list and use the queue's default location priority list. Continue to use the queue's default list until the placement request times out.

        • NONE -- Continue to use the override list for all rounds of placement attempts until the placement request times out.

        Parameters:
        placementFallbackStrategy - Instructions for how to use the override list if the first round of placement attempts fails. The first round is a failure if Amazon GameLift searches all listed locations, in all of the queue's destinations, without finding an available hosting resource for a new game session. Valid strategies include:

        • DEFAULT_AFTER_SINGLE_PASS -- After the first round of placement attempts, discard the override list and use the queue's default location priority list. Continue to use the queue's default list until the placement request times out.

        • NONE -- Continue to use the override list for all rounds of placement attempts until the placement request times out.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PlacementFallbackStrategy, PlacementFallbackStrategy
      • locationOrder

        PriorityConfigurationOverride.Builder locationOrder​(Collection<String> locationOrder)

        A prioritized list of hosting locations. The list can include Amazon Web Services Regions (such as us-west-2), local zones, and custom locations (for Anywhere fleets). Each location must be listed only once. For details, see Amazon GameLift service locations.

        Parameters:
        locationOrder - A prioritized list of hosting locations. The list can include Amazon Web Services Regions (such as us-west-2), local zones, and custom locations (for Anywhere fleets). Each location must be listed only once. For details, see Amazon GameLift service locations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • locationOrder

        PriorityConfigurationOverride.Builder locationOrder​(String... locationOrder)

        A prioritized list of hosting locations. The list can include Amazon Web Services Regions (such as us-west-2), local zones, and custom locations (for Anywhere fleets). Each location must be listed only once. For details, see Amazon GameLift service locations.

        Parameters:
        locationOrder - A prioritized list of hosting locations. The list can include Amazon Web Services Regions (such as us-west-2), local zones, and custom locations (for Anywhere fleets). Each location must be listed only once. For details, see Amazon GameLift service locations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.