Struct aws_sdk_b2bi::operation::update_transformer::builders::UpdateTransformerOutputBuilder
source · #[non_exhaustive]pub struct UpdateTransformerOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateTransformerOutput
.
Implementations§
source§impl UpdateTransformerOutputBuilder
impl UpdateTransformerOutputBuilder
sourcepub fn transformer_id(self, input: impl Into<String>) -> Self
pub fn transformer_id(self, input: impl Into<String>) -> Self
Returns the system-assigned unique identifier for the transformer.
This field is required.sourcepub fn set_transformer_id(self, input: Option<String>) -> Self
pub fn set_transformer_id(self, input: Option<String>) -> Self
Returns the system-assigned unique identifier for the transformer.
sourcepub fn get_transformer_id(&self) -> &Option<String>
pub fn get_transformer_id(&self) -> &Option<String>
Returns the system-assigned unique identifier for the transformer.
sourcepub fn transformer_arn(self, input: impl Into<String>) -> Self
pub fn transformer_arn(self, input: impl Into<String>) -> Self
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
This field is required.sourcepub fn set_transformer_arn(self, input: Option<String>) -> Self
pub fn set_transformer_arn(self, input: Option<String>) -> Self
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
sourcepub fn get_transformer_arn(&self) -> &Option<String>
pub fn get_transformer_arn(&self) -> &Option<String>
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Returns the name of the transformer.
This field is required.sourcepub fn file_format(self, input: FileFormat) -> Self
pub fn file_format(self, input: FileFormat) -> Self
Returns 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
Returns 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>
Returns 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
Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
This field is required.sourcepub fn set_mapping_template(self, input: Option<String>) -> Self
pub fn set_mapping_template(self, input: Option<String>) -> Self
Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
sourcepub fn get_mapping_template(&self) -> &Option<String>
pub fn get_mapping_template(&self) -> &Option<String>
Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
sourcepub fn status(self, input: TransformerStatus) -> Self
pub fn status(self, input: TransformerStatus) -> Self
Returns the state of the newly created transformer. The transformer can be either active
or inactive
. For the transformer to be used in a capability, its status must active
.
sourcepub fn set_status(self, input: Option<TransformerStatus>) -> Self
pub fn set_status(self, input: Option<TransformerStatus>) -> Self
Returns the state of the newly created transformer. The transformer can be either active
or inactive
. For the transformer to be used in a capability, its status must active
.
sourcepub fn get_status(&self) -> &Option<TransformerStatus>
pub fn get_status(&self) -> &Option<TransformerStatus>
Returns the state of the newly created transformer. The transformer can be either active
or inactive
. For the transformer to be used in a capability, its status must active
.
sourcepub fn edi_type(self, input: EdiType) -> Self
pub fn edi_type(self, input: EdiType) -> Self
Returns 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
Returns 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>
Returns 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
Returns 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
Returns 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>
Returns a sample EDI document that is used by a transformer as a guide for processing the EDI data.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
Returns a timestamp for creation date and time of the transformer.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
Returns a timestamp for creation date and time of the transformer.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
Returns a timestamp for creation date and time of the transformer.
sourcepub fn modified_at(self, input: DateTime) -> Self
pub fn modified_at(self, input: DateTime) -> Self
Returns a timestamp for last time the transformer was modified.
This field is required.sourcepub fn set_modified_at(self, input: Option<DateTime>) -> Self
pub fn set_modified_at(self, input: Option<DateTime>) -> Self
Returns a timestamp for last time the transformer was modified.
sourcepub fn get_modified_at(&self) -> &Option<DateTime>
pub fn get_modified_at(&self) -> &Option<DateTime>
Returns a timestamp for last time the transformer was modified.
sourcepub fn build(self) -> Result<UpdateTransformerOutput, BuildError>
pub fn build(self) -> Result<UpdateTransformerOutput, BuildError>
Consumes the builder and constructs a UpdateTransformerOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateTransformerOutputBuilder
impl Clone for UpdateTransformerOutputBuilder
source§fn clone(&self) -> UpdateTransformerOutputBuilder
fn clone(&self) -> UpdateTransformerOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateTransformerOutputBuilder
impl Default for UpdateTransformerOutputBuilder
source§fn default() -> UpdateTransformerOutputBuilder
fn default() -> UpdateTransformerOutputBuilder
source§impl PartialEq for UpdateTransformerOutputBuilder
impl PartialEq for UpdateTransformerOutputBuilder
source§fn eq(&self, other: &UpdateTransformerOutputBuilder) -> bool
fn eq(&self, other: &UpdateTransformerOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.