Class OutputConversion
- java.lang.Object
-
- software.amazon.awssdk.services.b2bi.model.OutputConversion
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OutputConversion.Builder,OutputConversion>
@Generated("software.amazon.awssdk:codegen") public final class OutputConversion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OutputConversion.Builder,OutputConversion>
Contains the formatting options for an outbound transformer (takes JSON or XML as input and converts it to an EDI document (currently only X12 format is supported).
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOutputConversion.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OutputConversion.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FormatOptionsformatOptions()A structure that contains the X12 transaction set and version for the transformer output.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends OutputConversion.Builder>serializableBuilderClass()OutputConversion.BuildertoBuilder()ToFormattoFormat()The format for the output from an outbound transformer: only X12 is currently supported.StringtoFormatAsString()The format for the output from an outbound transformer: only X12 is currently supported.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
-
toFormat
public final ToFormat toFormat()
The format for the output from an outbound transformer: only X12 is currently supported.
If the service returns an enum value that is not available in the current SDK version,
toFormatwill returnToFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtoFormatAsString().- Returns:
- The format for the output from an outbound transformer: only X12 is currently supported.
- See Also:
ToFormat
-
toFormatAsString
public final String toFormatAsString()
The format for the output from an outbound transformer: only X12 is currently supported.
If the service returns an enum value that is not available in the current SDK version,
toFormatwill returnToFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtoFormatAsString().- Returns:
- The format for the output from an outbound transformer: only X12 is currently supported.
- See Also:
ToFormat
-
formatOptions
public final FormatOptions formatOptions()
A structure that contains the X12 transaction set and version for the transformer output.
- Returns:
- A structure that contains the X12 transaction set and version for the transformer output.
-
toBuilder
public OutputConversion.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OutputConversion.Builder,OutputConversion>
-
builder
public static OutputConversion.Builder builder()
-
serializableBuilderClass
public static Class<? extends OutputConversion.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.
-
-