Class AWSAPICallViaCloudTrail.Build.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.AWSAPICallViaCloudTrail.Build.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Build>
- Enclosing interface:
AWSAPICallViaCloudTrail.Build
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.Build.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Build>
A builder for
AWSAPICallViaCloudTrail.Build-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAWSAPICallViaCloudTrail.Build.getArn()artifacts(AWSAPICallViaCloudTrail.Artifacts artifacts) Sets the value ofAWSAPICallViaCloudTrail.Build.getArtifacts()build()Builds the configured instance.buildComplete(List<String> buildComplete) Sets the value ofAWSAPICallViaCloudTrail.Build.getBuildComplete()buildStatus(List<String> buildStatus) Sets the value ofAWSAPICallViaCloudTrail.Build.getBuildStatus()Sets the value ofAWSAPICallViaCloudTrail.Build.getCache()currentPhase(List<String> currentPhase) Sets the value ofAWSAPICallViaCloudTrail.Build.getCurrentPhase()encryptionKey(List<String> encryptionKey) Sets the value ofAWSAPICallViaCloudTrail.Build.getEncryptionKey()Sets the value ofAWSAPICallViaCloudTrail.Build.getEndTime()environment(AWSAPICallViaCloudTrail.Environment environment) Sets the value ofAWSAPICallViaCloudTrail.Build.getEnvironment()Sets the value ofAWSAPICallViaCloudTrail.Build.getId()Sets the value ofAWSAPICallViaCloudTrail.Build.getInitiator()Sets the value ofAWSAPICallViaCloudTrail.Build.getLogs()phases(List<? extends AWSAPICallViaCloudTrail.BuildPhase> phases) Sets the value ofAWSAPICallViaCloudTrail.Build.getPhases()projectName(List<String> projectName) Sets the value ofAWSAPICallViaCloudTrail.Build.getProjectName()queuedTimeoutInMinutes(List<String> queuedTimeoutInMinutes) Sets the value ofAWSAPICallViaCloudTrail.Build.getQueuedTimeoutInMinutes()resolvedSourceVersion(List<String> resolvedSourceVersion) Sets the value ofAWSAPICallViaCloudTrail.Build.getResolvedSourceVersion()serviceRole(List<String> serviceRole) Sets the value ofAWSAPICallViaCloudTrail.Build.getServiceRole()source(AWSAPICallViaCloudTrail.Source source) Sets the value ofAWSAPICallViaCloudTrail.Build.getSource()sourceVersion(List<String> sourceVersion) Sets the value ofAWSAPICallViaCloudTrail.Build.getSourceVersion()Sets the value ofAWSAPICallViaCloudTrail.Build.getStartTime()timeoutInMinutes(List<String> timeoutInMinutes) Sets the value ofAWSAPICallViaCloudTrail.Build.getTimeoutInMinutes()vpcConfig(AWSAPICallViaCloudTrail.VpcConfig vpcConfig) Sets the value ofAWSAPICallViaCloudTrail.Build.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofAWSAPICallViaCloudTrail.Build.getArn()- Parameters:
arn- arn property. Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
artifacts
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder artifacts(AWSAPICallViaCloudTrail.Artifacts artifacts) Sets the value ofAWSAPICallViaCloudTrail.Build.getArtifacts()- Parameters:
artifacts- artifacts property. Specify an array of string values to match this event if the actual value of artifacts is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
buildComplete
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder buildComplete(List<String> buildComplete) Sets the value ofAWSAPICallViaCloudTrail.Build.getBuildComplete()- Parameters:
buildComplete- buildComplete property. Specify an array of string values to match this event if the actual value of buildComplete is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
buildStatus
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder buildStatus(List<String> buildStatus) Sets the value ofAWSAPICallViaCloudTrail.Build.getBuildStatus()- Parameters:
buildStatus- buildStatus property. Specify an array of string values to match this event if the actual value of buildStatus is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
cache
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder cache(AWSAPICallViaCloudTrail.Cache cache) Sets the value ofAWSAPICallViaCloudTrail.Build.getCache()- Parameters:
cache- cache property. Specify an array of string values to match this event if the actual value of cache is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
currentPhase
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder currentPhase(List<String> currentPhase) Sets the value ofAWSAPICallViaCloudTrail.Build.getCurrentPhase()- Parameters:
currentPhase- currentPhase property. Specify an array of string values to match this event if the actual value of currentPhase is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
encryptionKey
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder encryptionKey(List<String> encryptionKey) Sets the value ofAWSAPICallViaCloudTrail.Build.getEncryptionKey()- Parameters:
encryptionKey- encryptionKey property. Specify an array of string values to match this event if the actual value of encryptionKey is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
endTime
Sets the value ofAWSAPICallViaCloudTrail.Build.getEndTime()- Parameters:
endTime- endTime property. Specify an array of string values to match this event if the actual value of endTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
environment
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder environment(AWSAPICallViaCloudTrail.Environment environment) Sets the value ofAWSAPICallViaCloudTrail.Build.getEnvironment()- Parameters:
environment- environment property. Specify an array of string values to match this event if the actual value of environment is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
id
Sets the value ofAWSAPICallViaCloudTrail.Build.getId()- Parameters:
id- id property. Specify an array of string values to match this event if the actual value of id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
initiator
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder initiator(List<String> initiator) Sets the value ofAWSAPICallViaCloudTrail.Build.getInitiator()- Parameters:
initiator- initiator property. Specify an array of string values to match this event if the actual value of initiator is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
logs
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder logs(AWSAPICallViaCloudTrail.Logs logs) Sets the value ofAWSAPICallViaCloudTrail.Build.getLogs()- Parameters:
logs- logs property. Specify an array of string values to match this event if the actual value of logs is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
phases
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder phases(List<? extends AWSAPICallViaCloudTrail.BuildPhase> phases) Sets the value ofAWSAPICallViaCloudTrail.Build.getPhases()- Parameters:
phases- phases property. Specify an array of string values to match this event if the actual value of phases is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
projectName
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder projectName(List<String> projectName) Sets the value ofAWSAPICallViaCloudTrail.Build.getProjectName()- Parameters:
projectName- projectName property. Specify an array of string values to match this event if the actual value of projectName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
queuedTimeoutInMinutes
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder queuedTimeoutInMinutes(List<String> queuedTimeoutInMinutes) Sets the value ofAWSAPICallViaCloudTrail.Build.getQueuedTimeoutInMinutes()- Parameters:
queuedTimeoutInMinutes- queuedTimeoutInMinutes property. Specify an array of string values to match this event if the actual value of queuedTimeoutInMinutes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resolvedSourceVersion
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder resolvedSourceVersion(List<String> resolvedSourceVersion) Sets the value ofAWSAPICallViaCloudTrail.Build.getResolvedSourceVersion()- Parameters:
resolvedSourceVersion- resolvedSourceVersion property. Specify an array of string values to match this event if the actual value of resolvedSourceVersion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
serviceRole
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder serviceRole(List<String> serviceRole) Sets the value ofAWSAPICallViaCloudTrail.Build.getServiceRole()- Parameters:
serviceRole- serviceRole property. Specify an array of string values to match this event if the actual value of serviceRole is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
source
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder source(AWSAPICallViaCloudTrail.Source source) Sets the value ofAWSAPICallViaCloudTrail.Build.getSource()- Parameters:
source- source property. Specify an array of string values to match this event if the actual value of source is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceVersion
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder sourceVersion(List<String> sourceVersion) Sets the value ofAWSAPICallViaCloudTrail.Build.getSourceVersion()- Parameters:
sourceVersion- sourceVersion property. Specify an array of string values to match this event if the actual value of sourceVersion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
startTime
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder startTime(List<String> startTime) Sets the value ofAWSAPICallViaCloudTrail.Build.getStartTime()- Parameters:
startTime- startTime property. Specify an array of string values to match this event if the actual value of startTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
timeoutInMinutes
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder timeoutInMinutes(List<String> timeoutInMinutes) Sets the value ofAWSAPICallViaCloudTrail.Build.getTimeoutInMinutes()- Parameters:
timeoutInMinutes- timeoutInMinutes property. Specify an array of string values to match this event if the actual value of timeoutInMinutes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
vpcConfig
@Stability(Experimental) public AWSAPICallViaCloudTrail.Build.Builder vpcConfig(AWSAPICallViaCloudTrail.VpcConfig vpcConfig) Sets the value ofAWSAPICallViaCloudTrail.Build.getVpcConfig()- Parameters:
vpcConfig- vpcConfig property. Specify an array of string values to match this event if the actual value of vpcConfig 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.Build>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.Build - Throws:
NullPointerException- if any required attribute was not provided
-