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.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaPipelineVariable.builder()
.When the
Consumer
completes,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.
-
overrideConfiguration
StartPipelineExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-