Interface UpdateFleetAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateFleetAttributesRequest.Builder,
,UpdateFleetAttributesRequest> GameLiftRequest.Builder
,SdkBuilder<UpdateFleetAttributesRequest.Builder,
,UpdateFleetAttributesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateFleetAttributesRequest
-
Method Summary
Modifier and TypeMethodDescriptionanywhereConfiguration
(Consumer<AnywhereConfiguration.Builder> anywhereConfiguration) Amazon GameLift Anywhere configuration options.anywhereConfiguration
(AnywhereConfiguration anywhereConfiguration) Amazon GameLift Anywhere configuration options.description
(String description) A human-readable description of a fleet.A unique identifier for the fleet to update attribute metadata for.metricGroups
(String... metricGroups) The name of a metric group to add this fleet to.metricGroups
(Collection<String> metricGroups) The name of a metric group to add this fleet to.A descriptive label that is associated with a fleet.newGameSessionProtectionPolicy
(String newGameSessionProtectionPolicy) The game session protection policy to apply to all new game sessions created in this fleet.newGameSessionProtectionPolicy
(ProtectionPolicy newGameSessionProtectionPolicy) The game session protection policy to apply to all new game sessions created in this fleet.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceCreationLimitPolicy
(Consumer<ResourceCreationLimitPolicy.Builder> resourceCreationLimitPolicy) Policy settings that limit the number of game sessions an individual player can create over a span of time.resourceCreationLimitPolicy
(ResourceCreationLimitPolicy resourceCreationLimitPolicy) Policy settings that limit the number of game sessions an individual player can create over a span of time.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fleetId
A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN value.
- Parameters:
fleetId
- A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
- Parameters:
name
- A descriptive label that is associated with a fleet. Fleet names do not need to be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A human-readable description of a fleet.
- Parameters:
description
- A human-readable description of a fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newGameSessionProtectionPolicy
UpdateFleetAttributesRequest.Builder newGameSessionProtectionPolicy(String newGameSessionProtectionPolicy) The game session protection policy to apply to all new game sessions created in this fleet. Game sessions that already exist are not affected. You can set protection for individual game sessions 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.
- Parameters:
newGameSessionProtectionPolicy
- The game session protection policy to apply to all new game sessions created in this fleet. Game sessions that already exist are not affected. You can set protection for individual game sessions 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
newGameSessionProtectionPolicy
UpdateFleetAttributesRequest.Builder newGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy) The game session protection policy to apply to all new game sessions created in this fleet. Game sessions that already exist are not affected. You can set protection for individual game sessions 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.
- Parameters:
newGameSessionProtectionPolicy
- The game session protection policy to apply to all new game sessions created in this fleet. Game sessions that already exist are not affected. You can set protection for individual game sessions 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
resourceCreationLimitPolicy
UpdateFleetAttributesRequest.Builder resourceCreationLimitPolicy(ResourceCreationLimitPolicy resourceCreationLimitPolicy) Policy settings that limit the number of game sessions an individual player can create over a span of time.
- Parameters:
resourceCreationLimitPolicy
- Policy settings that limit the number of game sessions an individual player can create over a span of time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCreationLimitPolicy
default UpdateFleetAttributesRequest.Builder resourceCreationLimitPolicy(Consumer<ResourceCreationLimitPolicy.Builder> resourceCreationLimitPolicy) Policy settings that limit the number of game sessions an individual player can create over a span of time.
This is a convenience method that creates an instance of theResourceCreationLimitPolicy.Builder
avoiding the need to create one manually viaResourceCreationLimitPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceCreationLimitPolicy(ResourceCreationLimitPolicy)
.- Parameters:
resourceCreationLimitPolicy
- a consumer that will call methods onResourceCreationLimitPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricGroups
The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new name. A fleet can only be in one metric group at a time.
- Parameters:
metricGroups
- The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new name. A fleet can only be in one metric group at a time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricGroups
The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new name. A fleet can only be in one metric group at a time.
- Parameters:
metricGroups
- The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new name. A fleet can only be in one metric group at a time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anywhereConfiguration
UpdateFleetAttributesRequest.Builder anywhereConfiguration(AnywhereConfiguration anywhereConfiguration) Amazon GameLift Anywhere configuration options.
- Parameters:
anywhereConfiguration
- Amazon GameLift Anywhere configuration options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anywhereConfiguration
default UpdateFleetAttributesRequest.Builder anywhereConfiguration(Consumer<AnywhereConfiguration.Builder> anywhereConfiguration) Amazon GameLift Anywhere configuration options.
This is a convenience method that creates an instance of theAnywhereConfiguration.Builder
avoiding the need to create one manually viaAnywhereConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanywhereConfiguration(AnywhereConfiguration)
.- Parameters:
anywhereConfiguration
- a consumer that will call methods onAnywhereConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateFleetAttributesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFleetAttributesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-