public static interface UpdateFleetAttributesRequest.Builder extends GameLiftRequest.Builder, CopyableBuilder<UpdateFleetAttributesRequest.Builder,UpdateFleetAttributesRequest>
Modifier and Type | Method and 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(Collection<String> metricGroups)
Names of metric groups to include this fleet in.
|
UpdateFleetAttributesRequest.Builder |
metricGroups(String... metricGroups)
Names of metric groups to include this fleet in.
|
UpdateFleetAttributesRequest.Builder |
name(String name)
Descriptive label that is associated with a fleet.
|
UpdateFleetAttributesRequest.Builder |
newGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet.
|
UpdateFleetAttributesRequest.Builder |
newGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)
Game session protection policy to apply to all new instances created in this fleet.
|
UpdateFleetAttributesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateFleetAttributesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default UpdateFleetAttributesRequest.Builder |
resourceCreationLimitPolicy(Consumer<ResourceCreationLimitPolicy.Builder> resourceCreationLimitPolicy)
Policy that limits the number of game sessions an individual player can create over a span of time.
|
UpdateFleetAttributesRequest.Builder |
resourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy)
Policy that limits the number of game sessions an individual player can create over a span of time.
|
build
overrideConfiguration
copy
applyMutation, 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
,
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
,
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.default UpdateFleetAttributesRequest.Builder resourceCreationLimitPolicy(Consumer<ResourceCreationLimitPolicy.Builder> resourceCreationLimitPolicy)
Policy that limits the number of game sessions an individual player can create over a span of time.
This is a convenience that creates an instance of theResourceCreationLimitPolicy.Builder
avoiding
the need to create one manually via ResourceCreationLimitPolicy.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to resourceCreationLimitPolicy(ResourceCreationLimitPolicy)
.resourceCreationLimitPolicy
- a consumer that will call methods on ResourceCreationLimitPolicy.Builder
resourceCreationLimitPolicy(ResourceCreationLimitPolicy)
UpdateFleetAttributesRequest.Builder metricGroups(Collection<String> metricGroups)
Names of metric groups to include this fleet in. Amazon CloudWatch uses a fleet metric group is 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. A fleet can only be included in one metric group at a time.
metricGroups
- Names of metric groups to include this fleet in. Amazon CloudWatch uses a fleet metric group is 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. 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 in. Amazon CloudWatch uses a fleet metric group is 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. A fleet can only be included in one metric group at a time.
metricGroups
- Names of metric groups to include this fleet in. Amazon CloudWatch uses a fleet metric group is 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. A fleet can only be included in one metric
group at a time.UpdateFleetAttributesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateFleetAttributesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.