Class ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps>
- Enclosing interface:
ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps
@Stability(Experimental)
public static final class ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalInformation(ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformation additionalInformation) build()Builds the configured instance.completedPhase(List<String> completedPhase) completedPhaseContext(List<String> completedPhaseContext) completedPhaseDurationSeconds(List<String> completedPhaseDurationSeconds) completedPhaseEnd(List<String> completedPhaseEnd) completedPhaseStart(List<String> completedPhaseStart) completedPhaseStatus(List<String> completedPhaseStatus) eventMetadata(AWSEventMetadataProps eventMetadata) projectName(List<String> projectName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalInformation
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder additionalInformation(ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformation additionalInformation) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.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.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder buildId(List<String> buildId) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.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
-
completedPhase
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder completedPhase(List<String> completedPhase) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.getCompletedPhase()- Parameters:
completedPhase- completed-phase property. Specify an array of string values to match this event if the actual value of completed-phase is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
completedPhaseContext
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder completedPhaseContext(List<String> completedPhaseContext) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.getCompletedPhaseContext()- Parameters:
completedPhaseContext- completed-phase-context property. Specify an array of string values to match this event if the actual value of completed-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
-
completedPhaseDurationSeconds
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder completedPhaseDurationSeconds(List<String> completedPhaseDurationSeconds) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.getCompletedPhaseDurationSeconds()- Parameters:
completedPhaseDurationSeconds- completed-phase-duration-seconds property. Specify an array of string values to match this event if the actual value of completed-phase-duration-seconds is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
completedPhaseEnd
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder completedPhaseEnd(List<String> completedPhaseEnd) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.getCompletedPhaseEnd()- Parameters:
completedPhaseEnd- completed-phase-end property. Specify an array of string values to match this event if the actual value of completed-phase-end is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
completedPhaseStart
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder completedPhaseStart(List<String> completedPhaseStart) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.getCompletedPhaseStart()- Parameters:
completedPhaseStart- completed-phase-start property. Specify an array of string values to match this event if the actual value of completed-phase-start is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
completedPhaseStatus
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder completedPhaseStatus(List<String> completedPhaseStatus) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.getCompletedPhaseStatus()- Parameters:
completedPhaseStatus- completed-phase-status property. Specify an array of string values to match this event if the actual value of completed-phase-status 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.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
projectName
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder projectName(List<String> projectName) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.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.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder version(List<String> version) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.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.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps>- Returns:
- a new instance of
ProjectEvents.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-