Class RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codecommit.events.RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps>
- Enclosing interface:
RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps
@Stability(Experimental)
public static final class RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder
extends Object
implements software.amazon.jsii.Builder<RepositoryEvents.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 RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder afterCommitId(List<String> afterCommitId) Sets the value ofRepositoryEvents.CodeCommitCommentOnPullRequest.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 RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder beforeCommitId(List<String> beforeCommitId) Sets the value ofRepositoryEvents.CodeCommitCommentOnPullRequest.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 RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder callerUserArn(List<String> callerUserArn) Sets the value ofRepositoryEvents.CodeCommitCommentOnPullRequest.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 RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder commentId(List<String> commentId) Sets the value ofRepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.getCommentId()- 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 RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder event(List<String> event) Sets the value ofRepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.getEvent()- 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 RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofRepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
inReplyTo
@Stability(Experimental) public RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder inReplyTo(List<String> inReplyTo) Sets the value ofRepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.getInReplyTo()- 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 RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder notificationBody(List<String> notificationBody) Sets the value ofRepositoryEvents.CodeCommitCommentOnPullRequest.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 RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder pullRequestId(List<String> pullRequestId) Sets the value ofRepositoryEvents.CodeCommitCommentOnPullRequest.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 RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder repositoryId(List<String> repositoryId) Sets the value ofRepositoryEvents.CodeCommitCommentOnPullRequest.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 RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps.Builder repositoryName(List<String> repositoryName) Sets the value ofRepositoryEvents.CodeCommitCommentOnPullRequest.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 RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps>- Returns:
- a new instance of
RepositoryEvents.CodeCommitCommentOnPullRequest.CodeCommitCommentOnPullRequestProps - Throws:
NullPointerException- if any required attribute was not provided
-