Interface DeploymentConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentConfiguration.Builder,,DeploymentConfiguration> SdkBuilder<DeploymentConfiguration.Builder,,DeploymentConfiguration> SdkPojo
- Enclosing class:
DeploymentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionimpairmentStrategy(String impairmentStrategy) Determines what actions to take if a deployment fails validation.impairmentStrategy(DeploymentImpairmentStrategy impairmentStrategy) Determines what actions to take if a deployment fails validation.minimumHealthyPercentage(Integer minimumHealthyPercentage) Sets the minimum percentage of the fleet's game server container groups to keep healthy during deployment activity.protectionStrategy(String protectionStrategy) Determines how fleet deployment activity affects active game sessions on the fleet.protectionStrategy(DeploymentProtectionStrategy protectionStrategy) Determines how fleet deployment activity affects active game sessions on the fleet.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
protectionStrategy
Determines how fleet deployment activity affects active game sessions on the fleet. A protected game session can't be terminated while it's active; a fleet sets the default protection for its new game sessions with
NewGameSessionProtectionPolicy.-
WITH_PROTECTION-- The deployment honors game session protection, and delays actions that would interrupt a protected active game session until the game session ends. -
IGNORE_PROTECTION-- The deployment replaces containers regardless of game session activity, including active game sessions. This option is useful during development and testing.
This setting also affects how long deployment validation can take. When the fleet's
NewGameSessionProtectionPolicyisFullProtectionand the deployment usesWITH_PROTECTION, validation waits for protected game sessions to end.Default value:
WITH_PROTECTION- Parameters:
protectionStrategy- Determines how fleet deployment activity affects active game sessions on the fleet. A protected game session can't be terminated while it's active; a fleet sets the default protection for its new game sessions withNewGameSessionProtectionPolicy.-
WITH_PROTECTION-- The deployment honors game session protection, and delays actions that would interrupt a protected active game session until the game session ends. -
IGNORE_PROTECTION-- The deployment replaces containers regardless of game session activity, including active game sessions. This option is useful during development and testing.
This setting also affects how long deployment validation can take. When the fleet's
NewGameSessionProtectionPolicyisFullProtectionand the deployment usesWITH_PROTECTION, validation waits for protected game sessions to end.Default value:
WITH_PROTECTION-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
protectionStrategy
Determines how fleet deployment activity affects active game sessions on the fleet. A protected game session can't be terminated while it's active; a fleet sets the default protection for its new game sessions with
NewGameSessionProtectionPolicy.-
WITH_PROTECTION-- The deployment honors game session protection, and delays actions that would interrupt a protected active game session until the game session ends. -
IGNORE_PROTECTION-- The deployment replaces containers regardless of game session activity, including active game sessions. This option is useful during development and testing.
This setting also affects how long deployment validation can take. When the fleet's
NewGameSessionProtectionPolicyisFullProtectionand the deployment usesWITH_PROTECTION, validation waits for protected game sessions to end.Default value:
WITH_PROTECTION- Parameters:
protectionStrategy- Determines how fleet deployment activity affects active game sessions on the fleet. A protected game session can't be terminated while it's active; a fleet sets the default protection for its new game sessions withNewGameSessionProtectionPolicy.-
WITH_PROTECTION-- The deployment honors game session protection, and delays actions that would interrupt a protected active game session until the game session ends. -
IGNORE_PROTECTION-- The deployment replaces containers regardless of game session activity, including active game sessions. This option is useful during development and testing.
This setting also affects how long deployment validation can take. When the fleet's
NewGameSessionProtectionPolicyisFullProtectionand the deployment usesWITH_PROTECTION, validation waits for protected game sessions to end.Default value:
WITH_PROTECTION-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
minimumHealthyPercentage
Sets the minimum percentage of the fleet's game server container groups to keep healthy during deployment activity. A low value favors deployment speed; a high value favors game server availability. For example, if the fleet runs 20 game server container groups and this value is 75, Amazon GameLift Servers keeps at least 15 of them healthy, so it replaces no more than 5 at a time.
Default value: 75
- Parameters:
minimumHealthyPercentage- Sets the minimum percentage of the fleet's game server container groups to keep healthy during deployment activity. A low value favors deployment speed; a high value favors game server availability. For example, if the fleet runs 20 game server container groups and this value is 75, Amazon GameLift Servers keeps at least 15 of them healthy, so it replaces no more than 5 at a time.Default value: 75
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impairmentStrategy
Determines what actions to take if a deployment fails validation. If the fleet is multi-location, this strategy applies across all fleet locations.
-
ROLLBACK-- Returns all of the fleet's containers to the last successful deployment. -
MAINTAIN-- Keeps the containers that failed validation in place so that you can inspect them, and returns all other containers to the last successful deployment. Use this option when you're deploying a container image that you want to be able to debug on failure.
Default value:
MAINTAIN- Parameters:
impairmentStrategy- Determines what actions to take if a deployment fails validation. If the fleet is multi-location, this strategy applies across all fleet locations.-
ROLLBACK-- Returns all of the fleet's containers to the last successful deployment. -
MAINTAIN-- Keeps the containers that failed validation in place so that you can inspect them, and returns all other containers to the last successful deployment. Use this option when you're deploying a container image that you want to be able to debug on failure.
Default value:
MAINTAIN-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
impairmentStrategy
Determines what actions to take if a deployment fails validation. If the fleet is multi-location, this strategy applies across all fleet locations.
-
ROLLBACK-- Returns all of the fleet's containers to the last successful deployment. -
MAINTAIN-- Keeps the containers that failed validation in place so that you can inspect them, and returns all other containers to the last successful deployment. Use this option when you're deploying a container image that you want to be able to debug on failure.
Default value:
MAINTAIN- Parameters:
impairmentStrategy- Determines what actions to take if a deployment fails validation. If the fleet is multi-location, this strategy applies across all fleet locations.-
ROLLBACK-- Returns all of the fleet's containers to the last successful deployment. -
MAINTAIN-- Keeps the containers that failed validation in place so that you can inspect them, and returns all other containers to the last successful deployment. Use this option when you're deploying a container image that you want to be able to debug on failure.
Default value:
MAINTAIN-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-