Class DescribePullRequestEventsRequest
- 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.DescribePullRequestEventsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribePullRequestEventsRequest.Builder,DescribePullRequestEventsRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribePullRequestEventsRequest extends CodeCommitRequest implements ToCopyableBuilder<DescribePullRequestEventsRequest.Builder,DescribePullRequestEventsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribePullRequestEventsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactorArn()The Amazon Resource Name (ARN) of the user whose actions resulted in the event.static DescribePullRequestEventsRequest.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.PullRequestEventTypepullRequestEventType()Optional.StringpullRequestEventTypeAsString()Optional.StringpullRequestId()The system-generated ID of the pull request.List<SdkField<?>>sdkFields()static Class<? extends DescribePullRequestEventsRequest.Builder>serializableBuilderClass()DescribePullRequestEventsRequest.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
-
pullRequestId
public final String pullRequestId()
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
- Returns:
- The system-generated ID of the pull request. To get this ID, use ListPullRequests.
-
pullRequestEventType
public final PullRequestEventType pullRequestEventType()
Optional. The pull request event type about which you want to return information.
If the service returns an enum value that is not available in the current SDK version,
pullRequestEventTypewill returnPullRequestEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompullRequestEventTypeAsString().- Returns:
- Optional. The pull request event type about which you want to return information.
- See Also:
PullRequestEventType
-
pullRequestEventTypeAsString
public final String pullRequestEventTypeAsString()
Optional. The pull request event type about which you want to return information.
If the service returns an enum value that is not available in the current SDK version,
pullRequestEventTypewill returnPullRequestEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompullRequestEventTypeAsString().- Returns:
- Optional. The pull request event type about which you want to return information.
- See Also:
PullRequestEventType
-
actorArn
public final String actorArn()
The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.
- Returns:
- The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with more commits or changing the status of a pull request.
-
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. The default is 100 events, which is also the maximum number of events that can be returned in a result.
- Returns:
- A non-zero, non-negative integer used to limit the number of returned results. The default is 100 events, which is also the maximum number of events that can be returned in a result.
-
toBuilder
public DescribePullRequestEventsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribePullRequestEventsRequest.Builder,DescribePullRequestEventsRequest>- Specified by:
toBuilderin classCodeCommitRequest
-
builder
public static DescribePullRequestEventsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribePullRequestEventsRequest.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
-
-