Interface Toolchain.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Toolchain.Builder,
,Toolchain> SdkBuilder<Toolchain.Builder,
,Toolchain> SdkPojo
- Enclosing class:
Toolchain
public static interface Toolchain.Builder
extends SdkPojo, CopyableBuilder<Toolchain.Builder,Toolchain>
-
Method Summary
Modifier and TypeMethodDescriptionThe service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.default Toolchain.Builder
source
(Consumer<ToolchainSource.Builder> source) The Amazon S3 location where the toolchain template file provided with the project request is stored.source
(ToolchainSource source) The Amazon S3 location where the toolchain template file provided with the project request is stored.stackParameters
(Map<String, String> stackParameters) The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.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
-
source
The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.
- Parameters:
source
- The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.
This is a convenience method that creates an instance of theToolchainSource.Builder
avoiding the need to create one manually viaToolchainSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(ToolchainSource)
.- Parameters:
source
- a consumer that will call methods onToolchainSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.
- Parameters:
roleArn
- The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackParameters
The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.
- Parameters:
stackParameters
- The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-