Interface JobSummary.Builder

  • Method Details

    • jobArn

      JobSummary.Builder jobArn(String jobArn)

      The Amazon Resource Name (ARN) for the job.

      Parameters:
      jobArn - The Amazon Resource Name (ARN) for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobId

      JobSummary.Builder jobId(String jobId)

      The unique ID for the job.

      Parameters:
      jobId - The unique ID for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commitId

      JobSummary.Builder commitId(String commitId)

      The commit ID from a third-party repository provider for the job.

      Parameters:
      commitId - The commit ID from a third-party repository provider for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commitMessage

      JobSummary.Builder commitMessage(String commitMessage)

      The commit message from a third-party repository provider for the job.

      Parameters:
      commitMessage - The commit message from a third-party repository provider for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commitTime

      JobSummary.Builder commitTime(Instant commitTime)

      The commit date and time for the job.

      Parameters:
      commitTime - The commit date and time for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      JobSummary.Builder startTime(Instant startTime)

      The start date and time for the job.

      Parameters:
      startTime - The start date and time for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      JobSummary.Builder status(String status)

      The current status for the job.

      Parameters:
      status - The current status for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      JobSummary.Builder status(JobStatus status)

      The current status for the job.

      Parameters:
      status - The current status for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • endTime

      JobSummary.Builder endTime(Instant endTime)

      The end date and time for the job.

      Parameters:
      endTime - The end date and time for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobType

      JobSummary.Builder jobType(String jobType)

      The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. This value is available only for apps that are connected to a repository.

      If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks. If the value is MANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.

      Parameters:
      jobType - The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. This value is available only for apps that are connected to a repository.

      If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks. If the value is MANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.

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

      JobSummary.Builder jobType(JobType jobType)

      The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. This value is available only for apps that are connected to a repository.

      If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks. If the value is MANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.

      Parameters:
      jobType - The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. This value is available only for apps that are connected to a repository.

      If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks. If the value is MANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.

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

      JobSummary.Builder sourceUrl(String sourceUrl)

      The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.

      Parameters:
      sourceUrl - The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceUrlType

      JobSummary.Builder sourceUrlType(String sourceUrlType)

      The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

      Parameters:
      sourceUrlType - The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceUrlType

      JobSummary.Builder sourceUrlType(SourceUrlType sourceUrlType)

      The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

      Parameters:
      sourceUrlType - The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: