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