Class: Aws::B2bi::Types::X12ElementLengthValidationRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::B2bi::Types::X12ElementLengthValidationRule
- Defined in:
- gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb
Overview
Defines a validation rule that specifies custom length constraints for a specific X12 element. This rule allows you to override the standard minimum and maximum length requirements for an element, enabling validation of trading partner-specific length requirements that may differ from the X12 specification. Both minimum and maximum length values must be specified and must be between 1 and 200 characters.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#element_id ⇒ String
Specifies the four-digit element ID to which the length constraints will be applied.
-
#max_length ⇒ Integer
Specifies the maximum allowed length for the identified element.
-
#min_length ⇒ Integer
Specifies the minimum required length for the identified element.
Instance Attribute Details
#element_id ⇒ String
Specifies the four-digit element ID to which the length constraints will be applied. This identifies which X12 element will have its length requirements modified.
3033 3034 3035 3036 3037 3038 3039 |
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb', line 3033 class X12ElementLengthValidationRule < Struct.new( :element_id, :max_length, :min_length) SENSITIVE = [] include Aws::Structure end |
#max_length ⇒ Integer
Specifies the maximum allowed length for the identified element. This value must be between 1 and 200 characters and defines the upper limit for the element's content length.
3033 3034 3035 3036 3037 3038 3039 |
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb', line 3033 class X12ElementLengthValidationRule < Struct.new( :element_id, :max_length, :min_length) SENSITIVE = [] include Aws::Structure end |
#min_length ⇒ Integer
Specifies the minimum required length for the identified element. This value must be between 1 and 200 characters and defines the lower limit for the element's content length.
3033 3034 3035 3036 3037 3038 3039 |
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb', line 3033 class X12ElementLengthValidationRule < Struct.new( :element_id, :max_length, :min_length) SENSITIVE = [] include Aws::Structure end |