@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jobId()
Unique Id for the Job.
|
String |
jobReason()
Reason for the 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 the Job.
public JobType jobType()
Type for the 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.
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()
Reason for the 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 String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.