Class CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codepipeline.events.CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps>
- Enclosing interface:
CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps
@Stability(Experimental)
public static final class CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) executionId(List<String> executionId) executionTrigger(CodePipelinePipelineExecutionStateChange.ExecutionTrigger executionTrigger)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventMetadata
@Stability(Experimental) public CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofCodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
executionId
@Stability(Experimental) public CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.Builder executionId(List<String> executionId) Sets the value ofCodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.getExecutionId()- Parameters:
executionId- execution-id property. Specify an array of string values to match this event if the actual value of execution-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
executionTrigger
@Stability(Experimental) public CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.Builder executionTrigger(CodePipelinePipelineExecutionStateChange.ExecutionTrigger executionTrigger) Sets the value ofCodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.getExecutionTrigger()- Parameters:
executionTrigger- execution-trigger property. Specify an array of string values to match this event if the actual value of execution-trigger is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
pipeline
@Stability(Experimental) public CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.Builder pipeline(List<String> pipeline) Sets the value ofCodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.getPipeline()- Parameters:
pipeline- pipeline property. Specify an array of string values to match this event if the actual value of pipeline is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
state
@Stability(Experimental) public CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.Builder state(List<String> state) Sets the value ofCodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.getState()- Parameters:
state- state property. Specify an array of string values to match this event if the actual value of state 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 CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.Builder version(List<String> version) Sets the value ofCodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps.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 CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps>- Returns:
- a new instance of
CodePipelinePipelineExecutionStateChange.CodePipelinePipelineExecutionStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-