Struct aws_sdk_iotfleetwise::operation::import_decoder_manifest::builders::ImportDecoderManifestInputBuilder
source · #[non_exhaustive]pub struct ImportDecoderManifestInputBuilder { /* private fields */ }Expand description
A builder for ImportDecoderManifestInput.
Implementations§
source§impl ImportDecoderManifestInputBuilder
impl ImportDecoderManifestInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the decoder manifest to import.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the decoder manifest to import.
sourcepub fn network_file_definitions(self, input: NetworkFileDefinition) -> Self
pub fn network_file_definitions(self, input: NetworkFileDefinition) -> Self
Appends an item to network_file_definitions.
To override the contents of this collection use set_network_file_definitions.
The file to load into an Amazon Web Services account.
sourcepub fn set_network_file_definitions(
self,
input: Option<Vec<NetworkFileDefinition>>
) -> Self
pub fn set_network_file_definitions( self, input: Option<Vec<NetworkFileDefinition>> ) -> Self
The file to load into an Amazon Web Services account.
sourcepub fn get_network_file_definitions(
&self
) -> &Option<Vec<NetworkFileDefinition>>
pub fn get_network_file_definitions( &self ) -> &Option<Vec<NetworkFileDefinition>>
The file to load into an Amazon Web Services account.
sourcepub fn build(self) -> Result<ImportDecoderManifestInput, BuildError>
pub fn build(self) -> Result<ImportDecoderManifestInput, BuildError>
Consumes the builder and constructs a ImportDecoderManifestInput.
source§impl ImportDecoderManifestInputBuilder
impl ImportDecoderManifestInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ImportDecoderManifestOutput, SdkError<ImportDecoderManifestError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ImportDecoderManifestOutput, SdkError<ImportDecoderManifestError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ImportDecoderManifestInputBuilder
impl Clone for ImportDecoderManifestInputBuilder
source§fn clone(&self) -> ImportDecoderManifestInputBuilder
fn clone(&self) -> ImportDecoderManifestInputBuilder
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 Default for ImportDecoderManifestInputBuilder
impl Default for ImportDecoderManifestInputBuilder
source§fn default() -> ImportDecoderManifestInputBuilder
fn default() -> ImportDecoderManifestInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ImportDecoderManifestInputBuilder
impl PartialEq for ImportDecoderManifestInputBuilder
source§fn eq(&self, other: &ImportDecoderManifestInputBuilder) -> bool
fn eq(&self, other: &ImportDecoderManifestInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ImportDecoderManifestInputBuilder
Auto Trait Implementations§
impl Freeze for ImportDecoderManifestInputBuilder
impl RefUnwindSafe for ImportDecoderManifestInputBuilder
impl Send for ImportDecoderManifestInputBuilder
impl Sync for ImportDecoderManifestInputBuilder
impl Unpin for ImportDecoderManifestInputBuilder
impl UnwindSafe for ImportDecoderManifestInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.