Class: Aws::B2bi::Types::X12ElementLengthValidationRule

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#element_idString

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.

Returns:

  • (String)


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_lengthInteger

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.

Returns:

  • (Integer)


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_lengthInteger

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.

Returns:

  • (Integer)


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