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