Class CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codecommit.events.CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps>
- Enclosing interface:
CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps
@Stability(Experimental)
public static final class CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapprovalRuleTemplateContentSha256(List<String> approvalRuleTemplateContentSha256) approvalRuleTemplateId(List<String> approvalRuleTemplateId) approvalRuleTemplateName(List<String> approvalRuleTemplateName) build()Builds the configured instance.callerUserArn(List<String> callerUserArn) creationDate(List<String> creationDate) eventMetadata(AWSEventMetadataProps eventMetadata) lastModifiedDate(List<String> lastModifiedDate) notificationBody(List<String> notificationBody) repositories(Map<String, String> repositories)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
approvalRuleTemplateContentSha256
@Stability(Experimental) public CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder approvalRuleTemplateContentSha256(List<String> approvalRuleTemplateContentSha256) Sets the value ofCodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.getApprovalRuleTemplateContentSha256()- Parameters:
approvalRuleTemplateContentSha256- approvalRuleTemplateContentSha256 property. Specify an array of string values to match this event if the actual value of approvalRuleTemplateContentSha256 is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
approvalRuleTemplateId
@Stability(Experimental) public CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder approvalRuleTemplateId(List<String> approvalRuleTemplateId) Sets the value ofCodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.getApprovalRuleTemplateId()- Parameters:
approvalRuleTemplateId- approvalRuleTemplateId property. Specify an array of string values to match this event if the actual value of approvalRuleTemplateId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
approvalRuleTemplateName
@Stability(Experimental) public CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder approvalRuleTemplateName(List<String> approvalRuleTemplateName) Sets the value ofCodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.getApprovalRuleTemplateName()- Parameters:
approvalRuleTemplateName- approvalRuleTemplateName property. Specify an array of string values to match this event if the actual value of approvalRuleTemplateName 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 CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder callerUserArn(List<String> callerUserArn) Sets the value ofCodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.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
-
creationDate
@Stability(Experimental) public CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder creationDate(List<String> creationDate) Sets the value ofCodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.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
-
event
@Stability(Experimental) public CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder event(List<String> event) Sets the value ofCodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.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 CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofCodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
lastModifiedDate
@Stability(Experimental) public CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder lastModifiedDate(List<String> lastModifiedDate) Sets the value ofCodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.getLastModifiedDate()- Parameters:
lastModifiedDate- lastModifiedDate property. Specify an array of string values to match this event if the actual value of lastModifiedDate 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 CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder notificationBody(List<String> notificationBody) Sets the value ofCodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.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
-
repositories
@Stability(Experimental) public CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.Builder repositories(Map<String, String> repositories) Sets the value ofCodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps.getRepositories()- Parameters:
repositories- repositories property. Specify an array of string values to match this event if the actual value of repositories 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 CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps>- Returns:
- a new instance of
CodeCommitApprovalRuleTemplateChange.CodeCommitApprovalRuleTemplateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-