Class AWSAPICallViaCloudTrail.PullRequest.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codecommit.events.AWSAPICallViaCloudTrail.PullRequest.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.PullRequest>
- Enclosing interface:
AWSAPICallViaCloudTrail.PullRequest
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.PullRequest.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.PullRequest>
A builder for
AWSAPICallViaCloudTrail.PullRequest-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapprovalRules(List<? extends Object> approvalRules) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getApprovalRules()Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getAuthorArn()build()Builds the configured instance.clientRequestToken(List<String> clientRequestToken) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getClientRequestToken()creationDate(List<String> creationDate) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getCreationDate()description(List<String> description) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getDescription()lastActivityDate(List<String> lastActivityDate) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getLastActivityDate()pullRequestId(List<String> pullRequestId) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getPullRequestId()pullRequestStatus(List<String> pullRequestStatus) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getPullRequestStatus()pullRequestTargets(List<? extends AWSAPICallViaCloudTrail.PullRequestItem> pullRequestTargets) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getPullRequestTargets()revisionId(List<String> revisionId) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getRevisionId()Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getTitle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
approvalRules
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequest.Builder approvalRules(List<? extends Object> approvalRules) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getApprovalRules()- Parameters:
approvalRules- 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 theaws_events.Matchfor more advanced matching options.- Returns:
this
-
authorArn
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequest.Builder authorArn(List<String> authorArn) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getAuthorArn()- Parameters:
authorArn- 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 theaws_events.Matchfor more advanced matching options.- Returns:
this
-
clientRequestToken
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequest.Builder clientRequestToken(List<String> clientRequestToken) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getClientRequestToken()- Parameters:
clientRequestToken- 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 theaws_events.Matchfor more advanced matching options.- Returns:
this
-
creationDate
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequest.Builder creationDate(List<String> creationDate) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getCreationDate()- Parameters:
creationDate- 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 theaws_events.Matchfor more advanced matching options.- Returns:
this
-
description
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequest.Builder description(List<String> description) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getDescription()- Parameters:
description- 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 theaws_events.Matchfor more advanced matching options.- Returns:
this
-
lastActivityDate
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequest.Builder lastActivityDate(List<String> lastActivityDate) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getLastActivityDate()- Parameters:
lastActivityDate- 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 theaws_events.Matchfor more advanced matching options.- Returns:
this
-
pullRequestId
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequest.Builder pullRequestId(List<String> pullRequestId) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getPullRequestId()- Parameters:
pullRequestId- 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 theaws_events.Matchfor more advanced matching options.- Returns:
this
-
pullRequestStatus
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequest.Builder pullRequestStatus(List<String> pullRequestStatus) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getPullRequestStatus()- Parameters:
pullRequestStatus- 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 theaws_events.Matchfor more advanced matching options.- Returns:
this
-
pullRequestTargets
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequest.Builder pullRequestTargets(List<? extends AWSAPICallViaCloudTrail.PullRequestItem> pullRequestTargets) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getPullRequestTargets()- Parameters:
pullRequestTargets- 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 theaws_events.Matchfor more advanced matching options.- Returns:
this
-
revisionId
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequest.Builder revisionId(List<String> revisionId) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getRevisionId()- Parameters:
revisionId- 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 theaws_events.Matchfor more advanced matching options.- Returns:
this
-
title
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequest.Builder title(List<String> title) Sets the value ofAWSAPICallViaCloudTrail.PullRequest.getTitle()- Parameters:
title- 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 theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AWSAPICallViaCloudTrail.PullRequest>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.PullRequest - Throws:
NullPointerException- if any required attribute was not provided
-