Struct aws_sdk_iot::types::builders::FileLocationBuilder
source · #[non_exhaustive]pub struct FileLocationBuilder { /* private fields */ }
Expand description
A builder for FileLocation
.
Implementations§
source§impl FileLocationBuilder
impl FileLocationBuilder
sourcepub fn set_stream(self, input: Option<Stream>) -> Self
pub fn set_stream(self, input: Option<Stream>) -> Self
The stream that contains the OTA update.
sourcepub fn get_stream(&self) -> &Option<Stream>
pub fn get_stream(&self) -> &Option<Stream>
The stream that contains the OTA update.
sourcepub fn s3_location(self, input: S3Location) -> Self
pub fn s3_location(self, input: S3Location) -> Self
The location of the updated firmware in S3.
sourcepub fn set_s3_location(self, input: Option<S3Location>) -> Self
pub fn set_s3_location(self, input: Option<S3Location>) -> Self
The location of the updated firmware in S3.
sourcepub fn get_s3_location(&self) -> &Option<S3Location>
pub fn get_s3_location(&self) -> &Option<S3Location>
The location of the updated firmware in S3.
sourcepub fn build(self) -> FileLocation
pub fn build(self) -> FileLocation
Consumes the builder and constructs a FileLocation
.
Trait Implementations§
source§impl Clone for FileLocationBuilder
impl Clone for FileLocationBuilder
source§fn clone(&self) -> FileLocationBuilder
fn clone(&self) -> FileLocationBuilder
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 FileLocationBuilder
impl Debug for FileLocationBuilder
source§impl Default for FileLocationBuilder
impl Default for FileLocationBuilder
source§fn default() -> FileLocationBuilder
fn default() -> FileLocationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FileLocationBuilder
impl PartialEq for FileLocationBuilder
source§fn eq(&self, other: &FileLocationBuilder) -> bool
fn eq(&self, other: &FileLocationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FileLocationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FileLocationBuilder
impl Send for FileLocationBuilder
impl Sync for FileLocationBuilder
impl Unpin for FileLocationBuilder
impl UnwindSafe for FileLocationBuilder
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