Interface CfnTransformer.X12ElementRequirementValidationRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransformer.X12ElementRequirementValidationRuleProperty.Jsii$Proxy
- Enclosing class:
CfnTransformer
@Stability(Stable)
public static interface CfnTransformer.X12ElementRequirementValidationRuleProperty
extends software.amazon.jsii.JsiiSerializable
Defines a validation rule that modifies the requirement status of a specific X12 element within a segment.
This rule allows you to make optional elements mandatory or mandatory elements optional, providing flexibility to accommodate different trading partner requirements and business rules. The rule targets a specific element position within a segment and sets its requirement status to either OPTIONAL or MANDATORY.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.b2bi.*; X12ElementRequirementValidationRuleProperty x12ElementRequirementValidationRuleProperty = X12ElementRequirementValidationRuleProperty.builder() .elementPosition("elementPosition") .requirement("requirement") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnTransformer.X12ElementRequirementValidationRuleProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Specifies the position of the element within an X12 segment for which the requirement status will be modified.Specifies the requirement status for the element at the specified position.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getElementPosition
Specifies the position of the element within an X12 segment for which the requirement status will be modified.The format follows the pattern of segment identifier followed by element position (e.g., "ST-01" for the first element of the ST segment).
- See Also:
-
getRequirement
Specifies the requirement status for the element at the specified position.Valid values are OPTIONAL (the element may be omitted) or MANDATORY (the element must be present).
- See Also:
-
builder
@Stability(Stable) static CfnTransformer.X12ElementRequirementValidationRuleProperty.Builder builder()
-