Interface Deployment.Builder

  • Method Details

    • versionLabel

      Deployment.Builder versionLabel(String versionLabel)

      The version label of the application version in the deployment.

      Parameters:
      versionLabel - The version label of the application version in the deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deploymentId

      Deployment.Builder deploymentId(Long deploymentId)

      The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.

      Parameters:
      deploymentId - The ID of the deployment. This number increases by one each time that you deploy source code or change instance configuration settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Deployment.Builder status(String status)

      The status of the deployment:

      • In Progress : The deployment is in progress.

      • Deployed : The deployment succeeded.

      • Failed : The deployment failed.

      Parameters:
      status - The status of the deployment:

      • In Progress : The deployment is in progress.

      • Deployed : The deployment succeeded.

      • Failed : The deployment failed.

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

      Deployment.Builder deploymentTime(Instant deploymentTime)

      For in-progress deployments, the time that the deployment started.

      For completed deployments, the time that the deployment ended.

      Parameters:
      deploymentTime - For in-progress deployments, the time that the deployment started.

      For completed deployments, the time that the deployment ended.

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