Interface AWSAPICallViaCloudTrail.PullRequest
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AWSAPICallViaCloudTrail.PullRequest.Jsii$Proxy
- Enclosing class:
AWSAPICallViaCloudTrail
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAWSAPICallViaCloudTrail.PullRequeststatic final classAn implementation forAWSAPICallViaCloudTrail.PullRequest -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) approvalRules property.(experimental) authorArn property.(experimental) clientRequestToken property.(experimental) creationDate property.(experimental) description property.(experimental) lastActivityDate property.(experimental) pullRequestId property.(experimental) pullRequestStatus property.(experimental) pullRequestTargets property.(experimental) revisionId property.getTitle()(experimental) title property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
-