Class AWSAPICallViaCloudTrail.PullRequestItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codecommit.events.AWSAPICallViaCloudTrail.PullRequestItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.PullRequestItem>
- Enclosing interface:
AWSAPICallViaCloudTrail.PullRequestItem
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.PullRequestItem.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.PullRequestItem>
A builder for
AWSAPICallViaCloudTrail.PullRequestItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationCommit(List<String> destinationCommit) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getDestinationCommit()destinationReference(List<String> destinationReference) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getDestinationReference()Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getMergeBase()mergeMetadata(AWSAPICallViaCloudTrail.MergeMetadata mergeMetadata) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getMergeMetadata()repositoryName(List<String> repositoryName) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getRepositoryName()sourceCommit(List<String> sourceCommit) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getSourceCommit()sourceReference(List<String> sourceReference) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getSourceReference()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationCommit
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequestItem.Builder destinationCommit(List<String> destinationCommit) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getDestinationCommit()- Parameters:
destinationCommit- destinationCommit property. Specify an array of string values to match this event if the actual value of destinationCommit is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
destinationReference
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequestItem.Builder destinationReference(List<String> destinationReference) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getDestinationReference()- Parameters:
destinationReference- destinationReference property. Specify an array of string values to match this event if the actual value of destinationReference is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
mergeBase
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequestItem.Builder mergeBase(List<String> mergeBase) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getMergeBase()- Parameters:
mergeBase- mergeBase property. Specify an array of string values to match this event if the actual value of mergeBase is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
mergeMetadata
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequestItem.Builder mergeMetadata(AWSAPICallViaCloudTrail.MergeMetadata mergeMetadata) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getMergeMetadata()- Parameters:
mergeMetadata- mergeMetadata property. Specify an array of string values to match this event if the actual value of mergeMetadata 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 AWSAPICallViaCloudTrail.PullRequestItem.Builder repositoryName(List<String> repositoryName) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.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
-
sourceCommit
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequestItem.Builder sourceCommit(List<String> sourceCommit) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getSourceCommit()- Parameters:
sourceCommit- sourceCommit property. Specify an array of string values to match this event if the actual value of sourceCommit is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceReference
@Stability(Experimental) public AWSAPICallViaCloudTrail.PullRequestItem.Builder sourceReference(List<String> sourceReference) Sets the value ofAWSAPICallViaCloudTrail.PullRequestItem.getSourceReference()- Parameters:
sourceReference- sourceReference property. Specify an array of string values to match this event if the actual value of sourceReference 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.PullRequestItem>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.PullRequestItem - Throws:
NullPointerException- if any required attribute was not provided
-