Interface FleetDeployment.Builder

  • Method Details

    • deploymentId

      FleetDeployment.Builder deploymentId(String deploymentId)

      A unique identifier for the deployment.

      Parameters:
      deploymentId - A unique identifier for the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fleetId

      FleetDeployment.Builder fleetId(String fleetId)

      A unique identifier for the container fleet.

      Parameters:
      fleetId - A unique identifier for the container fleet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gameServerBinaryArn

      FleetDeployment.Builder gameServerBinaryArn(String gameServerBinaryArn)

      The unique identifier for the version of the game server container group definition that is being deployed.

      Parameters:
      gameServerBinaryArn - The unique identifier for the version of the game server container group definition that is being deployed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rollbackGameServerBinaryArn

      FleetDeployment.Builder rollbackGameServerBinaryArn(String rollbackGameServerBinaryArn)

      The unique identifier for the version of the game server container group definition to roll back to if deployment fails. Amazon GameLift Servers sets this property to the container group definition version that the fleet used when it was last active.

      Parameters:
      rollbackGameServerBinaryArn - The unique identifier for the version of the game server container group definition to roll back to if deployment fails. Amazon GameLift Servers sets this property to the container group definition version that the fleet used when it was last active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • perInstanceBinaryArn

      FleetDeployment.Builder perInstanceBinaryArn(String perInstanceBinaryArn)

      The unique identifier for the version of the per-instance container group definition that is being deployed.

      Parameters:
      perInstanceBinaryArn - The unique identifier for the version of the per-instance container group definition that is being deployed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rollbackPerInstanceBinaryArn

      FleetDeployment.Builder rollbackPerInstanceBinaryArn(String rollbackPerInstanceBinaryArn)

      The unique identifier for the version of the per-instance container group definition to roll back to if deployment fails. Amazon GameLift Servers sets this property to the container group definition version that the fleet used when it was last active.

      Parameters:
      rollbackPerInstanceBinaryArn - The unique identifier for the version of the per-instance container group definition to roll back to if deployment fails. Amazon GameLift Servers sets this property to the container group definition version that the fleet used when it was last active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentStatus

      FleetDeployment.Builder deploymentStatus(String deploymentStatus)

      The status of fleet deployment activity in the location.

      • IN_PROGRESS -- The deployment is in progress.

      • IMPAIRED -- The deployment failed and the fleet has some impaired containers.

      • COMPLETE -- The deployment has completed successfully.

      • ROLLBACK_IN_PROGRESS -- The deployment failed and rollback has been initiated.

      • ROLLBACK_IN_COMPLETE -- The deployment failed and rollback has been completed.

      • CANCELLED -- The deployment was cancelled.

      Parameters:
      deploymentStatus - The status of fleet deployment activity in the location.

      • IN_PROGRESS -- The deployment is in progress.

      • IMPAIRED -- The deployment failed and the fleet has some impaired containers.

      • COMPLETE -- The deployment has completed successfully.

      • ROLLBACK_IN_PROGRESS -- The deployment failed and rollback has been initiated.

      • ROLLBACK_IN_COMPLETE -- The deployment failed and rollback has been completed.

      • CANCELLED -- The deployment was cancelled.

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

      FleetDeployment.Builder deploymentStatus(DeploymentStatus deploymentStatus)

      The status of fleet deployment activity in the location.

      • IN_PROGRESS -- The deployment is in progress.

      • IMPAIRED -- The deployment failed and the fleet has some impaired containers.

      • COMPLETE -- The deployment has completed successfully.

      • ROLLBACK_IN_PROGRESS -- The deployment failed and rollback has been initiated.

      • ROLLBACK_IN_COMPLETE -- The deployment failed and rollback has been completed.

      • CANCELLED -- The deployment was cancelled.

      Parameters:
      deploymentStatus - The status of fleet deployment activity in the location.

      • IN_PROGRESS -- The deployment is in progress.

      • IMPAIRED -- The deployment failed and the fleet has some impaired containers.

      • COMPLETE -- The deployment has completed successfully.

      • ROLLBACK_IN_PROGRESS -- The deployment failed and rollback has been initiated.

      • ROLLBACK_IN_COMPLETE -- The deployment failed and rollback has been completed.

      • CANCELLED -- The deployment was cancelled.

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

      FleetDeployment.Builder deploymentConfiguration(DeploymentConfiguration deploymentConfiguration)

      Instructions for how to deploy updates to a container fleet and what actions to take if the deployment fails.

      Parameters:
      deploymentConfiguration - Instructions for how to deploy updates to a container fleet 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 FleetDeployment.Builder deploymentConfiguration(Consumer<DeploymentConfiguration.Builder> deploymentConfiguration)

      Instructions for how to deploy updates to a container fleet 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:
    • creationTime

      FleetDeployment.Builder creationTime(Instant creationTime)

      A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").

      Parameters:
      creationTime - A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
      Returns:
      Returns a reference to this object so that method calls can be chained together.