Class ConversionTarget
- java.lang.Object
-
- software.amazon.awssdk.services.b2bi.model.ConversionTarget
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConversionTarget.Builder,ConversionTarget>
@Generated("software.amazon.awssdk:codegen") public final class ConversionTarget extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConversionTarget.Builder,ConversionTarget>
Provide a sample of what the output of the transformation should look like.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConversionTarget.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversionTarget.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ConversionTargetFormatfileFormat()Currently, only X12 format is supported.StringfileFormatAsString()Currently, only X12 format is supported.ConversionTargetFormatDetailsformatDetails()A structure that contains the formatting details for the conversion target.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OutputSampleFileSourceoutputSampleFile()Customer uses this to provide a sample on what should file look like after conversion X12 EDI use case around this would be discovering the file syntaxList<SdkField<?>>sdkFields()static Class<? extends ConversionTarget.Builder>serializableBuilderClass()ConversionTarget.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
-
fileFormat
public final ConversionTargetFormat fileFormat()
Currently, only X12 format is supported.
If the service returns an enum value that is not available in the current SDK version,
fileFormatwill returnConversionTargetFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfileFormatAsString().- Returns:
- Currently, only X12 format is supported.
- See Also:
ConversionTargetFormat
-
fileFormatAsString
public final String fileFormatAsString()
Currently, only X12 format is supported.
If the service returns an enum value that is not available in the current SDK version,
fileFormatwill returnConversionTargetFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfileFormatAsString().- Returns:
- Currently, only X12 format is supported.
- See Also:
ConversionTargetFormat
-
formatDetails
public final ConversionTargetFormatDetails formatDetails()
A structure that contains the formatting details for the conversion target.
- Returns:
- A structure that contains the formatting details for the conversion target.
-
outputSampleFile
public final OutputSampleFileSource outputSampleFile()
Customer uses this to provide a sample on what should file look like after conversion X12 EDI use case around this would be discovering the file syntax
- Returns:
- Customer uses this to provide a sample on what should file look like after conversion X12 EDI use case around this would be discovering the file syntax
-
toBuilder
public ConversionTarget.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConversionTarget.Builder,ConversionTarget>
-
builder
public static ConversionTarget.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConversionTarget.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.
-
-