@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class X12Details extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
X12Details() |
| Modifier and Type | Method and Description |
|---|---|
X12Details |
clone() |
boolean |
equals(Object obj) |
String |
getTransactionSet()
Returns an enumerated type where each value identifies an X12 transaction set.
|
String |
getVersion()
Returns the version to use for the specified X12 transaction set.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setTransactionSet(String transactionSet)
Returns an enumerated type where each value identifies an X12 transaction set.
|
void |
setVersion(String version)
Returns the version to use for the specified X12 transaction set.
|
String |
toString()
Returns a string representation of this object.
|
X12Details |
withTransactionSet(String transactionSet)
Returns an enumerated type where each value identifies an X12 transaction set.
|
X12Details |
withTransactionSet(X12TransactionSet transactionSet)
Returns an enumerated type where each value identifies an X12 transaction set.
|
X12Details |
withVersion(String version)
Returns the version to use for the specified X12 transaction set.
|
X12Details |
withVersion(X12Version version)
Returns the version to use for the specified X12 transaction set.
|
public void setTransactionSet(String transactionSet)
Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
transactionSet - Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are
maintained by the X12 Accredited Standards Committee.X12TransactionSetpublic String getTransactionSet()
Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
X12TransactionSetpublic X12Details withTransactionSet(String transactionSet)
Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
transactionSet - Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are
maintained by the X12 Accredited Standards Committee.X12TransactionSetpublic X12Details withTransactionSet(X12TransactionSet transactionSet)
Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
transactionSet - Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are
maintained by the X12 Accredited Standards Committee.X12TransactionSetpublic void setVersion(String version)
Returns the version to use for the specified X12 transaction set.
</p>
version - Returns the version to use for the specified X12 transaction set.
</p> @see X12Versionpublic String getVersion()
Returns the version to use for the specified X12 transaction set.
</p>
</p> @see X12Versionpublic X12Details withVersion(String version)
Returns the version to use for the specified X12 transaction set.
</p>
version - Returns the version to use for the specified X12 transaction set.
</p> @return Returns a reference to this object so that method calls can be chained
together. @see X12Versionpublic X12Details withVersion(X12Version version)
Returns the version to use for the specified X12 transaction set.
</p>
version - Returns the version to use for the specified X12 transaction set.
</p> @return Returns a reference to this object so that method calls can be chained
together. @see X12Versionpublic String toString()
toString in class ObjectObject.toString()public X12Details clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.