@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 final String pullRequestId()
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
public final 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 final 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.