Interface DescribePullRequestEventsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CodeCommitRequest.Builder, CopyableBuilder<DescribePullRequestEventsRequest.Builder,DescribePullRequestEventsRequest>, SdkBuilder<DescribePullRequestEventsRequest.Builder,DescribePullRequestEventsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DescribePullRequestEventsRequest

public static interface DescribePullRequestEventsRequest.Builder extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<DescribePullRequestEventsRequest.Builder,DescribePullRequestEventsRequest>
  • Method Details

    • pullRequestId

      DescribePullRequestEventsRequest.Builder pullRequestId(String pullRequestId)

      The system-generated ID of the pull request. To get this ID, use ListPullRequests.

      Parameters:
      pullRequestId - The system-generated ID of the pull request. To get this ID, use ListPullRequests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pullRequestEventType

      DescribePullRequestEventsRequest.Builder pullRequestEventType(String pullRequestEventType)

      Optional. The pull request event type about which you want to return information.

      Parameters:
      pullRequestEventType - Optional. The pull request event type about which you want to return information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pullRequestEventType

      DescribePullRequestEventsRequest.Builder pullRequestEventType(PullRequestEventType pullRequestEventType)

      Optional. The pull request event type about which you want to return information.

      Parameters:
      pullRequestEventType - Optional. The pull request event type about which you want to return information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      An enumeration token that, when provided in a request, returns the next batch of the results.

      Parameters:
      nextToken - An enumeration token that, when provided in a request, returns the next batch of the results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DescribePullRequestEventsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.