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