Class CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codepipeline.events.CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps>
- Enclosing interface:
CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps
@Stability(Experimental)
public static final class CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder
extends Object
implements software.amazon.jsii.Builder<CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) executionId(List<String> executionId) executionResult(CodePipelineActionExecutionStateChange.ExecutionResult executionResult) inputArtifacts(CodePipelineActionExecutionStateChange.InputArtifacts inputArtifacts) outputArtifacts(CodePipelineActionExecutionStateChange.OutputArtifacts outputArtifacts)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Experimental) public CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder action(List<String> action) Sets the value ofCodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.getAction()- Parameters:
action- action property. Specify an array of string values to match this event if the actual value of action 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 CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofCodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
executionId
@Stability(Experimental) public CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder executionId(List<String> executionId) Sets the value ofCodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.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
-
executionResult
@Stability(Experimental) public CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder executionResult(CodePipelineActionExecutionStateChange.ExecutionResult executionResult) Sets the value ofCodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.getExecutionResult()- Parameters:
executionResult- execution-result property. Specify an array of string values to match this event if the actual value of execution-result is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
inputArtifacts
@Stability(Experimental) public CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder inputArtifacts(CodePipelineActionExecutionStateChange.InputArtifacts inputArtifacts) Sets the value ofCodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.getInputArtifacts()- Parameters:
inputArtifacts- input-artifacts property. Specify an array of string values to match this event if the actual value of input-artifacts is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
outputArtifacts
@Stability(Experimental) public CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder outputArtifacts(CodePipelineActionExecutionStateChange.OutputArtifacts outputArtifacts) Sets the value ofCodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.getOutputArtifacts()- Parameters:
outputArtifacts- output-artifacts property. Specify an array of string values to match this event if the actual value of output-artifacts 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 CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder pipeline(List<String> pipeline) Sets the value ofCodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.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
-
region
@Stability(Experimental) public CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder region(List<String> region) Sets the value ofCodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.getRegion()- Parameters:
region- region property. Specify an array of string values to match this event if the actual value of region is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
stage
@Stability(Experimental) public CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder stage(List<String> stage) Sets the value ofCodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.getStage()- Parameters:
stage- stage property. Specify an array of string values to match this event if the actual value of stage 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 CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder state(List<String> state) Sets the value ofCodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.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
-
type
@Stability(Experimental) public CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder type(CodePipelineActionExecutionStateChange.Type type) Sets the value ofCodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.getType()- Parameters:
type- type property. Specify an array of string values to match this event if the actual value of type 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 CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.Builder version(List<String> version) Sets the value ofCodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps.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 CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps>- Returns:
- a new instance of
CodePipelineActionExecutionStateChange.CodePipelineActionExecutionStateChangeProps - Throws:
NullPointerException- if any required attribute was not provided
-