Class ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem>
- Enclosing interface:
ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem
@Stability(Experimental)
public static final class ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem.Builder
extends Object
implements software.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.durationInSeconds(List<String> durationInSeconds) phaseContext(List<String> phaseContext) phaseStatus(List<String> phaseStatus)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
durationInSeconds
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem.Builder durationInSeconds(List<String> durationInSeconds) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem.getDurationInSeconds()- Parameters:
durationInSeconds- duration-in-seconds property. Specify an array of string values to match this event if the actual value of duration-in-seconds is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
endTime
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem.Builder endTime(List<String> endTime) - Parameters:
endTime- end-time property. Specify an array of string values to match this event if the actual value of end-time is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
phaseContext
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem.Builder phaseContext(List<String> phaseContext) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem.getPhaseContext()- Parameters:
phaseContext- phase-context property. Specify an array of string values to match this event if the actual value of 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
-
phaseStatus
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem.Builder phaseStatus(List<String> phaseStatus) Sets the value ofProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem.getPhaseStatus()- Parameters:
phaseStatus- phase-status property. Specify an array of string values to match this event if the actual value of 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
-
phaseType
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem.Builder phaseType(List<String> phaseType) - Parameters:
phaseType- phase-type property. Specify an array of string values to match this event if the actual value of phase-type is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
startTime
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem.Builder startTime(List<String> startTime) - Parameters:
startTime- start-time property. Specify an array of string values to match this event if the actual value of 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
-
build
@Stability(Experimental) public ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem>- Returns:
- a new instance of
ProjectEvents.CodeBuildBuildPhaseChange.AdditionalInformationItem - Throws:
NullPointerException- if any required attribute was not provided
-