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 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

      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 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 the ResourceCreationLimitPolicy.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).

      Parameters:
      resourceCreationLimitPolicy - a consumer that will call methods on ResourceCreationLimitPolicy.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

      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 the AnywhereConfiguration.Builder avoiding the need to create one manually via AnywhereConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to anywhereConfiguration(AnywhereConfiguration).

      Parameters:
      anywhereConfiguration - a consumer that will call methods on AnywhereConfiguration.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.