Class Mapping
- java.lang.Object
-
- software.amazon.awssdk.services.b2bi.model.Mapping
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Mapping.Builder,Mapping>
@Generated("software.amazon.awssdk:codegen") public final class Mapping extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Mapping.Builder,Mapping>
Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMapping.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Mapping.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Mapping.Builder>serializableBuilderClass()Stringtemplate()A string that represents the mapping template, in the transformation language specified intemplateLanguage.MappingTemplateLanguagetemplateLanguage()The transformation language for the template, either XSLT or JSONATA.StringtemplateLanguageAsString()The transformation language for the template, either XSLT or JSONATA.Mapping.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
-
templateLanguage
public final MappingTemplateLanguage templateLanguage()
The transformation language for the template, either XSLT or JSONATA.
If the service returns an enum value that is not available in the current SDK version,
templateLanguagewill returnMappingTemplateLanguage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtemplateLanguageAsString().- Returns:
- The transformation language for the template, either XSLT or JSONATA.
- See Also:
MappingTemplateLanguage
-
templateLanguageAsString
public final String templateLanguageAsString()
The transformation language for the template, either XSLT or JSONATA.
If the service returns an enum value that is not available in the current SDK version,
templateLanguagewill returnMappingTemplateLanguage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtemplateLanguageAsString().- Returns:
- The transformation language for the template, either XSLT or JSONATA.
- See Also:
MappingTemplateLanguage
-
template
public final String template()
A string that represents the mapping template, in the transformation language specified in
templateLanguage.- Returns:
- A string that represents the mapping template, in the transformation language specified in
templateLanguage.
-
toBuilder
public Mapping.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Mapping.Builder,Mapping>
-
builder
public static Mapping.Builder builder()
-
serializableBuilderClass
public static Class<? extends Mapping.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.
-
-