Interface AWSAPICallViaCloudTrail.PullRequest

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AWSAPICallViaCloudTrail.PullRequest.Jsii$Proxy
Enclosing class:
AWSAPICallViaCloudTrail

@Stability(Experimental) public static interface AWSAPICallViaCloudTrail.PullRequest extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for PullRequest.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.mixins.preview.services.codecommit.events.*;
 Object approvalRules;
 PullRequest pullRequest = PullRequest.builder()
         .approvalRules(List.of(approvalRules))
         .authorArn(List.of("authorArn"))
         .clientRequestToken(List.of("clientRequestToken"))
         .creationDate(List.of("creationDate"))
         .description(List.of("description"))
         .lastActivityDate(List.of("lastActivityDate"))
         .pullRequestId(List.of("pullRequestId"))
         .pullRequestStatus(List.of("pullRequestStatus"))
         .pullRequestTargets(List.of(PullRequestItem.builder()
                 .destinationCommit(List.of("destinationCommit"))
                 .destinationReference(List.of("destinationReference"))
                 .mergeBase(List.of("mergeBase"))
                 .mergeMetadata(MergeMetadata.builder()
                         .isMerged(List.of("isMerged"))
                         .mergeCommitId(List.of("mergeCommitId"))
                         .mergedBy(List.of("mergedBy"))
                         .mergeOption(List.of("mergeOption"))
                         .build())
                 .repositoryName(List.of("repositoryName"))
                 .sourceCommit(List.of("sourceCommit"))
                 .sourceReference(List.of("sourceReference"))
                 .build()))
         .revisionId(List.of("revisionId"))
         .title(List.of("title"))
         .build();
 
  • Method Details

    • getApprovalRules

      @Stability(Experimental) @Nullable default List<Object> getApprovalRules()
      (experimental) approvalRules property.

      Specify an array of string values to match this event if the actual value of approvalRules is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getAuthorArn

      @Stability(Experimental) @Nullable default List<String> getAuthorArn()
      (experimental) authorArn property.

      Specify an array of string values to match this event if the actual value of authorArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getClientRequestToken

      @Stability(Experimental) @Nullable default List<String> getClientRequestToken()
      (experimental) clientRequestToken property.

      Specify an array of string values to match this event if the actual value of clientRequestToken is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getCreationDate

      @Stability(Experimental) @Nullable default List<String> getCreationDate()
      (experimental) creationDate property.

      Specify an array of string values to match this event if the actual value of creationDate is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getDescription

      @Stability(Experimental) @Nullable default List<String> getDescription()
      (experimental) description property.

      Specify an array of string values to match this event if the actual value of description is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getLastActivityDate

      @Stability(Experimental) @Nullable default List<String> getLastActivityDate()
      (experimental) lastActivityDate property.

      Specify an array of string values to match this event if the actual value of lastActivityDate is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getPullRequestId

      @Stability(Experimental) @Nullable default List<String> getPullRequestId()
      (experimental) pullRequestId property.

      Specify an array of string values to match this event if the actual value of pullRequestId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getPullRequestStatus

      @Stability(Experimental) @Nullable default List<String> getPullRequestStatus()
      (experimental) pullRequestStatus property.

      Specify an array of string values to match this event if the actual value of pullRequestStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getPullRequestTargets

      @Stability(Experimental) @Nullable default List<AWSAPICallViaCloudTrail.PullRequestItem> getPullRequestTargets()
      (experimental) pullRequestTargets property.

      Specify an array of string values to match this event if the actual value of pullRequestTargets is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getRevisionId

      @Stability(Experimental) @Nullable default List<String> getRevisionId()
      (experimental) revisionId property.

      Specify an array of string values to match this event if the actual value of revisionId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getTitle

      @Stability(Experimental) @Nullable default List<String> getTitle()
      (experimental) title property.

      Specify an array of string values to match this event if the actual value of title is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      @Stability(Experimental) static AWSAPICallViaCloudTrail.PullRequest.Builder builder()
      Returns:
      a AWSAPICallViaCloudTrail.PullRequest.Builder of AWSAPICallViaCloudTrail.PullRequest