Class ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps>
- Enclosing interface:
ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps
@Stability(Experimental)
public static final class ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalInformation(ProjectEvents.CodeBuildBuildStateChange.AdditionalInformation additionalInformation) build()Builds the configured instance.buildStatus(List<String> buildStatus) currentPhase(List<String> currentPhase) currentPhaseContext(List<String> currentPhaseContext) eventMetadata(AWSEventMetadataProps eventMetadata) projectName(List<String> projectName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalInformation
@Stability(Experimental) public ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder additionalInformation(ProjectEvents.CodeBuildBuildStateChange.AdditionalInformation additionalInformation) Sets the value ofProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.getAdditionalInformation()- Parameters:
additionalInformation- additional-information property. Specify an array of string values to match this event if the actual value of additional-information is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
buildId
@Stability(Experimental) public ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder buildId(List<String> buildId) Sets the value ofProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.getBuildId()- Parameters:
buildId- build-id property. Specify an array of string values to match this event if the actual value of build-id 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 ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder buildStatus(List<String> buildStatus) Sets the value ofProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.getBuildStatus()- Parameters:
buildStatus- build-status property. Specify an array of string values to match this event if the actual value of build-status 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 ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder currentPhase(List<String> currentPhase) Sets the value ofProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.getCurrentPhase()- Parameters:
currentPhase- current-phase property. Specify an array of string values to match this event if the actual value of current-phase is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
currentPhaseContext
@Stability(Experimental) public ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder currentPhaseContext(List<String> currentPhaseContext) Sets the value ofProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.getCurrentPhaseContext()- Parameters:
currentPhaseContext- current-phase-context property. Specify an array of string values to match this event if the actual value of current-phase-context is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
projectName
@Stability(Experimental) public ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder projectName(List<String> projectName) Sets the value ofProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.getProjectName()- Parameters:
projectName- project-name property. Specify an array of string values to match this event if the actual value of project-name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
version
@Stability(Experimental) public ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.Builder version(List<String> version) Sets the value ofProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps.getVersion()- Parameters:
version- version property. Specify an array of string values to match this event if the actual value of version 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.CodeBuildBuildStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps>- Returns:
- a new instance of
ProjectEvents.CodeBuildBuildStateChange.CodeBuildBuildStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-