Struct aws_sdk_codestar::model::toolchain::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Toolchain
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn source(self, input: ToolchainSource) -> Self
pub fn source(self, input: ToolchainSource) -> Self
The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.
sourcepub fn set_source(self, input: Option<ToolchainSource>) -> Self
pub fn set_source(self, input: Option<ToolchainSource>) -> Self
The Amazon S3 location where the toolchain template file provided with the project request is stored. AWS CodeStar retrieves the file during project creation.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The service role ARN for AWS CodeStar to use for the toolchain template during stack provisioning.
sourcepub fn stack_parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn stack_parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to stack_parameters
.
To override the contents of this collection use set_stack_parameters
.
The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.