#[non_exhaustive]pub struct CreateTransformerInputBuilder { /* private fields */ }Expand description
A builder for CreateTransformerInput.
Implementations§
source§impl CreateTransformerInputBuilder
impl CreateTransformerInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Specifies the name of the transformer, used to identify it.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Specifies the name of the transformer, used to identify it.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
Specifies the name of the transformer, used to identify 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.
This field is required.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 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.
This field is required.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.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Reserved for future use.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Reserved for future use.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Reserved for future use.
Appends an item to tags.
To override the contents of this collection use set_tags.
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
sourcepub fn build(self) -> Result<CreateTransformerInput, BuildError>
pub fn build(self) -> Result<CreateTransformerInput, BuildError>
Consumes the builder and constructs a CreateTransformerInput.
source§impl CreateTransformerInputBuilder
impl CreateTransformerInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateTransformerOutput, SdkError<CreateTransformerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateTransformerOutput, SdkError<CreateTransformerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateTransformerInputBuilder
impl Clone for CreateTransformerInputBuilder
source§fn clone(&self) -> CreateTransformerInputBuilder
fn clone(&self) -> CreateTransformerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateTransformerInputBuilder
impl Default for CreateTransformerInputBuilder
source§fn default() -> CreateTransformerInputBuilder
fn default() -> CreateTransformerInputBuilder
source§impl PartialEq for CreateTransformerInputBuilder
impl PartialEq for CreateTransformerInputBuilder
source§fn eq(&self, other: &CreateTransformerInputBuilder) -> bool
fn eq(&self, other: &CreateTransformerInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateTransformerInputBuilder
Auto Trait Implementations§
impl Freeze for CreateTransformerInputBuilder
impl RefUnwindSafe for CreateTransformerInputBuilder
impl Send for CreateTransformerInputBuilder
impl Sync for CreateTransformerInputBuilder
impl Unpin for CreateTransformerInputBuilder
impl UnwindSafe for CreateTransformerInputBuilder
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