Struct aws_sdk_codestar::types::builders::ToolchainBuilder
source · #[non_exhaustive]pub struct ToolchainBuilder { /* private fields */ }
Expand description
A builder for Toolchain
.
Implementations§
source§impl ToolchainBuilder
impl ToolchainBuilder
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 get_source(&self) -> &Option<ToolchainSource>
pub fn get_source(&self) -> &Option<ToolchainSource>
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 get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
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.
sourcepub fn set_stack_parameters(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_stack_parameters( self, input: Option<HashMap<String, String>> ) -> Self
The list of parameter overrides to be passed into the toolchain template during stack provisioning, if any.
Trait Implementations§
source§impl Clone for ToolchainBuilder
impl Clone for ToolchainBuilder
source§fn clone(&self) -> ToolchainBuilder
fn clone(&self) -> ToolchainBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ToolchainBuilder
impl Debug for ToolchainBuilder
source§impl Default for ToolchainBuilder
impl Default for ToolchainBuilder
source§fn default() -> ToolchainBuilder
fn default() -> ToolchainBuilder
source§impl PartialEq<ToolchainBuilder> for ToolchainBuilder
impl PartialEq<ToolchainBuilder> for ToolchainBuilder
source§fn eq(&self, other: &ToolchainBuilder) -> bool
fn eq(&self, other: &ToolchainBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.