@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePullRequestStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdatePullRequestStatusRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePullRequestStatusRequest |
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 |
getPullRequestStatus()
The status of the pull request.
|
int |
hashCode() |
void |
setPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
void |
setPullRequestStatus(String pullRequestStatus)
The status of the pull request.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePullRequestStatusRequest |
withPullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
UpdatePullRequestStatusRequest |
withPullRequestStatus(PullRequestStatusEnum pullRequestStatus)
The status of the pull request.
|
UpdatePullRequestStatusRequest |
withPullRequestStatus(String pullRequestStatus)
The status of the pull request.
|
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 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 UpdatePullRequestStatusRequest 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 setPullRequestStatus(String pullRequestStatus)
The status of the pull request. The only valid operations are to update the status from OPEN
to
OPEN
, OPEN
to CLOSED
or from CLOSED
to CLOSED
.
pullRequestStatus
- The status of the pull request. The only valid operations are to update the status from OPEN
to OPEN
, OPEN
to CLOSED
or from CLOSED
to
CLOSED
.PullRequestStatusEnum
public String getPullRequestStatus()
The status of the pull request. The only valid operations are to update the status from OPEN
to
OPEN
, OPEN
to CLOSED
or from CLOSED
to CLOSED
.
OPEN
to OPEN
, OPEN
to CLOSED
or from CLOSED
to
CLOSED
.PullRequestStatusEnum
public UpdatePullRequestStatusRequest withPullRequestStatus(String pullRequestStatus)
The status of the pull request. The only valid operations are to update the status from OPEN
to
OPEN
, OPEN
to CLOSED
or from CLOSED
to CLOSED
.
pullRequestStatus
- The status of the pull request. The only valid operations are to update the status from OPEN
to OPEN
, OPEN
to CLOSED
or from CLOSED
to
CLOSED
.PullRequestStatusEnum
public UpdatePullRequestStatusRequest withPullRequestStatus(PullRequestStatusEnum pullRequestStatus)
The status of the pull request. The only valid operations are to update the status from OPEN
to
OPEN
, OPEN
to CLOSED
or from CLOSED
to CLOSED
.
pullRequestStatus
- The status of the pull request. The only valid operations are to update the status from OPEN
to OPEN
, OPEN
to CLOSED
or from CLOSED
to
CLOSED
.PullRequestStatusEnum
public String toString()
toString
in class Object
Object.toString()
public UpdatePullRequestStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()