Struct aws_sdk_iot::model::file_location::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for FileLocation
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> FileLocation
pub fn build(self) -> FileLocation
Consumes the builder and constructs a FileLocation
.