Struct aws_sdk_codestar::types::builders::CodeSourceBuilder
source · #[non_exhaustive]pub struct CodeSourceBuilder { /* private fields */ }
Expand description
A builder for CodeSource
.
Implementations§
source§impl CodeSourceBuilder
impl CodeSourceBuilder
sourcepub fn s3(self, input: S3Location) -> Self
pub fn s3(self, input: S3Location) -> Self
Information about the Amazon S3 location where the source code files provided with the project request are stored.
This field is required.sourcepub fn set_s3(self, input: Option<S3Location>) -> Self
pub fn set_s3(self, input: Option<S3Location>) -> Self
Information about the Amazon S3 location where the source code files provided with the project request are stored.
sourcepub fn get_s3(&self) -> &Option<S3Location>
pub fn get_s3(&self) -> &Option<S3Location>
Information about the Amazon S3 location where the source code files provided with the project request are stored.
sourcepub fn build(self) -> CodeSource
pub fn build(self) -> CodeSource
Consumes the builder and constructs a CodeSource
.
Trait Implementations§
source§impl Clone for CodeSourceBuilder
impl Clone for CodeSourceBuilder
source§fn clone(&self) -> CodeSourceBuilder
fn clone(&self) -> CodeSourceBuilder
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 CodeSourceBuilder
impl Debug for CodeSourceBuilder
source§impl Default for CodeSourceBuilder
impl Default for CodeSourceBuilder
source§fn default() -> CodeSourceBuilder
fn default() -> CodeSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CodeSourceBuilder
impl PartialEq for CodeSourceBuilder
source§fn eq(&self, other: &CodeSourceBuilder) -> bool
fn eq(&self, other: &CodeSourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CodeSourceBuilder
Auto Trait Implementations§
impl Freeze for CodeSourceBuilder
impl RefUnwindSafe for CodeSourceBuilder
impl Send for CodeSourceBuilder
impl Sync for CodeSourceBuilder
impl Unpin for CodeSourceBuilder
impl UnwindSafe for CodeSourceBuilder
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>
Creates a shared type from an unshared type.