Interface UpdateFleetAttributesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFleetAttributesRequest.Builder,UpdateFleetAttributesRequest>,GameLiftRequest.Builder,SdkBuilder<UpdateFleetAttributesRequest.Builder,UpdateFleetAttributesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateFleetAttributesRequest
public static interface UpdateFleetAttributesRequest.Builder extends GameLiftRequest.Builder, SdkPojo, CopyableBuilder<UpdateFleetAttributesRequest.Builder,UpdateFleetAttributesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateFleetAttributesRequest.BuilderanywhereConfiguration(Consumer<AnywhereConfiguration.Builder> anywhereConfiguration)Amazon GameLift Anywhere configuration options.UpdateFleetAttributesRequest.BuilderanywhereConfiguration(AnywhereConfiguration anywhereConfiguration)Amazon GameLift Anywhere configuration options.UpdateFleetAttributesRequest.Builderdescription(String description)A human-readable description of a fleet.UpdateFleetAttributesRequest.BuilderfleetId(String fleetId)A unique identifier for the fleet to update attribute metadata for.UpdateFleetAttributesRequest.BuildermetricGroups(String... metricGroups)The name of a metric group to add this fleet to.UpdateFleetAttributesRequest.BuildermetricGroups(Collection<String> metricGroups)The name of a metric group to add this fleet to.UpdateFleetAttributesRequest.Buildername(String name)A descriptive label that is associated with a fleet.UpdateFleetAttributesRequest.BuildernewGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)The game session protection policy to apply to all new game sessions created in this fleet.UpdateFleetAttributesRequest.BuildernewGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)The game session protection policy to apply to all new game sessions created in this fleet.UpdateFleetAttributesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateFleetAttributesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateFleetAttributesRequest.BuilderresourceCreationLimitPolicy(Consumer<ResourceCreationLimitPolicy.Builder> resourceCreationLimitPolicy)Policy settings that limit the number of game sessions an individual player can create over a span of time.UpdateFleetAttributesRequest.BuilderresourceCreationLimitPolicy(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 Detail
-
fleetId
UpdateFleetAttributesRequest.Builder fleetId(String 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
UpdateFleetAttributesRequest.Builder name(String 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
UpdateFleetAttributesRequest.Builder description(String 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
ACTIVEstatus, 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
ACTIVEstatus, 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:
ProtectionPolicy,ProtectionPolicy
-
-
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
ACTIVEstatus, 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
ACTIVEstatus, 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:
ProtectionPolicy,ProtectionPolicy
-
-
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.Builderavoiding the need to create one manually viaResourceCreationLimitPolicy.builder().When the
Consumercompletes,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:
resourceCreationLimitPolicy(ResourceCreationLimitPolicy)
-
metricGroups
UpdateFleetAttributesRequest.Builder metricGroups(Collection<String> 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
UpdateFleetAttributesRequest.Builder metricGroups(String... 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.Builderavoiding the need to create one manually viaAnywhereConfiguration.builder().When the
Consumercompletes,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:
anywhereConfiguration(AnywhereConfiguration)
-
overrideConfiguration
UpdateFleetAttributesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateFleetAttributesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-