@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MergePullRequestByFastForwardRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
MergePullRequestByFastForwardRequest() |
Modifier and Type | Method and Description |
---|---|
MergePullRequestByFastForwardRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPullRequestId()
The system-generated ID of the pull request.
|
String |
getRepositoryName()
The name of the repository where the pull request was created.
|
String |
getSourceCommitId()
The full commit ID of the original or updated commit in the pull request source branch.
|
int |
hashCode() |
void |
setPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
void |
setRepositoryName(String repositoryName)
The name of the repository where the pull request was created.
|
void |
setSourceCommitId(String sourceCommitId)
The full commit ID of the original or updated commit in the pull request source branch.
|
String |
toString()
Returns a string representation of this object.
|
MergePullRequestByFastForwardRequest |
withPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
MergePullRequestByFastForwardRequest |
withRepositoryName(String repositoryName)
The name of the repository where the pull request was created.
|
MergePullRequestByFastForwardRequest |
withSourceCommitId(String sourceCommitId)
The full commit ID of the original or updated commit in the pull request source branch.
|
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 MergePullRequestByFastForwardRequest()
public void setPullRequestId(String pullRequestId)
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
pullRequestId
- The system-generated ID of the pull request. To get this ID, use ListPullRequests.public String getPullRequestId()
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
public MergePullRequestByFastForwardRequest withPullRequestId(String pullRequestId)
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
pullRequestId
- The system-generated ID of the pull request. To get this ID, use ListPullRequests.public void setRepositoryName(String repositoryName)
The name of the repository where the pull request was created.
repositoryName
- The name of the repository where the pull request was created.public String getRepositoryName()
The name of the repository where the pull request was created.
public MergePullRequestByFastForwardRequest withRepositoryName(String repositoryName)
The name of the repository where the pull request was created.
repositoryName
- The name of the repository where the pull request was created.public void setSourceCommitId(String sourceCommitId)
The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.
sourceCommitId
- The full commit ID of the original or updated commit in the pull request source branch. Pass this value if
you want an exception thrown if the current commit ID of the tip of the source branch does not match this
commit ID.public String getSourceCommitId()
The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.
public MergePullRequestByFastForwardRequest withSourceCommitId(String sourceCommitId)
The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.
sourceCommitId
- The full commit ID of the original or updated commit in the pull request source branch. Pass this value if
you want an exception thrown if the current commit ID of the tip of the source branch does not match this
commit ID.public String toString()
toString
in class Object
Object.toString()
public MergePullRequestByFastForwardRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()