Class EdiType
- java.lang.Object
-
- software.amazon.awssdk.services.b2bi.model.EdiType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EdiType.Builder,EdiType>
@Generated("software.amazon.awssdk:codegen") public final class EdiType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EdiType.Builder,EdiType>
Specifies the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEdiType.Builderstatic classEdiType.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EdiType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static EdiTypefromX12Details(Consumer<X12Details.Builder> x12Details)Create an instance of this class withx12Details()initialized to the given value.static EdiTypefromX12Details(X12Details x12Details)Create an instance of this class withx12Details()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends EdiType.Builder>serializableBuilderClass()EdiType.BuildertoBuilder()StringtoString()Returns a string representation of this object.EdiType.Typetype()Retrieve an enum value representing which member of this object is populated.X12Detailsx12Details()Returns the details for the EDI standard that is being used for the transformer.-
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
-
x12Details
public final X12Details x12Details()
Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
- Returns:
- Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
-
toBuilder
public EdiType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EdiType.Builder,EdiType>
-
builder
public static EdiType.Builder builder()
-
serializableBuilderClass
public static Class<? extends EdiType.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.
-
fromX12Details
public static EdiType fromX12Details(X12Details x12Details)
Create an instance of this class withx12Details()initialized to the given value.Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
- Parameters:
x12Details- Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
-
fromX12Details
public static EdiType fromX12Details(Consumer<X12Details.Builder> x12Details)
Create an instance of this class withx12Details()initialized to the given value.Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
- Parameters:
x12Details- Returns the details for the EDI standard that is being used for the transformer. Currently, only X12 is supported. X12 is a set of standards and corresponding messages that define specific business documents.
-
type
public EdiType.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beEdiType.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beEdiType.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-