Interface UpdateContainerFleetRequest.Builder

  • Method Details

    • fleetId

      A unique identifier for the container fleet to update. You can use either the fleet ID or ARN value.

      Parameters:
      fleetId - A unique identifier for the container fleet to update. 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.
    • gameServerContainerGroupDefinitionName

      UpdateContainerFleetRequest.Builder gameServerContainerGroupDefinitionName(String gameServerContainerGroupDefinitionName)

      The name or ARN value of a new game server container group definition to deploy on the fleet. If you're updating the fleet to a specific version of a container group definition, use the ARN value and include the version number. If you're updating the fleet to the latest version of a container group definition, you can use the name value. You can't remove a fleet's game server container group definition, you can only update or replace it with another definition.

      Update a container group definition by calling UpdateContainerGroupDefinition. This operation creates a ContainerGroupDefinition resource with an incremented version.

      Parameters:
      gameServerContainerGroupDefinitionName - The name or ARN value of a new game server container group definition to deploy on the fleet. If you're updating the fleet to a specific version of a container group definition, use the ARN value and include the version number. If you're updating the fleet to the latest version of a container group definition, you can use the name value. You can't remove a fleet's game server container group definition, you can only update or replace it with another definition.

      Update a container group definition by calling UpdateContainerGroupDefinition. This operation creates a ContainerGroupDefinition resource with an incremented version.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • perInstanceContainerGroupDefinitionName

      UpdateContainerFleetRequest.Builder perInstanceContainerGroupDefinitionName(String perInstanceContainerGroupDefinitionName)

      The name or ARN value of a new per-instance container group definition to deploy on the fleet. If you're updating the fleet to a specific version of a container group definition, use the ARN value and include the version number. If you're updating the fleet to the latest version of a container group definition, you can use the name value.

      Update a container group definition by calling UpdateContainerGroupDefinition. This operation creates a ContainerGroupDefinition resource with an incremented version.

      To remove a fleet's per-instance container group definition, leave this parameter empty and use the parameter RemoveAttributes.

      Parameters:
      perInstanceContainerGroupDefinitionName - The name or ARN value of a new per-instance container group definition to deploy on the fleet. If you're updating the fleet to a specific version of a container group definition, use the ARN value and include the version number. If you're updating the fleet to the latest version of a container group definition, you can use the name value.

      Update a container group definition by calling UpdateContainerGroupDefinition. This operation creates a ContainerGroupDefinition resource with an incremented version.

      To remove a fleet's per-instance container group definition, leave this parameter empty and use the parameter RemoveAttributes.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gameServerContainerGroupsPerInstance

      UpdateContainerFleetRequest.Builder gameServerContainerGroupsPerInstance(Integer gameServerContainerGroupsPerInstance)

      The number of times to replicate the game server container group on each fleet instance. By default, Amazon GameLift Servers calculates the maximum number of game server container groups that can fit on each instance. You can remove this property value to use the calculated value, or set it manually. If you set this number manually, Amazon GameLift Servers uses your value as long as it's less than the calculated maximum.

      Parameters:
      gameServerContainerGroupsPerInstance - The number of times to replicate the game server container group on each fleet instance. By default, Amazon GameLift Servers calculates the maximum number of game server container groups that can fit on each instance. You can remove this property value to use the calculated value, or set it manually. If you set this number manually, Amazon GameLift Servers uses your value as long as it's less than the calculated maximum.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceConnectionPortRange

      UpdateContainerFleetRequest.Builder instanceConnectionPortRange(ConnectionPortRange instanceConnectionPortRange)

      A revised set of port numbers to open on each fleet instance. By default, Amazon GameLift Servers calculates an optimal port range based on your fleet configuration. If you previously set this parameter manually, you can't reset this to use the calculated settings.

      Parameters:
      instanceConnectionPortRange - A revised set of port numbers to open on each fleet instance. By default, Amazon GameLift Servers calculates an optimal port range based on your fleet configuration. If you previously set this parameter manually, you can't reset this to use the calculated settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceConnectionPortRange

      default UpdateContainerFleetRequest.Builder instanceConnectionPortRange(Consumer<ConnectionPortRange.Builder> instanceConnectionPortRange)

      A revised set of port numbers to open on each fleet instance. By default, Amazon GameLift Servers calculates an optimal port range based on your fleet configuration. If you previously set this parameter manually, you can't reset this to use the calculated settings.

      This is a convenience method that creates an instance of the ConnectionPortRange.Builder avoiding the need to create one manually via ConnectionPortRange.builder().

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

      Parameters:
      instanceConnectionPortRange - a consumer that will call methods on ConnectionPortRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceInboundPermissionAuthorizations

      UpdateContainerFleetRequest.Builder instanceInboundPermissionAuthorizations(Collection<IpPermission> instanceInboundPermissionAuthorizations)

      A set of ports to add to the container fleet's inbound permissions.

      Parameters:
      instanceInboundPermissionAuthorizations - A set of ports to add to the container fleet's inbound permissions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceInboundPermissionAuthorizations

      UpdateContainerFleetRequest.Builder instanceInboundPermissionAuthorizations(IpPermission... instanceInboundPermissionAuthorizations)

      A set of ports to add to the container fleet's inbound permissions.

      Parameters:
      instanceInboundPermissionAuthorizations - A set of ports to add to the container fleet's inbound permissions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceInboundPermissionAuthorizations

      UpdateContainerFleetRequest.Builder instanceInboundPermissionAuthorizations(Consumer<IpPermission.Builder>... instanceInboundPermissionAuthorizations)

      A set of ports to add to the container fleet's inbound permissions.

      This is a convenience method that creates an instance of the IpPermission.Builder avoiding the need to create one manually via IpPermission.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to instanceInboundPermissionAuthorizations(List<IpPermission>).

      Parameters:
      instanceInboundPermissionAuthorizations - a consumer that will call methods on IpPermission.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceInboundPermissionRevocations

      UpdateContainerFleetRequest.Builder instanceInboundPermissionRevocations(Collection<IpPermission> instanceInboundPermissionRevocations)

      A set of ports to remove from the container fleet's inbound permissions.

      Parameters:
      instanceInboundPermissionRevocations - A set of ports to remove from the container fleet's inbound permissions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceInboundPermissionRevocations

      UpdateContainerFleetRequest.Builder instanceInboundPermissionRevocations(IpPermission... instanceInboundPermissionRevocations)

      A set of ports to remove from the container fleet's inbound permissions.

      Parameters:
      instanceInboundPermissionRevocations - A set of ports to remove from the container fleet's inbound permissions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceInboundPermissionRevocations

      UpdateContainerFleetRequest.Builder instanceInboundPermissionRevocations(Consumer<IpPermission.Builder>... instanceInboundPermissionRevocations)

      A set of ports to remove from the container fleet's inbound permissions.

      This is a convenience method that creates an instance of the IpPermission.Builder avoiding the need to create one manually via IpPermission.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to instanceInboundPermissionRevocations(List<IpPermission>).

      Parameters:
      instanceInboundPermissionRevocations - a consumer that will call methods on IpPermission.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deploymentConfiguration

      UpdateContainerFleetRequest.Builder deploymentConfiguration(DeploymentConfiguration deploymentConfiguration)

      Instructions for how to deploy updates to a container fleet, if the fleet update initiates a deployment. The deployment configuration lets you determine how to replace fleet instances and what actions to take if the deployment fails.

      Parameters:
      deploymentConfiguration - Instructions for how to deploy updates to a container fleet, if the fleet update initiates a deployment. The deployment configuration lets you determine how to replace fleet instances and what actions to take if the deployment fails.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentConfiguration

      default UpdateContainerFleetRequest.Builder deploymentConfiguration(Consumer<DeploymentConfiguration.Builder> deploymentConfiguration)

      Instructions for how to deploy updates to a container fleet, if the fleet update initiates a deployment. The deployment configuration lets you determine how to replace fleet instances and what actions to take if the deployment fails.

      This is a convenience method that creates an instance of the DeploymentConfiguration.Builder avoiding the need to create one manually via DeploymentConfiguration.builder().

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

      Parameters:
      deploymentConfiguration - a consumer that will call methods on DeploymentConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      UpdateContainerFleetRequest.Builder description(String description)

      A meaningful description of the container fleet.

      Parameters:
      description - A meaningful description of the container fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricGroups

      The name of an Amazon Web Services CloudWatch metric group to add this fleet to.

      Parameters:
      metricGroups - The name of an Amazon Web Services CloudWatch metric group to add this fleet to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricGroups

      UpdateContainerFleetRequest.Builder metricGroups(String... metricGroups)

      The name of an Amazon Web Services CloudWatch metric group to add this fleet to.

      Parameters:
      metricGroups - The name of an Amazon Web Services CloudWatch metric group to add this fleet to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • newGameSessionProtectionPolicy

      UpdateContainerFleetRequest.Builder newGameSessionProtectionPolicy(String newGameSessionProtectionPolicy)

      The game session protection policy to apply to all new game sessions that are started in this fleet. Game sessions that already exist are not affected.

      Parameters:
      newGameSessionProtectionPolicy - The game session protection policy to apply to all new game sessions that are started in this fleet. Game sessions that already exist are not affected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • newGameSessionProtectionPolicy

      UpdateContainerFleetRequest.Builder newGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy)

      The game session protection policy to apply to all new game sessions that are started in this fleet. Game sessions that already exist are not affected.

      Parameters:
      newGameSessionProtectionPolicy - The game session protection policy to apply to all new game sessions that are started in this fleet. Game sessions that already exist are not affected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • gameSessionCreationLimitPolicy

      UpdateContainerFleetRequest.Builder gameSessionCreationLimitPolicy(GameSessionCreationLimitPolicy gameSessionCreationLimitPolicy)

      A policy that limits the number of game sessions that each individual player can create on instances in this fleet. The limit applies for a specified span of time.

      Parameters:
      gameSessionCreationLimitPolicy - A policy that limits the number of game sessions that each individual player can create on instances in this fleet. The limit applies for a specified span of time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gameSessionCreationLimitPolicy

      default UpdateContainerFleetRequest.Builder gameSessionCreationLimitPolicy(Consumer<GameSessionCreationLimitPolicy.Builder> gameSessionCreationLimitPolicy)

      A policy that limits the number of game sessions that each individual player can create on instances in this fleet. The limit applies for a specified span of time.

      This is a convenience method that creates an instance of the GameSessionCreationLimitPolicy.Builder avoiding the need to create one manually via GameSessionCreationLimitPolicy.builder().

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

      Parameters:
      gameSessionCreationLimitPolicy - a consumer that will call methods on GameSessionCreationLimitPolicy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logConfiguration

      UpdateContainerFleetRequest.Builder logConfiguration(LogConfiguration logConfiguration)

      The method for collecting container logs for the fleet.

      Parameters:
      logConfiguration - The method for collecting container logs for the fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logConfiguration

      default UpdateContainerFleetRequest.Builder logConfiguration(Consumer<LogConfiguration.Builder> logConfiguration)

      The method for collecting container logs for the fleet.

      This is a convenience method that creates an instance of the LogConfiguration.Builder avoiding the need to create one manually via LogConfiguration.builder().

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

      Parameters:
      logConfiguration - a consumer that will call methods on LogConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • removeAttributesWithStrings

      UpdateContainerFleetRequest.Builder removeAttributesWithStrings(Collection<String> removeAttributes)

      If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.

      Parameters:
      removeAttributes - If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • removeAttributesWithStrings

      UpdateContainerFleetRequest.Builder removeAttributesWithStrings(String... removeAttributes)

      If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.

      Parameters:
      removeAttributes - If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • removeAttributes

      If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.

      Parameters:
      removeAttributes - If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • removeAttributes

      If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.

      Parameters:
      removeAttributes - If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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