Interface StartJobRequest.Builder
- All Superinterfaces:
AmplifyRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<StartJobRequest.Builder,
,StartJobRequest> SdkBuilder<StartJobRequest.Builder,
,StartJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID for an Amplify app.branchName
(String branchName) The name of the branch to use for the job.The commit ID from a third-party repository provider for the job.commitMessage
(String commitMessage) The commit message from a third-party repository provider for the job.commitTime
(Instant commitTime) The commit date and time for the job.The unique ID for an existing job.A descriptive reason for starting the job.Describes the type for the job.Describes the type for the job.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.amplify.model.AmplifyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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, sdkFields
-
Method Details
-
appId
The unique ID for an Amplify app.
- Parameters:
appId
- The unique ID for an Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branchName
The name of the branch to use for the job.
- Parameters:
branchName
- The name of the branch to use for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
The unique ID for an existing job. This is required if the value of
jobType
isRETRY
.- Parameters:
jobId
- The unique ID for an existing job. This is required if the value ofjobType
isRETRY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 isRETRY
, thejobId
is also required.- Parameters:
jobType
- Describes the type for the job. The job typeRELEASE
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 isRETRY
, thejobId
is also required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 isRETRY
, thejobId
is also required.- Parameters:
jobType
- Describes the type for the job. The job typeRELEASE
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 isRETRY
, thejobId
is also required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobReason
A descriptive reason for starting the job.
- Parameters:
jobReason
- A descriptive reason for starting the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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.
-
overrideConfiguration
StartJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-