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