@Generated(value="software.amazon.awssdk:codegen") public final class UpdatePullRequestApprovalStateRequest extends CodeCommitRequest implements ToCopyableBuilder<UpdatePullRequestApprovalStateRequest.Builder,UpdatePullRequestApprovalStateRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdatePullRequestApprovalStateRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
ApprovalState |
approvalState()
The approval state to associate with the user on the pull request.
|
String |
approvalStateAsString()
The approval state to associate with the user on the pull request.
|
static UpdatePullRequestApprovalStateRequest.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.
|
String |
revisionId()
The system-generated ID of the revision.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdatePullRequestApprovalStateRequest.Builder> |
serializableBuilderClass() |
UpdatePullRequestApprovalStateRequest.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.
public String revisionId()
The system-generated ID of the revision.
public ApprovalState approvalState()
The approval state to associate with the user on the pull request.
If the service returns an enum value that is not available in the current SDK version, approvalState
will return ApprovalState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
approvalStateAsString().
ApprovalStatepublic String approvalStateAsString()
The approval state to associate with the user on the pull request.
If the service returns an enum value that is not available in the current SDK version, approvalState
will return ApprovalState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
approvalStateAsString().
ApprovalStatepublic UpdatePullRequestApprovalStateRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdatePullRequestApprovalStateRequest.Builder,UpdatePullRequestApprovalStateRequest>toBuilder in class CodeCommitRequestpublic static UpdatePullRequestApprovalStateRequest.Builder builder()
public static Class<? extends UpdatePullRequestApprovalStateRequest.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.