Struct aws_sdk_robomaker::types::builders::SourceBuilder
source · #[non_exhaustive]pub struct SourceBuilder { /* private fields */ }
Expand description
A builder for Source
.
Implementations§
source§impl SourceBuilder
impl SourceBuilder
sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
The s3 bucket name.
sourcepub fn get_s3_bucket(&self) -> &Option<String>
pub fn get_s3_bucket(&self) -> &Option<String>
The s3 bucket name.
sourcepub fn set_s3_key(self, input: Option<String>) -> Self
pub fn set_s3_key(self, input: Option<String>) -> Self
The s3 object key.
sourcepub fn get_s3_key(&self) -> &Option<String>
pub fn get_s3_key(&self) -> &Option<String>
The s3 object key.
sourcepub fn etag(self, input: impl Into<String>) -> Self
pub fn etag(self, input: impl Into<String>) -> Self
A hash of the object specified by s3Bucket
and s3Key
.
sourcepub fn set_etag(self, input: Option<String>) -> Self
pub fn set_etag(self, input: Option<String>) -> Self
A hash of the object specified by s3Bucket
and s3Key
.
sourcepub fn get_etag(&self) -> &Option<String>
pub fn get_etag(&self) -> &Option<String>
A hash of the object specified by s3Bucket
and s3Key
.
sourcepub fn architecture(self, input: Architecture) -> Self
pub fn architecture(self, input: Architecture) -> Self
The taget processor architecture for the application.
sourcepub fn set_architecture(self, input: Option<Architecture>) -> Self
pub fn set_architecture(self, input: Option<Architecture>) -> Self
The taget processor architecture for the application.
sourcepub fn get_architecture(&self) -> &Option<Architecture>
pub fn get_architecture(&self) -> &Option<Architecture>
The taget processor architecture for the application.
Trait Implementations§
source§impl Clone for SourceBuilder
impl Clone for SourceBuilder
source§fn clone(&self) -> SourceBuilder
fn clone(&self) -> SourceBuilder
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 SourceBuilder
impl Debug for SourceBuilder
source§impl Default for SourceBuilder
impl Default for SourceBuilder
source§fn default() -> SourceBuilder
fn default() -> SourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SourceBuilder
impl PartialEq for SourceBuilder
source§fn eq(&self, other: &SourceBuilder) -> bool
fn eq(&self, other: &SourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SourceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SourceBuilder
impl Send for SourceBuilder
impl Sync for SourceBuilder
impl Unpin for SourceBuilder
impl UnwindSafe for SourceBuilder
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.