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