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