Class ConversionSource
- java.lang.Object
-
- software.amazon.awssdk.services.b2bi.model.ConversionSource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConversionSource.Builder,ConversionSource>
@Generated("software.amazon.awssdk:codegen") public final class ConversionSource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConversionSource.Builder,ConversionSource>
Describes the input for an outbound transformation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConversionSource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversionSource.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ConversionSourceFormatfileFormat()The format for the input file: either JSON or XML.StringfileFormatAsString()The format for the input file: either JSON or XML.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InputFileSourceinputFile()File to be convertedList<SdkField<?>>sdkFields()static Class<? extends ConversionSource.Builder>serializableBuilderClass()ConversionSource.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 ConversionSourceFormat fileFormat()
The format for the input file: either JSON or XML.
If the service returns an enum value that is not available in the current SDK version,
fileFormatwill returnConversionSourceFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfileFormatAsString().- Returns:
- The format for the input file: either JSON or XML.
- See Also:
ConversionSourceFormat
-
fileFormatAsString
public final String fileFormatAsString()
The format for the input file: either JSON or XML.
If the service returns an enum value that is not available in the current SDK version,
fileFormatwill returnConversionSourceFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfileFormatAsString().- Returns:
- The format for the input file: either JSON or XML.
- See Also:
ConversionSourceFormat
-
inputFile
public final InputFileSource inputFile()
File to be converted
- Returns:
- File to be converted
-
toBuilder
public ConversionSource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConversionSource.Builder,ConversionSource>
-
builder
public static ConversionSource.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConversionSource.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.
-
-