Interface StartPipelineExecutionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodePipelineRequest.Builder,CopyableBuilder<StartPipelineExecutionRequest.Builder,,StartPipelineExecutionRequest> SdkBuilder<StartPipelineExecutionRequest.Builder,,StartPipelineExecutionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartPipelineExecutionRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) The system-generated unique ID used to identify a unique execution request.The name of the pipeline to start.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceRevisions(Collection<SourceRevisionOverride> sourceRevisions) A list that allows you to specify, or override, the source revision for a pipeline execution that's being started.sourceRevisions(Consumer<SourceRevisionOverride.Builder>... sourceRevisions) A list that allows you to specify, or override, the source revision for a pipeline execution that's being started.sourceRevisions(SourceRevisionOverride... sourceRevisions) A list that allows you to specify, or override, the source revision for a pipeline execution that's being started.variables(Collection<PipelineVariable> variables) A list that overrides pipeline variables for a pipeline execution that's being started.variables(Consumer<PipelineVariable.Builder>... variables) A list that overrides pipeline variables for a pipeline execution that's being started.variables(PipelineVariable... variables) A list that overrides pipeline variables for a pipeline execution that's being started.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the pipeline to start.
- Parameters:
name- The name of the pipeline to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
A list that overrides pipeline variables for a pipeline execution that's being started. Variable names must match
[A-Za-z0-9@\-_]+, and the values can be anything except an empty string.- Parameters:
variables- A list that overrides pipeline variables for a pipeline execution that's being started. Variable names must match[A-Za-z0-9@\-_]+, and the values can be anything except an empty string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
A list that overrides pipeline variables for a pipeline execution that's being started. Variable names must match
[A-Za-z0-9@\-_]+, and the values can be anything except an empty string.- Parameters:
variables- A list that overrides pipeline variables for a pipeline execution that's being started. Variable names must match[A-Za-z0-9@\-_]+, and the values can be anything except an empty string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
A list that overrides pipeline variables for a pipeline execution that's being started. Variable names must match
This is a convenience method that creates an instance of the[A-Za-z0-9@\-_]+, and the values can be anything except an empty string.PipelineVariable.Builderavoiding the need to create one manually viaPipelineVariable.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovariables(List<PipelineVariable>).- Parameters:
variables- a consumer that will call methods onPipelineVariable.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
The system-generated unique ID used to identify a unique execution request.
- Parameters:
clientRequestToken- The system-generated unique ID used to identify a unique execution request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRevisions
StartPipelineExecutionRequest.Builder sourceRevisions(Collection<SourceRevisionOverride> sourceRevisions) A list that allows you to specify, or override, the source revision for a pipeline execution that's being started. A source revision is the version with all the changes to your application code, or source artifact, for the pipeline execution.
- Parameters:
sourceRevisions- A list that allows you to specify, or override, the source revision for a pipeline execution that's being started. A source revision is the version with all the changes to your application code, or source artifact, for the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRevisions
A list that allows you to specify, or override, the source revision for a pipeline execution that's being started. A source revision is the version with all the changes to your application code, or source artifact, for the pipeline execution.
- Parameters:
sourceRevisions- A list that allows you to specify, or override, the source revision for a pipeline execution that's being started. A source revision is the version with all the changes to your application code, or source artifact, for the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRevisions
StartPipelineExecutionRequest.Builder sourceRevisions(Consumer<SourceRevisionOverride.Builder>... sourceRevisions) A list that allows you to specify, or override, the source revision for a pipeline execution that's being started. A source revision is the version with all the changes to your application code, or source artifact, for the pipeline execution.
This is a convenience method that creates an instance of theSourceRevisionOverride.Builderavoiding the need to create one manually viaSourceRevisionOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceRevisions(List<SourceRevisionOverride>).- Parameters:
sourceRevisions- a consumer that will call methods onSourceRevisionOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartPipelineExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartPipelineExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-