@Generated(value="software.amazon.awssdk:codegen") public final class StartJobRequest extends AmplifyRequest implements ToCopyableBuilder<StartJobRequest.Builder,StartJobRequest>
Request structure for Start job request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartJobRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
appId()
Unique Id for an Amplify App.
|
String |
branchName()
Name for the branch, for the Job.
|
static StartJobRequest.Builder |
builder() |
String |
commitId()
Commit Id from 3rd party repository provider for the Job.
|
String |
commitMessage()
Commit message from 3rd party repository provider for the Job.
|
Instant |
commitTime()
Commit date / time for the Job.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jobId()
Unique Id for an existing job.
|
String |
jobReason()
Descriptive reason for starting this job.
|
JobType |
jobType()
Type for the Job.
|
String |
jobTypeAsString()
Type for the Job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartJobRequest.Builder> |
serializableBuilderClass() |
StartJobRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String appId()
Unique Id for an Amplify App.
public String branchName()
Name for the branch, for the Job.
public String jobId()
Unique Id for an existing job. Required for "RETRY" JobType.
public JobType jobType()
Type for the Job. Available JobTypes are: \n "RELEASE": Start a new job with the latest change from the specified branch. Only available for apps that have connected to a repository. "RETRY": Retry an existing job. JobId is required for this type of job.
If the service returns an enum value that is not available in the current SDK version, jobType will
return JobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobTypeAsString().
JobTypepublic String jobTypeAsString()
Type for the Job. Available JobTypes are: \n "RELEASE": Start a new job with the latest change from the specified branch. Only available for apps that have connected to a repository. "RETRY": Retry an existing job. JobId is required for this type of job.
If the service returns an enum value that is not available in the current SDK version, jobType will
return JobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobTypeAsString().
JobTypepublic String jobReason()
Descriptive reason for starting this job.
public String commitId()
Commit Id from 3rd party repository provider for the Job.
public String commitMessage()
Commit message from 3rd party repository provider for the Job.
public Instant commitTime()
Commit date / time for the Job.
public StartJobRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartJobRequest.Builder,StartJobRequest>toBuilder in class AmplifyRequestpublic static StartJobRequest.Builder builder()
public static Class<? extends StartJobRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.