public static interface StartJobRequest.Builder extends AmplifyRequest.Builder, SdkPojo, CopyableBuilder<StartJobRequest.Builder,StartJobRequest>
| Modifier and Type | Method and Description |
|---|---|
StartJobRequest.Builder |
appId(String appId)
The unique ID for an Amplify app.
|
StartJobRequest.Builder |
branchName(String branchName)
The branch name for the job.
|
StartJobRequest.Builder |
commitId(String commitId)
The commit ID from a third-party repository provider for the job.
|
StartJobRequest.Builder |
commitMessage(String commitMessage)
The commit message from a third-party repository provider for the job.
|
StartJobRequest.Builder |
commitTime(Instant commitTime)
The commit date and time for the job.
|
StartJobRequest.Builder |
jobId(String jobId)
The unique ID for an existing job.
|
StartJobRequest.Builder |
jobReason(String jobReason)
A descriptive reason for starting this job.
|
StartJobRequest.Builder |
jobType(JobType jobType)
Describes the type for the job.
|
StartJobRequest.Builder |
jobType(String jobType)
Describes the type for the job.
|
StartJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartJobRequest.Builder appId(String appId)
The unique ID for an Amplify app.
appId - The unique ID for an Amplify app.StartJobRequest.Builder branchName(String branchName)
The branch name for the job.
branchName - The branch name for the job.StartJobRequest.Builder jobId(String jobId)
The unique ID for an existing job. This is required if the value of jobType is
RETRY.
jobId - The unique ID for an existing job. This is required if the value of jobType is
RETRY.StartJobRequest.Builder jobType(String jobType)
Describes the type for the job. The job type RELEASE starts a new job with the latest change
from the specified branch. This value is available only for apps that are connected to a repository. The job
type RETRY retries an existing job. If the job type value is RETRY, the
jobId is also required.
jobType - Describes the type for the job. The job type RELEASE starts a new job with the latest
change from the specified branch. This value is available only for apps that are connected to a
repository. The job type RETRY retries an existing job. If the job type value is
RETRY, the jobId is also required.JobType,
JobTypeStartJobRequest.Builder jobType(JobType jobType)
Describes the type for the job. The job type RELEASE starts a new job with the latest change
from the specified branch. This value is available only for apps that are connected to a repository. The job
type RETRY retries an existing job. If the job type value is RETRY, the
jobId is also required.
jobType - Describes the type for the job. The job type RELEASE starts a new job with the latest
change from the specified branch. This value is available only for apps that are connected to a
repository. The job type RETRY retries an existing job. If the job type value is
RETRY, the jobId is also required.JobType,
JobTypeStartJobRequest.Builder jobReason(String jobReason)
A descriptive reason for starting this job.
jobReason - A descriptive reason for starting this job.StartJobRequest.Builder commitId(String commitId)
The commit ID from a third-party repository provider for the job.
commitId - The commit ID from a third-party repository provider for the job.StartJobRequest.Builder commitMessage(String commitMessage)
The commit message from a third-party repository provider for the job.
commitMessage - The commit message from a third-party repository provider for the job.StartJobRequest.Builder commitTime(Instant commitTime)
The commit date and time for the job.
commitTime - The commit date and time for the job.StartJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.