Class CodeBuildBuildStateChange.AdditionalInformation.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.CodeBuildBuildStateChange.AdditionalInformation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeBuildBuildStateChange.AdditionalInformation>
- Enclosing interface:
CodeBuildBuildStateChange.AdditionalInformation
@Stability(Experimental)
public static final class CodeBuildBuildStateChange.AdditionalInformation.Builder
extends Object
implements software.amazon.jsii.Builder<CodeBuildBuildStateChange.AdditionalInformation>
A builder for
CodeBuildBuildStateChange.AdditionalInformation-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartifact(CodeBuildBuildStateChange.Artifact artifact) Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getArtifact()build()Builds the configured instance.buildComplete(List<String> buildComplete) Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getBuildComplete()buildStartTime(List<String> buildStartTime) Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getBuildStartTime()Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getCache()environment(CodeBuildBuildStateChange.Environment environment) Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getEnvironment()Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getInitiator()Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getLogs()networkInterface(CodeBuildBuildStateChange.NetworkInterface networkInterface) Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getNetworkInterface()phases(List<? extends CodeBuildBuildStateChange.AdditionalInformationItem> phases) Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getPhases()queuedTimeoutInMinutes(List<String> queuedTimeoutInMinutes) Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getSource()sourceVersion(List<String> sourceVersion) Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getSourceVersion()timeoutInMinutes(List<String> timeoutInMinutes) Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getTimeoutInMinutes()vpcConfig(CodeBuildBuildStateChange.VpcConfig vpcConfig) Sets the value ofCodeBuildBuildStateChange.AdditionalInformation.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifact
@Stability(Experimental) public CodeBuildBuildStateChange.AdditionalInformation.Builder artifact(CodeBuildBuildStateChange.Artifact artifact) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformation.Builder buildComplete(List<String> buildComplete) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformation.Builder buildStartTime(List<String> buildStartTime) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformation.Builder cache(CodeBuildBuildStateChange.Cache cache) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformation.Builder environment(CodeBuildBuildStateChange.Environment environment) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformation.Builder initiator(List<String> initiator) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformation.Builder logs(CodeBuildBuildStateChange.Logs logs) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformation.Builder networkInterface(CodeBuildBuildStateChange.NetworkInterface networkInterface) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformation.Builder phases(List<? extends CodeBuildBuildStateChange.AdditionalInformationItem> phases) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformation.Builder source(CodeBuildBuildStateChange.Source source) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformation.Builder sourceVersion(List<String> sourceVersion) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformation.Builder timeoutInMinutes(List<String> timeoutInMinutes) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformation.Builder vpcConfig(CodeBuildBuildStateChange.VpcConfig vpcConfig) Sets the value ofCodeBuildBuildStateChange.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<CodeBuildBuildStateChange.AdditionalInformation>- Returns:
- a new instance of
CodeBuildBuildStateChange.AdditionalInformation - Throws:
NullPointerException- if any required attribute was not provided
-