Class AWSAPICallViaCloudTrail.AdditionalEventData.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codecommit.events.AWSAPICallViaCloudTrail.AdditionalEventData.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.AdditionalEventData>
- Enclosing interface:
AWSAPICallViaCloudTrail.AdditionalEventData
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.AdditionalEventData.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.AdditionalEventData>
A builder for
AWSAPICallViaCloudTrail.AdditionalEventData-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capabilities(List<String> capabilities) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getCapabilities()Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getClone()dataTransferred(List<String> dataTransferred) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getDataTransferred()Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getProtocol()repositoryId(List<String> repositoryId) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getRepositoryId()repositoryName(List<String> repositoryName) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getRepositoryName()Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getShallow()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capabilities
@Stability(Experimental) public AWSAPICallViaCloudTrail.AdditionalEventData.Builder capabilities(List<String> capabilities) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getCapabilities()- 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 AWSAPICallViaCloudTrail.AdditionalEventData.Builder clone(List<String> clone) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.AdditionalEventData.Builder dataTransferred(List<String> dataTransferred) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getDataTransferred()- 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 AWSAPICallViaCloudTrail.AdditionalEventData.Builder protocol(List<String> protocol) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getProtocol()- 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 AWSAPICallViaCloudTrail.AdditionalEventData.Builder repositoryId(List<String> repositoryId) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getRepositoryId()- 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 AWSAPICallViaCloudTrail.AdditionalEventData.Builder repositoryName(List<String> repositoryName) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.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
-
shallow
@Stability(Experimental) public AWSAPICallViaCloudTrail.AdditionalEventData.Builder shallow(List<String> shallow) Sets the value ofAWSAPICallViaCloudTrail.AdditionalEventData.getShallow()- 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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AWSAPICallViaCloudTrail.AdditionalEventData>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.AdditionalEventData - Throws:
NullPointerException- if any required attribute was not provided
-