@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 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 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 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 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 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.