CopyableBuilder<UpdateFleetAttributesRequest.Builder,UpdateFleetAttributesRequest>
, SdkBuilder<UpdateFleetAttributesRequest.Builder,UpdateFleetAttributesRequest>
public static interface UpdateFleetAttributesRequest.Builder extends CopyableBuilder<UpdateFleetAttributesRequest.Builder,UpdateFleetAttributesRequest>
Modifier and Type | Method | Description |
---|---|---|
UpdateFleetAttributesRequest.Builder |
description(String description) |
Human-readable description of a fleet.
|
UpdateFleetAttributesRequest.Builder |
fleetId(String fleetId) |
Unique identifier for a fleet to update attribute metadata for.
|
UpdateFleetAttributesRequest.Builder |
metricGroups(String... metricGroups) |
Names of metric groups to include this fleet with.
|
UpdateFleetAttributesRequest.Builder |
metricGroups(Collection<String> metricGroups) |
Names of metric groups to include this fleet with.
|
UpdateFleetAttributesRequest.Builder |
name(String name) |
Descriptive label that is associated with a fleet.
|
UpdateFleetAttributesRequest.Builder |
newGameSessionProtectionPolicy(String newGameSessionProtectionPolicy) |
Game session protection policy to apply to all new instances created in this fleet.
|
UpdateFleetAttributesRequest.Builder |
newGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy) |
Game session protection policy to apply to all new instances created in this fleet.
|
UpdateFleetAttributesRequest.Builder |
resourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy) |
Policy that limits the number of game sessions an individual player can create over a span of time.
|
copy
apply, build
UpdateFleetAttributesRequest.Builder fleetId(String fleetId)
Unique identifier for a fleet to update attribute metadata for.
fleetId
- Unique identifier for a fleet to update attribute metadata for.UpdateFleetAttributesRequest.Builder name(String name)
Descriptive label that is associated with a fleet. Fleet names do not need to be unique.
name
- Descriptive label that is associated with a fleet. Fleet names do not need to be unique.UpdateFleetAttributesRequest.Builder description(String description)
Human-readable description of a fleet.
description
- Human-readable description of a fleet.UpdateFleetAttributesRequest.Builder newGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be terminated
during a scale-down event.
newGameSessionProtectionPolicy
- Game session protection policy to apply to all new instances created in this fleet. Instances that
already exist are not affected. You can set protection for individual instances using
UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be
terminated during a scale-down event.
ProtectionPolicy
UpdateFleetAttributesRequest.Builder newGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet. Instances that already exist are not affected. You can set protection for individual instances using UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be terminated
during a scale-down event.
newGameSessionProtectionPolicy
- Game session protection policy to apply to all new instances created in this fleet. Instances that
already exist are not affected. You can set protection for individual instances using
UpdateGameSession.
NoProtection – The game session can be terminated during a scale-down event.
FullProtection – If the game session is in an ACTIVE
status, it cannot be
terminated during a scale-down event.
ProtectionPolicy
UpdateFleetAttributesRequest.Builder resourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Policy that limits the number of game sessions an individual player can create over a span of time.
resourceCreationLimitPolicy
- Policy that limits the number of game sessions an individual player can create over a span of time.UpdateFleetAttributesRequest.Builder metricGroups(Collection<String> metricGroups)
Names of metric groups to include this fleet with. A fleet metric group is used in Amazon CloudWatch to aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the group, or use a new name to create a new metric group. Currently, a fleet can only be included in one metric group at a time.
metricGroups
- Names of metric groups to include this fleet with. A fleet metric group is used in Amazon CloudWatch
to aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the
group, or use a new name to create a new metric group. Currently, a fleet can only be included in one
metric group at a time.UpdateFleetAttributesRequest.Builder metricGroups(String... metricGroups)
Names of metric groups to include this fleet with. A fleet metric group is used in Amazon CloudWatch to aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the group, or use a new name to create a new metric group. Currently, a fleet can only be included in one metric group at a time.
NOTE: This method appends the values to the existing list (if any). Use
#setMetricGroups(java.util.Collection)
or #withMetricGroups(java.util.Collection)
if you want
to override the existing values.
metricGroups
- Names of metric groups to include this fleet with. A fleet metric group is used in Amazon CloudWatch
to aggregate metrics from multiple fleets. Use an existing metric group name to add this fleet to the
group, or use a new name to create a new metric group. Currently, a fleet can only be included in one
metric group at a time.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.