#[non_exhaustive]pub struct GetComponentOutputBuilder { /* private fields */ }Expand description
A builder for GetComponentOutput.
Implementations§
source§impl GetComponentOutputBuilder
impl GetComponentOutputBuilder
sourcepub fn recipe_output_format(self, input: RecipeOutputFormat) -> Self
pub fn recipe_output_format(self, input: RecipeOutputFormat) -> Self
The format of the recipe.
This field is required.sourcepub fn set_recipe_output_format(self, input: Option<RecipeOutputFormat>) -> Self
pub fn set_recipe_output_format(self, input: Option<RecipeOutputFormat>) -> Self
The format of the recipe.
sourcepub fn get_recipe_output_format(&self) -> &Option<RecipeOutputFormat>
pub fn get_recipe_output_format(&self) -> &Option<RecipeOutputFormat>
The format of the recipe.
sourcepub fn recipe(self, input: Blob) -> Self
pub fn recipe(self, input: Blob) -> Self
The recipe of the component version.
This field is required.sourcepub fn set_recipe(self, input: Option<Blob>) -> Self
pub fn set_recipe(self, input: Option<Blob>) -> Self
The recipe of the component version.
sourcepub fn get_recipe(&self) -> &Option<Blob>
pub fn get_recipe(&self) -> &Option<Blob>
The recipe of the component version.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.
sourcepub fn build(self) -> Result<GetComponentOutput, BuildError>
pub fn build(self) -> Result<GetComponentOutput, BuildError>
Consumes the builder and constructs a GetComponentOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetComponentOutputBuilder
impl Clone for GetComponentOutputBuilder
source§fn clone(&self) -> GetComponentOutputBuilder
fn clone(&self) -> GetComponentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetComponentOutputBuilder
impl Debug for GetComponentOutputBuilder
source§impl Default for GetComponentOutputBuilder
impl Default for GetComponentOutputBuilder
source§fn default() -> GetComponentOutputBuilder
fn default() -> GetComponentOutputBuilder
impl StructuralPartialEq for GetComponentOutputBuilder
Auto Trait Implementations§
impl Freeze for GetComponentOutputBuilder
impl RefUnwindSafe for GetComponentOutputBuilder
impl Send for GetComponentOutputBuilder
impl Sync for GetComponentOutputBuilder
impl Unpin for GetComponentOutputBuilder
impl UnwindSafe for GetComponentOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more