Class CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps>
- Enclosing interface:
CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps
@Stability(Experimental)
public static final class CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps>
A builder for
CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalInformation(CodeBuildBuildPhaseChange.AdditionalInformation additionalInformation) build()Builds the configured instance.Sets the value ofCodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.getBuildId()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) Sets the value ofCodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalInformation
@Stability(Experimental) public CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder additionalInformation(CodeBuildBuildPhaseChange.AdditionalInformation additionalInformation) Sets the value ofCodeBuildBuildPhaseChange.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 CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder buildId(List<String> buildId) Sets the value ofCodeBuildBuildPhaseChange.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 CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder completedPhase(List<String> completedPhase) - 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 CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder completedPhaseContext(List<String> completedPhaseContext) Sets the value ofCodeBuildBuildPhaseChange.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 CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder completedPhaseDurationSeconds(List<String> completedPhaseDurationSeconds) Sets the value ofCodeBuildBuildPhaseChange.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 CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder completedPhaseEnd(List<String> completedPhaseEnd) - 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 CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder completedPhaseStart(List<String> completedPhaseStart) - 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 CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder completedPhaseStatus(List<String> completedPhaseStatus) Sets the value ofCodeBuildBuildPhaseChange.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 CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
projectName
@Stability(Experimental) public CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder projectName(List<String> projectName) - 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 CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps.Builder version(List<String> version) Sets the value ofCodeBuildBuildPhaseChange.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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps>- Returns:
- a new instance of
CodeBuildBuildPhaseChange.CodeBuildBuildPhaseChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-