Class ListPullRequestsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codecommit.model.CodeCommitRequest
-
- software.amazon.awssdk.services.codecommit.model.ListPullRequestsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListPullRequestsRequest.Builder,ListPullRequestsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListPullRequestsRequest extends CodeCommitRequest implements ToCopyableBuilder<ListPullRequestsRequest.Builder,ListPullRequestsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListPullRequestsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringauthorArn()Optional.static ListPullRequestsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()A non-zero, non-negative integer used to limit the number of returned results.StringnextToken()An enumeration token that, when provided in a request, returns the next batch of the results.PullRequestStatusEnumpullRequestStatus()Optional.StringpullRequestStatusAsString()Optional.StringrepositoryName()The name of the repository for which you want to list pull requests.List<SdkField<?>>sdkFields()static Class<? extends ListPullRequestsRequest.Builder>serializableBuilderClass()ListPullRequestsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
repositoryName
public final String repositoryName()
The name of the repository for which you want to list pull requests.
- Returns:
- The name of the repository for which you want to list pull requests.
-
authorArn
public final String authorArn()
Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.
- Returns:
- Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.
-
pullRequestStatus
public final PullRequestStatusEnum pullRequestStatus()
Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
If the service returns an enum value that is not available in the current SDK version,
pullRequestStatuswill returnPullRequestStatusEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompullRequestStatusAsString().- Returns:
- Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
- See Also:
PullRequestStatusEnum
-
pullRequestStatusAsString
public final String pullRequestStatusAsString()
Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
If the service returns an enum value that is not available in the current SDK version,
pullRequestStatuswill returnPullRequestStatusEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompullRequestStatusAsString().- Returns:
- Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.
- See Also:
PullRequestStatusEnum
-
nextToken
public final String nextToken()
An enumeration token that, when provided in a request, returns the next batch of the results.
- Returns:
- An enumeration token that, when provided in a request, returns the next batch of the results.
-
maxResults
public final Integer maxResults()
A non-zero, non-negative integer used to limit the number of returned results.
- Returns:
- A non-zero, non-negative integer used to limit the number of returned results.
-
toBuilder
public ListPullRequestsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListPullRequestsRequest.Builder,ListPullRequestsRequest>- Specified by:
toBuilderin classCodeCommitRequest
-
builder
public static ListPullRequestsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListPullRequestsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-