Struct aws_sdk_codestar::types::builders::ToolchainSourceBuilder
source · #[non_exhaustive]pub struct ToolchainSourceBuilder { /* private fields */ }
Expand description
A builder for ToolchainSource
.
Implementations§
source§impl ToolchainSourceBuilder
impl ToolchainSourceBuilder
sourcepub fn s3(self, input: S3Location) -> Self
pub fn s3(self, input: S3Location) -> Self
The Amazon S3 bucket where the toolchain template file provided with the project request is stored.
This field is required.sourcepub fn set_s3(self, input: Option<S3Location>) -> Self
pub fn set_s3(self, input: Option<S3Location>) -> Self
The Amazon S3 bucket where the toolchain template file provided with the project request is stored.
sourcepub fn get_s3(&self) -> &Option<S3Location>
pub fn get_s3(&self) -> &Option<S3Location>
The Amazon S3 bucket where the toolchain template file provided with the project request is stored.
sourcepub fn build(self) -> ToolchainSource
pub fn build(self) -> ToolchainSource
Consumes the builder and constructs a ToolchainSource
.
Trait Implementations§
source§impl Clone for ToolchainSourceBuilder
impl Clone for ToolchainSourceBuilder
source§fn clone(&self) -> ToolchainSourceBuilder
fn clone(&self) -> ToolchainSourceBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ToolchainSourceBuilder
impl Debug for ToolchainSourceBuilder
source§impl Default for ToolchainSourceBuilder
impl Default for ToolchainSourceBuilder
source§fn default() -> ToolchainSourceBuilder
fn default() -> ToolchainSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ToolchainSourceBuilder
impl PartialEq for ToolchainSourceBuilder
source§fn eq(&self, other: &ToolchainSourceBuilder) -> bool
fn eq(&self, other: &ToolchainSourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ToolchainSourceBuilder
Auto Trait Implementations§
impl Freeze for ToolchainSourceBuilder
impl RefUnwindSafe for ToolchainSourceBuilder
impl Send for ToolchainSourceBuilder
impl Sync for ToolchainSourceBuilder
impl Unpin for ToolchainSourceBuilder
impl UnwindSafe for ToolchainSourceBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.