@Generated(value="software.amazon.awssdk:codegen") public final class OverridePullRequestApprovalRulesRequest extends CodeCommitRequest implements ToCopyableBuilder<OverridePullRequestApprovalRulesRequest.Builder,OverridePullRequestApprovalRulesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
OverridePullRequestApprovalRulesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OverridePullRequestApprovalRulesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OverrideStatus |
overrideStatus()
Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous
override and apply approval rule requirements (REVOKE).
|
String |
overrideStatusAsString()
Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous
override and apply approval rule requirements (REVOKE).
|
String |
pullRequestId()
The system-generated ID of the pull request for which you want to override all approval rule requirements.
|
String |
revisionId()
The system-generated ID of the most recent revision of the pull request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OverridePullRequestApprovalRulesRequest.Builder> |
serializableBuilderClass() |
OverridePullRequestApprovalRulesRequest.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 for which you want to override all approval rule requirements. To get this information, use GetPullRequest.
public final String revisionId()
The system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request. To get the revision ID, use GetPullRequest.
public final OverrideStatus overrideStatus()
Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored.
If the service returns an enum value that is not available in the current SDK version, overrideStatus
will return OverrideStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from overrideStatusAsString().
OverrideStatuspublic final String overrideStatusAsString()
Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored.
If the service returns an enum value that is not available in the current SDK version, overrideStatus
will return OverrideStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from overrideStatusAsString().
OverrideStatuspublic OverridePullRequestApprovalRulesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OverridePullRequestApprovalRulesRequest.Builder,OverridePullRequestApprovalRulesRequest>toBuilder in class CodeCommitRequestpublic static OverridePullRequestApprovalRulesRequest.Builder builder()
public static Class<? extends OverridePullRequestApprovalRulesRequest.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 © 2022. All rights reserved.