Struct aws_sdk_b2bi::operation::update_transformer::builders::UpdateTransformerFluentBuilder
source · pub struct UpdateTransformerFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateTransformer.
Updates the specified parameters for a transformer. A transformer describes how to process the incoming EDI documents and extract the necessary information to the output file.
Implementations§
source§impl UpdateTransformerFluentBuilder
impl UpdateTransformerFluentBuilder
sourcepub fn as_input(&self) -> &UpdateTransformerInputBuilder
pub fn as_input(&self) -> &UpdateTransformerInputBuilder
Access the UpdateTransformer as a reference.
sourcepub async fn send(
self
) -> Result<UpdateTransformerOutput, SdkError<UpdateTransformerError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateTransformerOutput, SdkError<UpdateTransformerError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateTransformerOutput, UpdateTransformerError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateTransformerOutput, UpdateTransformerError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn transformer_id(self, input: impl Into<String>) -> Self
pub fn transformer_id(self, input: impl Into<String>) -> Self
Specifies the system-assigned unique identifier for the transformer.
sourcepub fn set_transformer_id(self, input: Option<String>) -> Self
pub fn set_transformer_id(self, input: Option<String>) -> Self
Specifies the system-assigned unique identifier for the transformer.
sourcepub fn get_transformer_id(&self) -> &Option<String>
pub fn get_transformer_id(&self) -> &Option<String>
Specifies the system-assigned unique identifier for the transformer.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Specify a new name for the transformer, if you want to update it.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Specify a new name for the transformer, if you want to update it.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
Specify a new name for the transformer, if you want to update it.
sourcepub fn file_format(self, input: FileFormat) -> Self
pub fn file_format(self, input: FileFormat) -> Self
Specifies that the currently supported file formats for EDI transformations are JSON and XML.
sourcepub fn set_file_format(self, input: Option<FileFormat>) -> Self
pub fn set_file_format(self, input: Option<FileFormat>) -> Self
Specifies that the currently supported file formats for EDI transformations are JSON and XML.
sourcepub fn get_file_format(&self) -> &Option<FileFormat>
pub fn get_file_format(&self) -> &Option<FileFormat>
Specifies that the currently supported file formats for EDI transformations are JSON and XML.
sourcepub fn mapping_template(self, input: impl Into<String>) -> Self
pub fn mapping_template(self, input: impl Into<String>) -> Self
Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
sourcepub fn set_mapping_template(self, input: Option<String>) -> Self
pub fn set_mapping_template(self, input: Option<String>) -> Self
Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
sourcepub fn get_mapping_template(&self) -> &Option<String>
pub fn get_mapping_template(&self) -> &Option<String>
Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
sourcepub fn status(self, input: TransformerStatus) -> Self
pub fn status(self, input: TransformerStatus) -> Self
Specifies the transformer's status. You can update the state of the transformer, from active to inactive, or inactive to active.
sourcepub fn set_status(self, input: Option<TransformerStatus>) -> Self
pub fn set_status(self, input: Option<TransformerStatus>) -> Self
Specifies the transformer's status. You can update the state of the transformer, from active to inactive, or inactive to active.
sourcepub fn get_status(&self) -> &Option<TransformerStatus>
pub fn get_status(&self) -> &Option<TransformerStatus>
Specifies the transformer's status. You can update the state of the transformer, from active to inactive, or inactive to active.
sourcepub fn edi_type(self, input: EdiType) -> Self
pub fn edi_type(self, input: EdiType) -> Self
Specifies the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
sourcepub fn set_edi_type(self, input: Option<EdiType>) -> Self
pub fn set_edi_type(self, input: Option<EdiType>) -> Self
Specifies the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
sourcepub fn get_edi_type(&self) -> &Option<EdiType>
pub fn get_edi_type(&self) -> &Option<EdiType>
Specifies the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
sourcepub fn sample_document(self, input: impl Into<String>) -> Self
pub fn sample_document(self, input: impl Into<String>) -> Self
Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.
sourcepub fn set_sample_document(self, input: Option<String>) -> Self
pub fn set_sample_document(self, input: Option<String>) -> Self
Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.
sourcepub fn get_sample_document(&self) -> &Option<String>
pub fn get_sample_document(&self) -> &Option<String>
Specifies a sample EDI document that is used by a transformer as a guide for processing the EDI data.
Trait Implementations§
source§impl Clone for UpdateTransformerFluentBuilder
impl Clone for UpdateTransformerFluentBuilder
source§fn clone(&self) -> UpdateTransformerFluentBuilder
fn clone(&self) -> UpdateTransformerFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateTransformerFluentBuilder
impl !RefUnwindSafe for UpdateTransformerFluentBuilder
impl Send for UpdateTransformerFluentBuilder
impl Sync for UpdateTransformerFluentBuilder
impl Unpin for UpdateTransformerFluentBuilder
impl !UnwindSafe for UpdateTransformerFluentBuilder
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> 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