@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 final String pullRequestId()
The system-generated ID of the pull request.
public final String revisionId()
The system-generated ID of the revision.
public final 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 final 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 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.