Class AWSAPICallViaCloudTrail.BuildPhase.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.AWSAPICallViaCloudTrail.BuildPhase.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.BuildPhase>
- Enclosing interface:
AWSAPICallViaCloudTrail.BuildPhase
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.BuildPhase.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.BuildPhase>
A builder for
AWSAPICallViaCloudTrail.BuildPhase-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.durationInSeconds(List<String> durationInSeconds) Sets the value ofAWSAPICallViaCloudTrail.BuildPhase.getDurationInSeconds()Sets the value ofAWSAPICallViaCloudTrail.BuildPhase.getEndTime()phaseContext(List<String> phaseContext) Sets the value ofAWSAPICallViaCloudTrail.BuildPhase.getPhaseContext()phaseStatus(List<String> phaseStatus) Sets the value ofAWSAPICallViaCloudTrail.BuildPhase.getPhaseStatus()Sets the value ofAWSAPICallViaCloudTrail.BuildPhase.getPhaseType()Sets the value ofAWSAPICallViaCloudTrail.BuildPhase.getStartTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
durationInSeconds
@Stability(Experimental) public AWSAPICallViaCloudTrail.BuildPhase.Builder durationInSeconds(List<String> durationInSeconds) Sets the value ofAWSAPICallViaCloudTrail.BuildPhase.getDurationInSeconds()- Parameters:
durationInSeconds- durationInSeconds property. Specify an array of string values to match this event if the actual value of durationInSeconds 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 AWSAPICallViaCloudTrail.BuildPhase.Builder endTime(List<String> endTime) Sets the value ofAWSAPICallViaCloudTrail.BuildPhase.getEndTime()- Parameters:
endTime- endTime property. Specify an array of string values to match this event if the actual value of endTime 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 AWSAPICallViaCloudTrail.BuildPhase.Builder phaseContext(List<String> phaseContext) Sets the value ofAWSAPICallViaCloudTrail.BuildPhase.getPhaseContext()- Parameters:
phaseContext- phaseContext property. Specify an array of string values to match this event if the actual value of phaseContext 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 AWSAPICallViaCloudTrail.BuildPhase.Builder phaseStatus(List<String> phaseStatus) Sets the value ofAWSAPICallViaCloudTrail.BuildPhase.getPhaseStatus()- Parameters:
phaseStatus- phaseStatus property. Specify an array of string values to match this event if the actual value of phaseStatus 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 AWSAPICallViaCloudTrail.BuildPhase.Builder phaseType(List<String> phaseType) Sets the value ofAWSAPICallViaCloudTrail.BuildPhase.getPhaseType()- Parameters:
phaseType- phaseType property. Specify an array of string values to match this event if the actual value of phaseType 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 AWSAPICallViaCloudTrail.BuildPhase.Builder startTime(List<String> startTime) Sets the value ofAWSAPICallViaCloudTrail.BuildPhase.getStartTime()- Parameters:
startTime- startTime property. Specify an array of string values to match this event if the actual value of startTime 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<AWSAPICallViaCloudTrail.BuildPhase>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.BuildPhase - Throws:
NullPointerException- if any required attribute was not provided
-