Class InputConversion
- java.lang.Object
-
- software.amazon.awssdk.services.b2bi.model.InputConversion
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InputConversion.Builder,InputConversion>
@Generated("software.amazon.awssdk:codegen") public final class InputConversion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InputConversion.Builder,InputConversion>
Contains the input formatting options for an inbound transformer (takes an X12-formatted EDI document as input and converts it to JSON or XML.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInputConversion.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InputConversion.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FormatOptionsformatOptions()A structure that contains the formatting options for an inbound transformer.FromFormatfromFormat()The format for the transformer input: currently onX12is supported.StringfromFormatAsString()The format for the transformer input: currently onX12is supported.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends InputConversion.Builder>serializableBuilderClass()InputConversion.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
fromFormat
public final FromFormat fromFormat()
The format for the transformer input: currently on
X12is supported.If the service returns an enum value that is not available in the current SDK version,
fromFormatwill returnFromFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfromFormatAsString().- Returns:
- The format for the transformer input: currently on
X12is supported. - See Also:
FromFormat
-
fromFormatAsString
public final String fromFormatAsString()
The format for the transformer input: currently on
X12is supported.If the service returns an enum value that is not available in the current SDK version,
fromFormatwill returnFromFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfromFormatAsString().- Returns:
- The format for the transformer input: currently on
X12is supported. - See Also:
FromFormat
-
formatOptions
public final FormatOptions formatOptions()
A structure that contains the formatting options for an inbound transformer.
- Returns:
- A structure that contains the formatting options for an inbound transformer.
-
toBuilder
public InputConversion.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InputConversion.Builder,InputConversion>
-
builder
public static InputConversion.Builder builder()
-
serializableBuilderClass
public static Class<? extends InputConversion.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-