Interface DeploymentConfiguration.Builder

  • Method Details

    • protectionStrategy

      DeploymentConfiguration.Builder protectionStrategy(String protectionStrategy)

      Determines how fleet deployment activity affects active game sessions on the fleet. With protection, a deployment honors game session protection, and delays actions that would interrupt a protected active game session until the game session ends. Without protection, deployment activity can shut down all running tasks, including active game sessions, regardless of game session protection.

      Parameters:
      protectionStrategy - Determines how fleet deployment activity affects active game sessions on the fleet. With protection, a deployment honors game session protection, and delays actions that would interrupt a protected active game session until the game session ends. Without protection, deployment activity can shut down all running tasks, including active game sessions, regardless of game session protection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protectionStrategy

      DeploymentConfiguration.Builder protectionStrategy(DeploymentProtectionStrategy protectionStrategy)

      Determines how fleet deployment activity affects active game sessions on the fleet. With protection, a deployment honors game session protection, and delays actions that would interrupt a protected active game session until the game session ends. Without protection, deployment activity can shut down all running tasks, including active game sessions, regardless of game session protection.

      Parameters:
      protectionStrategy - Determines how fleet deployment activity affects active game sessions on the fleet. With protection, a deployment honors game session protection, and delays actions that would interrupt a protected active game session until the game session ends. Without protection, deployment activity can shut down all running tasks, including active game sessions, regardless of game session protection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • minimumHealthyPercentage

      DeploymentConfiguration.Builder minimumHealthyPercentage(Integer minimumHealthyPercentage)

      Sets a minimum level of healthy tasks to maintain during deployment activity.

      Parameters:
      minimumHealthyPercentage - Sets a minimum level of healthy tasks to maintain during deployment activity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impairmentStrategy

      DeploymentConfiguration.Builder impairmentStrategy(String impairmentStrategy)

      Determines what actions to take if a deployment fails. If the fleet is multi-location, this strategy applies across all fleet locations. With a rollback strategy, updated fleet instances are rolled back to the last successful deployment. Alternatively, you can maintain a few impaired containers for the purpose of debugging, while all other tasks return to the last successful deployment.

      Parameters:
      impairmentStrategy - Determines what actions to take if a deployment fails. If the fleet is multi-location, this strategy applies across all fleet locations. With a rollback strategy, updated fleet instances are rolled back to the last successful deployment. Alternatively, you can maintain a few impaired containers for the purpose of debugging, while all other tasks return to the last successful deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • impairmentStrategy

      DeploymentConfiguration.Builder impairmentStrategy(DeploymentImpairmentStrategy impairmentStrategy)

      Determines what actions to take if a deployment fails. If the fleet is multi-location, this strategy applies across all fleet locations. With a rollback strategy, updated fleet instances are rolled back to the last successful deployment. Alternatively, you can maintain a few impaired containers for the purpose of debugging, while all other tasks return to the last successful deployment.

      Parameters:
      impairmentStrategy - Determines what actions to take if a deployment fails. If the fleet is multi-location, this strategy applies across all fleet locations. With a rollback strategy, updated fleet instances are rolled back to the last successful deployment. Alternatively, you can maintain a few impaired containers for the purpose of debugging, while all other tasks return to the last successful deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: