public static interface Toolchain.Builder extends SdkPojo, CopyableBuilder<Toolchain.Builder,Toolchain>
Modifier and Type | Method and Description |
---|---|
Toolchain.Builder |
roleArn(String roleArn)
The 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.
|
Toolchain.Builder |
source(ToolchainSource source)
The Amazon S3 location where the toolchain template file provided with the project request is stored.
|
Toolchain.Builder |
stackParameters(Map<String,String> stackParameters)
The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.
|
copy
applyMutation, build
Toolchain.Builder source(ToolchainSource 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.
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.default Toolchain.Builder source(Consumer<ToolchainSource.Builder> 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 that creates an instance of theToolchainSource.Builder
avoiding the need to
create one manually via ToolchainSource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to source(ToolchainSource)
.source
- a consumer that will call methods on ToolchainSource.Builder
source(ToolchainSource)
Toolchain.Builder roleArn(String roleArn)
The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.
roleArn
- The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.Toolchain.Builder stackParameters(Map<String,String> stackParameters)
The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.
stackParameters
- The list of parameter overrides to be passed into the toolchain template during stack provisioning, if
any.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.