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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Toolchain.BuilderroleArn(String roleArn)The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.default Toolchain.Buildersource(Consumer<ToolchainSource.Builder> source)The Amazon S3 location where the toolchain template file provided with the project request is stored.Toolchain.Buildersource(ToolchainSource source)The Amazon S3 location where the toolchain template file provided with the project request is stored.Toolchain.BuilderstackParameters(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 Detail
-
source
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.
- 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
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 method that creates an instance of theToolchainSource.Builderavoiding the need to create one manually viaToolchainSource.builder().When the
Consumercompletes,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:
source(ToolchainSource)
-
roleArn
Toolchain.Builder roleArn(String 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
Toolchain.Builder stackParameters(Map<String,String> 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.
-
-