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
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
jobTypeisRETRY.- Parameters:
jobId- The unique ID for an existing job. This is required if the value ofjobTypeisRETRY.- 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
RELEASEstarts 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
RETRYretries an existing job. If the job type value isRETRY, thejobIdis also required.- Parameters:
jobType- Describes the type for the job. The job typeRELEASEstarts 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
RETRYretries an existing job. If the job type value isRETRY, thejobIdis 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
RELEASEstarts 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
RETRYretries an existing job. If the job type value isRETRY, thejobIdis also required.- Parameters:
jobType- Describes the type for the job. The job typeRELEASEstarts 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
RETRYretries an existing job. If the job type value isRETRY, thejobIdis 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-