Class CodeBuildBuildPhaseChange.AdditionalInformation.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.CodeBuildBuildPhaseChange.AdditionalInformation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeBuildBuildPhaseChange.AdditionalInformation>
- Enclosing interface:
CodeBuildBuildPhaseChange.AdditionalInformation
@Stability(Experimental)
public static final class CodeBuildBuildPhaseChange.AdditionalInformation.Builder
extends Object
implements software.amazon.jsii.Builder<CodeBuildBuildPhaseChange.AdditionalInformation>
A builder for
CodeBuildBuildPhaseChange.AdditionalInformation-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartifact(CodeBuildBuildPhaseChange.Artifact artifact) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getArtifact()build()Builds the configured instance.buildComplete(List<String> buildComplete) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getBuildComplete()buildStartTime(List<String> buildStartTime) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getBuildStartTime()Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getCache()environment(CodeBuildBuildPhaseChange.Environment environment) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getEnvironment()Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getInitiator()Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getLogs()networkInterface(CodeBuildBuildPhaseChange.NetworkInterface networkInterface) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getNetworkInterface()phases(List<? extends CodeBuildBuildPhaseChange.AdditionalInformationItem> phases) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getPhases()queuedTimeoutInMinutes(List<String> queuedTimeoutInMinutes) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getSource()sourceVersion(List<String> sourceVersion) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getSourceVersion()timeoutInMinutes(List<String> timeoutInMinutes) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getTimeoutInMinutes()vpcConfig(CodeBuildBuildPhaseChange.VpcConfig vpcConfig) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifact
@Stability(Experimental) public CodeBuildBuildPhaseChange.AdditionalInformation.Builder artifact(CodeBuildBuildPhaseChange.Artifact artifact) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getArtifact()- Parameters:
artifact- artifact property. Specify an array of string values to match this event if the actual value of artifact 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 CodeBuildBuildPhaseChange.AdditionalInformation.Builder buildComplete(List<String> buildComplete) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getBuildComplete()- Parameters:
buildComplete- build-complete property. Specify an array of string values to match this event if the actual value of build-complete is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
buildStartTime
@Stability(Experimental) public CodeBuildBuildPhaseChange.AdditionalInformation.Builder buildStartTime(List<String> buildStartTime) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getBuildStartTime()- Parameters:
buildStartTime- build-start-time property. Specify an array of string values to match this event if the actual value of build-start-time 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 CodeBuildBuildPhaseChange.AdditionalInformation.Builder cache(CodeBuildBuildPhaseChange.Cache cache) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.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
-
environment
@Stability(Experimental) public CodeBuildBuildPhaseChange.AdditionalInformation.Builder environment(CodeBuildBuildPhaseChange.Environment environment) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.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
-
initiator
@Stability(Experimental) public CodeBuildBuildPhaseChange.AdditionalInformation.Builder initiator(List<String> initiator) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.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 CodeBuildBuildPhaseChange.AdditionalInformation.Builder logs(CodeBuildBuildPhaseChange.Logs logs) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.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
-
networkInterface
@Stability(Experimental) public CodeBuildBuildPhaseChange.AdditionalInformation.Builder networkInterface(CodeBuildBuildPhaseChange.NetworkInterface networkInterface) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getNetworkInterface()- Parameters:
networkInterface- network-interface property. Specify an array of string values to match this event if the actual value of network-interface 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 CodeBuildBuildPhaseChange.AdditionalInformation.Builder phases(List<? extends CodeBuildBuildPhaseChange.AdditionalInformationItem> phases) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.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
-
queuedTimeoutInMinutes
@Stability(Experimental) public CodeBuildBuildPhaseChange.AdditionalInformation.Builder queuedTimeoutInMinutes(List<String> queuedTimeoutInMinutes) - Parameters:
queuedTimeoutInMinutes- queued-timeout-in-minutes property. Specify an array of string values to match this event if the actual value of queued-timeout-in-minutes 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 CodeBuildBuildPhaseChange.AdditionalInformation.Builder source(CodeBuildBuildPhaseChange.Source source) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.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 CodeBuildBuildPhaseChange.AdditionalInformation.Builder sourceVersion(List<String> sourceVersion) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getSourceVersion()- Parameters:
sourceVersion- source-version property. Specify an array of string values to match this event if the actual value of source-version 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 CodeBuildBuildPhaseChange.AdditionalInformation.Builder timeoutInMinutes(List<String> timeoutInMinutes) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getTimeoutInMinutes()- Parameters:
timeoutInMinutes- timeout-in-minutes property. Specify an array of string values to match this event if the actual value of timeout-in-minutes 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 CodeBuildBuildPhaseChange.AdditionalInformation.Builder vpcConfig(CodeBuildBuildPhaseChange.VpcConfig vpcConfig) Sets the value ofCodeBuildBuildPhaseChange.AdditionalInformation.getVpcConfig()- Parameters:
vpcConfig- vpc-config property. Specify an array of string values to match this event if the actual value of vpc-config 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<CodeBuildBuildPhaseChange.AdditionalInformation>- Returns:
- a new instance of
CodeBuildBuildPhaseChange.AdditionalInformation - Throws:
NullPointerException- if any required attribute was not provided
-