Interface JobSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JobSummary.Builder,JobSummary>,SdkBuilder<JobSummary.Builder,JobSummary>,SdkPojo
- Enclosing class:
- JobSummary
public static interface JobSummary.Builder extends SdkPojo, CopyableBuilder<JobSummary.Builder,JobSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobSummary.BuildercommitId(String commitId)The commit ID from a third-party repository provider for the job.JobSummary.BuildercommitMessage(String commitMessage)The commit message from a third-party repository provider for the job.JobSummary.BuildercommitTime(Instant commitTime)The commit date and time for the job.JobSummary.BuilderendTime(Instant endTime)The end date and time for the job.JobSummary.BuilderjobArn(String jobArn)The Amazon Resource Name (ARN) for the job.JobSummary.BuilderjobId(String jobId)The unique ID for the job.JobSummary.BuilderjobType(String jobType)The type for the job.JobSummary.BuilderjobType(JobType jobType)The type for the job.JobSummary.BuildersourceUrl(String sourceUrl)The source URL for the files to deploy.JobSummary.BuildersourceUrlType(String sourceUrlType)The type of source specified by thesourceURL.JobSummary.BuildersourceUrlType(SourceUrlType sourceUrlType)The type of source specified by thesourceURL.JobSummary.BuilderstartTime(Instant startTime)The start date and time for the job.JobSummary.Builderstatus(String status)The current status for the job.JobSummary.Builderstatus(JobStatus status)The current status for the job.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.
-
status
JobSummary.Builder status(JobStatus status)
The current status for the job.
-
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 theStartJobAPI. This value is available only for apps that are connected to a repository.If the value is
RETRY, the job was manually retried using theStartJobAPI. If the value isWEB_HOOK, the job was automatically triggered by webhooks. If the value isMANUAL, 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 isRELEASE, the job was manually released from its source by using theStartJobAPI. This value is available only for apps that are connected to a repository.If the value is
RETRY, the job was manually retried using theStartJobAPI. If the value isWEB_HOOK, the job was automatically triggered by webhooks. If the value isMANUAL, 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,JobType
-
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 theStartJobAPI. This value is available only for apps that are connected to a repository.If the value is
RETRY, the job was manually retried using theStartJobAPI. If the value isWEB_HOOK, the job was automatically triggered by webhooks. If the value isMANUAL, 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 isRELEASE, the job was manually released from its source by using theStartJobAPI. This value is available only for apps that are connected to a repository.If the value is
RETRY, the job was manually retried using theStartJobAPI. If the value isWEB_HOOK, the job was automatically triggered by webhooks. If the value isMANUAL, 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,JobType
-
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 isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP.- Parameters:
sourceUrlType- The type of source specified by thesourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceUrlType,SourceUrlType
-
sourceUrlType
JobSummary.Builder sourceUrlType(SourceUrlType sourceUrlType)
The type of source specified by the
sourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP.- Parameters:
sourceUrlType- The type of source specified by thesourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceUrlType,SourceUrlType
-
-