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