@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)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfigurationcopypublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<StartJobRequest.Builder,StartJobRequest>toBuilder in class AmplifyRequestpublic static StartJobRequest.Builder builder()
public static Class<? extends StartJobRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.