#[non_exhaustive]pub struct TestParsingInputBuilder { /* private fields */ }Expand description
A builder for TestParsingInput.
Implementations§
source§impl TestParsingInputBuilder
impl TestParsingInputBuilder
sourcepub fn input_file(self, input: S3Location) -> Self
pub fn input_file(self, input: S3Location) -> Self
Specifies an S3Location object, which contains the Amazon S3 bucket and prefix for the location of the input file.
sourcepub fn set_input_file(self, input: Option<S3Location>) -> Self
pub fn set_input_file(self, input: Option<S3Location>) -> Self
Specifies an S3Location object, which contains the Amazon S3 bucket and prefix for the location of the input file.
sourcepub fn get_input_file(&self) -> &Option<S3Location>
pub fn get_input_file(&self) -> &Option<S3Location>
Specifies an S3Location object, which contains the Amazon S3 bucket and prefix for the location of the input file.
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 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 build(self) -> Result<TestParsingInput, BuildError>
pub fn build(self) -> Result<TestParsingInput, BuildError>
Consumes the builder and constructs a TestParsingInput.
source§impl TestParsingInputBuilder
impl TestParsingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<TestParsingOutput, SdkError<TestParsingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<TestParsingOutput, SdkError<TestParsingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for TestParsingInputBuilder
impl Clone for TestParsingInputBuilder
source§fn clone(&self) -> TestParsingInputBuilder
fn clone(&self) -> TestParsingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TestParsingInputBuilder
impl Debug for TestParsingInputBuilder
source§impl Default for TestParsingInputBuilder
impl Default for TestParsingInputBuilder
source§fn default() -> TestParsingInputBuilder
fn default() -> TestParsingInputBuilder
source§impl PartialEq for TestParsingInputBuilder
impl PartialEq for TestParsingInputBuilder
source§fn eq(&self, other: &TestParsingInputBuilder) -> bool
fn eq(&self, other: &TestParsingInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TestParsingInputBuilder
Auto Trait Implementations§
impl Freeze for TestParsingInputBuilder
impl RefUnwindSafe for TestParsingInputBuilder
impl Send for TestParsingInputBuilder
impl Sync for TestParsingInputBuilder
impl Unpin for TestParsingInputBuilder
impl UnwindSafe for TestParsingInputBuilder
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