Class X12Details
- java.lang.Object
-
- software.amazon.awssdk.services.b2bi.model.X12Details
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<X12Details.Builder,X12Details>
@Generated("software.amazon.awssdk:codegen") public final class X12Details extends Object implements SdkPojo, Serializable, ToCopyableBuilder<X12Details.Builder,X12Details>
A structure that contains the X12 transaction set and version. The X12 structure is used when the system transforms an EDI (electronic data interchange) file.
If an EDI input file contains more than one transaction, each transaction must have the same transaction set and version, for example 214/4010. If not, the transformer cannot parse the file.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceX12Details.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static X12Details.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends X12Details.Builder>serializableBuilderClass()X12Details.BuildertoBuilder()StringtoString()Returns a string representation of this object.X12TransactionSettransactionSet()Returns an enumerated type where each value identifies an X12 transaction set.StringtransactionSetAsString()Returns an enumerated type where each value identifies an X12 transaction set.X12Versionversion()Returns the version to use for the specified X12 transaction set.StringversionAsString()Returns the version to use for the specified X12 transaction set.-
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
-
transactionSet
public final X12TransactionSet transactionSet()
Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
If the service returns an enum value that is not available in the current SDK version,
transactionSetwill returnX12TransactionSet.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtransactionSetAsString().- Returns:
- Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
- See Also:
X12TransactionSet
-
transactionSetAsString
public final String transactionSetAsString()
Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
If the service returns an enum value that is not available in the current SDK version,
transactionSetwill returnX12TransactionSet.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtransactionSetAsString().- Returns:
- Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
- See Also:
X12TransactionSet
-
version
public final X12Version version()
Returns the version to use for the specified X12 transaction set.
</p>If the service returns an enum value that is not available in the current SDK version,
versionwill returnX12Version.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromversionAsString().- Returns:
- Returns the version to use for the specified X12 transaction set.
</p> - See Also:
X12Version
-
versionAsString
public final String versionAsString()
Returns the version to use for the specified X12 transaction set.
</p>If the service returns an enum value that is not available in the current SDK version,
versionwill returnX12Version.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromversionAsString().- Returns:
- Returns the version to use for the specified X12 transaction set.
</p> - See Also:
X12Version
-
toBuilder
public X12Details.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<X12Details.Builder,X12Details>
-
builder
public static X12Details.Builder builder()
-
serializableBuilderClass
public static Class<? extends X12Details.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.
-
-