@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.X12TransactionSet
public String getTransactionSet()
Returns an enumerated type where each value identifies an X12 transaction set. Transaction sets are maintained by the X12 Accredited Standards Committee.
X12TransactionSet
public 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.X12TransactionSet
public 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.X12TransactionSet
public 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 X12Version
public String getVersion()
Returns the version to use for the specified X12 transaction set.
</p>
</p>
@see X12Version
public 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 X12Version
public 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 X12Version
public String toString()
toString
in class Object
Object.toString()
public X12Details clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.