Class CodeBuildBuildStateChange.AdditionalInformationItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.CodeBuildBuildStateChange.AdditionalInformationItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeBuildBuildStateChange.AdditionalInformationItem>
- Enclosing interface:
CodeBuildBuildStateChange.AdditionalInformationItem
@Stability(Experimental)
public static final class CodeBuildBuildStateChange.AdditionalInformationItem.Builder
extends Object
implements software.amazon.jsii.Builder<CodeBuildBuildStateChange.AdditionalInformationItem>
A builder for
CodeBuildBuildStateChange.AdditionalInformationItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.durationInSeconds(List<String> durationInSeconds) Sets the value ofCodeBuildBuildStateChange.AdditionalInformationItem.getEndTime()phaseContext(List<String> phaseContext) Sets the value ofCodeBuildBuildStateChange.AdditionalInformationItem.getPhaseContext()phaseStatus(List<String> phaseStatus) Sets the value ofCodeBuildBuildStateChange.AdditionalInformationItem.getPhaseStatus()Sets the value ofCodeBuildBuildStateChange.AdditionalInformationItem.getPhaseType()Sets the value ofCodeBuildBuildStateChange.AdditionalInformationItem.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
durationInSeconds
@Stability(Experimental) public CodeBuildBuildStateChange.AdditionalInformationItem.Builder durationInSeconds(List<String> durationInSeconds) - 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 CodeBuildBuildStateChange.AdditionalInformationItem.Builder endTime(List<String> endTime) Sets the value ofCodeBuildBuildStateChange.AdditionalInformationItem.getEndTime()- 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 CodeBuildBuildStateChange.AdditionalInformationItem.Builder phaseContext(List<String> phaseContext) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformationItem.Builder phaseStatus(List<String> phaseStatus) Sets the value ofCodeBuildBuildStateChange.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 CodeBuildBuildStateChange.AdditionalInformationItem.Builder phaseType(List<String> phaseType) Sets the value ofCodeBuildBuildStateChange.AdditionalInformationItem.getPhaseType()- 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 CodeBuildBuildStateChange.AdditionalInformationItem.Builder startTime(List<String> startTime) Sets the value ofCodeBuildBuildStateChange.AdditionalInformationItem.getStartTime()- 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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodeBuildBuildStateChange.AdditionalInformationItem>- Returns:
- a new instance of
CodeBuildBuildStateChange.AdditionalInformationItem - Throws:
NullPointerException- if any required attribute was not provided
-