Class AWSAPICallViaCloudTrail.RequestParametersItem2.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codecommit.events.AWSAPICallViaCloudTrail.RequestParametersItem2.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.RequestParametersItem2>
- Enclosing interface:
AWSAPICallViaCloudTrail.RequestParametersItem2
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.RequestParametersItem2.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.RequestParametersItem2>
A builder for
AWSAPICallViaCloudTrail.RequestParametersItem2-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationReference(List<String> destinationReference) Sets the value ofAWSAPICallViaCloudTrail.RequestParametersItem2.getDestinationReference()repositoryName(List<String> repositoryName) Sets the value ofAWSAPICallViaCloudTrail.RequestParametersItem2.getRepositoryName()sourceReference(List<String> sourceReference) Sets the value ofAWSAPICallViaCloudTrail.RequestParametersItem2.getSourceReference()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationReference
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParametersItem2.Builder destinationReference(List<String> destinationReference) Sets the value ofAWSAPICallViaCloudTrail.RequestParametersItem2.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
-
repositoryName
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParametersItem2.Builder repositoryName(List<String> repositoryName) Sets the value ofAWSAPICallViaCloudTrail.RequestParametersItem2.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
-
sourceReference
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParametersItem2.Builder sourceReference(List<String> sourceReference) Sets the value ofAWSAPICallViaCloudTrail.RequestParametersItem2.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.RequestParametersItem2>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.RequestParametersItem2 - Throws:
NullPointerException- if any required attribute was not provided
-