Class AWSAPICallViaCloudTrail.Source1.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.AWSAPICallViaCloudTrail.Source1.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Source1>
- Enclosing interface:
AWSAPICallViaCloudTrail.Source1
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.Source1.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Source1>
A builder for
AWSAPICallViaCloudTrail.Source1-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAWSAPICallViaCloudTrail.Source1.getAuth()build()Builds the configured instance.Sets the value ofAWSAPICallViaCloudTrail.Source1.getBuildspec()gitCloneDepth(List<String> gitCloneDepth) Sets the value ofAWSAPICallViaCloudTrail.Source1.getGitCloneDepth()gitSubmodulesConfig(AWSAPICallViaCloudTrail.GitSubmodulesConfig gitSubmodulesConfig) Sets the value ofAWSAPICallViaCloudTrail.Source1.getGitSubmodulesConfig()insecureSsl(List<String> insecureSsl) Sets the value ofAWSAPICallViaCloudTrail.Source1.getInsecureSsl()Sets the value ofAWSAPICallViaCloudTrail.Source1.getLocation()reportBuildStatus(List<String> reportBuildStatus) Sets the value ofAWSAPICallViaCloudTrail.Source1.getReportBuildStatus()Sets the value ofAWSAPICallViaCloudTrail.Source1.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
auth
@Stability(Experimental) public AWSAPICallViaCloudTrail.Source1.Builder auth(AWSAPICallViaCloudTrail.Auth auth) Sets the value ofAWSAPICallViaCloudTrail.Source1.getAuth()- Parameters:
auth- auth property. Specify an array of string values to match this event if the actual value of auth is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
buildspec
@Stability(Experimental) public AWSAPICallViaCloudTrail.Source1.Builder buildspec(List<String> buildspec) Sets the value ofAWSAPICallViaCloudTrail.Source1.getBuildspec()- Parameters:
buildspec- buildspec property. Specify an array of string values to match this event if the actual value of buildspec is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
gitCloneDepth
@Stability(Experimental) public AWSAPICallViaCloudTrail.Source1.Builder gitCloneDepth(List<String> gitCloneDepth) Sets the value ofAWSAPICallViaCloudTrail.Source1.getGitCloneDepth()- Parameters:
gitCloneDepth- gitCloneDepth property. Specify an array of string values to match this event if the actual value of gitCloneDepth is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
gitSubmodulesConfig
@Stability(Experimental) public AWSAPICallViaCloudTrail.Source1.Builder gitSubmodulesConfig(AWSAPICallViaCloudTrail.GitSubmodulesConfig gitSubmodulesConfig) Sets the value ofAWSAPICallViaCloudTrail.Source1.getGitSubmodulesConfig()- Parameters:
gitSubmodulesConfig- gitSubmodulesConfig property. Specify an array of string values to match this event if the actual value of gitSubmodulesConfig is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
insecureSsl
@Stability(Experimental) public AWSAPICallViaCloudTrail.Source1.Builder insecureSsl(List<String> insecureSsl) Sets the value ofAWSAPICallViaCloudTrail.Source1.getInsecureSsl()- Parameters:
insecureSsl- insecureSsl property. Specify an array of string values to match this event if the actual value of insecureSsl is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
location
@Stability(Experimental) public AWSAPICallViaCloudTrail.Source1.Builder location(List<String> location) Sets the value ofAWSAPICallViaCloudTrail.Source1.getLocation()- Parameters:
location- location property. Specify an array of string values to match this event if the actual value of location is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
reportBuildStatus
@Stability(Experimental) public AWSAPICallViaCloudTrail.Source1.Builder reportBuildStatus(List<String> reportBuildStatus) Sets the value ofAWSAPICallViaCloudTrail.Source1.getReportBuildStatus()- Parameters:
reportBuildStatus- reportBuildStatus property. Specify an array of string values to match this event if the actual value of reportBuildStatus is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
type
Sets the value ofAWSAPICallViaCloudTrail.Source1.getType()- Parameters:
type- type property. Specify an array of string values to match this event if the actual value of type 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.Source1>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.Source1 - Throws:
NullPointerException- if any required attribute was not provided
-