Class CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codecommit.events.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps>
- Enclosing interface:
CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps
@Stability(Experimental)
public static final class CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder
extends Object
implements software.amazon.jsii.Builder<CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterCommitId(List<String> afterCommitId) beforeCommitId(List<String> beforeCommitId) build()Builds the configured instance.callerUserArn(List<String> callerUserArn) eventMetadata(AWSEventMetadataProps eventMetadata) notificationBody(List<String> notificationBody) pullRequestId(List<String> pullRequestId) repositoryId(List<String> repositoryId) repositoryName(List<String> repositoryName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
afterCommitId
@Stability(Experimental) public CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder afterCommitId(List<String> afterCommitId) Sets the value ofCodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.getAfterCommitId()- Parameters:
afterCommitId- afterCommitId property. Specify an array of string values to match this event if the actual value of afterCommitId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
beforeCommitId
@Stability(Experimental) public CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder beforeCommitId(List<String> beforeCommitId) Sets the value ofCodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.getBeforeCommitId()- Parameters:
beforeCommitId- beforeCommitId property. Specify an array of string values to match this event if the actual value of beforeCommitId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
callerUserArn
@Stability(Experimental) public CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder callerUserArn(List<String> callerUserArn) Sets the value ofCodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.getCallerUserArn()- Parameters:
callerUserArn- callerUserArn property. Specify an array of string values to match this event if the actual value of callerUserArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
commentId
@Stability(Experimental) public CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder commentId(List<String> commentId) - Parameters:
commentId- commentId property. Specify an array of string values to match this event if the actual value of commentId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
event
@Stability(Experimental) public CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder event(List<String> event) - Parameters:
event- event property. Specify an array of string values to match this event if the actual value of event is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofCodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
inReplyTo
@Stability(Experimental) public CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder inReplyTo(List<String> inReplyTo) - Parameters:
inReplyTo- inReplyTo property. Specify an array of string values to match this event if the actual value of inReplyTo is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
notificationBody
@Stability(Experimental) public CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder notificationBody(List<String> notificationBody) Sets the value ofCodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.getNotificationBody()- Parameters:
notificationBody- notificationBody property. Specify an array of string values to match this event if the actual value of notificationBody 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 CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder pullRequestId(List<String> pullRequestId) Sets the value ofCodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.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
-
repositoryId
@Stability(Experimental) public CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder repositoryId(List<String> repositoryId) Sets the value ofCodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.getRepositoryId()- Parameters:
repositoryId- repositoryId property. Specify an array of string values to match this event if the actual value of repositoryId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
repositoryName
@Stability(Experimental) public CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder repositoryName(List<String> repositoryName) Sets the value ofCodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.getRepositoryName()- Parameters:
repositoryName- repositoryName property. Specify an array of string values to match this event if the actual value of repositoryName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps>- Returns:
- a new instance of
CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps - Throws:
NullPointerException- if any required attribute was not provided
-