@Generated(value="software.amazon.awssdk:codegen") public final class UpdatePullRequestStatusRequest extends CodeCommitRequest implements ToCopyableBuilder<UpdatePullRequestStatusRequest.Builder,UpdatePullRequestStatusRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdatePullRequestStatusRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdatePullRequestStatusRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
pullRequestId()
The system-generated ID of the pull request.
|
PullRequestStatusEnum |
pullRequestStatus()
The status of the pull request.
|
String |
pullRequestStatusAsString()
The status of the pull request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdatePullRequestStatusRequest.Builder> |
serializableBuilderClass() |
UpdatePullRequestStatusRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String pullRequestId()
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
public 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.
If the service returns an enum value that is not available in the current SDK version, pullRequestStatus
will return PullRequestStatusEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from pullRequestStatusAsString().
OPEN
to OPEN, OPEN to CLOSED or from CLOSED to
CLOSED.PullRequestStatusEnumpublic String pullRequestStatusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, pullRequestStatus
will return PullRequestStatusEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from pullRequestStatusAsString().
OPEN
to OPEN, OPEN to CLOSED or from CLOSED to
CLOSED.PullRequestStatusEnumpublic UpdatePullRequestStatusRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdatePullRequestStatusRequest.Builder,UpdatePullRequestStatusRequest>toBuilder in class CodeCommitRequestpublic static UpdatePullRequestStatusRequest.Builder builder()
public static Class<? extends UpdatePullRequestStatusRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.