@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request structure for Start job request.
NOOP
Constructor and Description |
---|
StartJobRequest() |
Modifier and Type | Method and Description |
---|---|
StartJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppId()
Unique Id for an Amplify App.
|
String |
getBranchName()
Name for the branch, for the Job.
|
String |
getCommitId()
Commit Id from 3rd party repository provider for the Job.
|
String |
getCommitMessage()
Commit message from 3rd party repository provider for the Job.
|
Date |
getCommitTime()
Commit date / time for the Job.
|
String |
getJobId()
Unique Id for an existing job.
|
String |
getJobReason()
Descriptive reason for starting this job.
|
String |
getJobType()
Type for the Job.
|
int |
hashCode() |
void |
setAppId(String appId)
Unique Id for an Amplify App.
|
void |
setBranchName(String branchName)
Name for the branch, for the Job.
|
void |
setCommitId(String commitId)
Commit Id from 3rd party repository provider for the Job.
|
void |
setCommitMessage(String commitMessage)
Commit message from 3rd party repository provider for the Job.
|
void |
setCommitTime(Date commitTime)
Commit date / time for the Job.
|
void |
setJobId(String jobId)
Unique Id for an existing job.
|
void |
setJobReason(String jobReason)
Descriptive reason for starting this job.
|
void |
setJobType(String jobType)
Type for the Job.
|
String |
toString()
Returns a string representation of this object.
|
StartJobRequest |
withAppId(String appId)
Unique Id for an Amplify App.
|
StartJobRequest |
withBranchName(String branchName)
Name for the branch, for the Job.
|
StartJobRequest |
withCommitId(String commitId)
Commit Id from 3rd party repository provider for the Job.
|
StartJobRequest |
withCommitMessage(String commitMessage)
Commit message from 3rd party repository provider for the Job.
|
StartJobRequest |
withCommitTime(Date commitTime)
Commit date / time for the Job.
|
StartJobRequest |
withJobId(String jobId)
Unique Id for an existing job.
|
StartJobRequest |
withJobReason(String jobReason)
Descriptive reason for starting this job.
|
StartJobRequest |
withJobType(JobType jobType)
Type for the Job.
|
StartJobRequest |
withJobType(String jobType)
Type for the Job.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAppId(String appId)
Unique Id for an Amplify App.
appId
- Unique Id for an Amplify App.public String getAppId()
Unique Id for an Amplify App.
public StartJobRequest withAppId(String appId)
Unique Id for an Amplify App.
appId
- Unique Id for an Amplify App.public void setBranchName(String branchName)
Name for the branch, for the Job.
branchName
- Name for the branch, for the Job.public String getBranchName()
Name for the branch, for the Job.
public StartJobRequest withBranchName(String branchName)
Name for the branch, for the Job.
branchName
- Name for the branch, for the Job.public void setJobId(String jobId)
Unique Id for an existing job. Required for "RETRY" JobType.
jobId
- Unique Id for an existing job. Required for "RETRY" JobType.public String getJobId()
Unique Id for an existing job. Required for "RETRY" JobType.
public StartJobRequest withJobId(String jobId)
Unique Id for an existing job. Required for "RETRY" JobType.
jobId
- Unique Id for an existing job. Required for "RETRY" JobType.public void setJobType(String 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.
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.JobType
public String getJobType()
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.
JobType
public StartJobRequest withJobType(String 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.
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.JobType
public StartJobRequest withJobType(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.
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.JobType
public void setJobReason(String jobReason)
Descriptive reason for starting this job.
jobReason
- Descriptive reason for starting this job.public String getJobReason()
Descriptive reason for starting this job.
public StartJobRequest withJobReason(String jobReason)
Descriptive reason for starting this job.
jobReason
- Descriptive reason for starting this job.public void setCommitId(String commitId)
Commit Id from 3rd party repository provider for the Job.
commitId
- Commit Id from 3rd party repository provider for the Job.public String getCommitId()
Commit Id from 3rd party repository provider for the Job.
public StartJobRequest withCommitId(String commitId)
Commit Id from 3rd party repository provider for the Job.
commitId
- Commit Id from 3rd party repository provider for the Job.public void setCommitMessage(String commitMessage)
Commit message from 3rd party repository provider for the Job.
commitMessage
- Commit message from 3rd party repository provider for the Job.public String getCommitMessage()
Commit message from 3rd party repository provider for the Job.
public StartJobRequest withCommitMessage(String commitMessage)
Commit message from 3rd party repository provider for the Job.
commitMessage
- Commit message from 3rd party repository provider for the Job.public void setCommitTime(Date commitTime)
Commit date / time for the Job.
commitTime
- Commit date / time for the Job.public Date getCommitTime()
Commit date / time for the Job.
public StartJobRequest withCommitTime(Date commitTime)
Commit date / time for the Job.
commitTime
- Commit date / time for the Job.public String toString()
toString
in class Object
Object.toString()
public StartJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.