Class: Aws::PinpointSMSVoiceV2::Types::TextValidation

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpointsmsvoicev2/types.rb

Overview

Validation rules for a text field.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_lengthInteger

The maximum number of characters for the text field.

Returns:

  • (Integer)


6493
6494
6495
6496
6497
6498
6499
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6493

class TextValidation < Struct.new(
  :min_length,
  :max_length,
  :pattern)
  SENSITIVE = []
  include Aws::Structure
end

#min_lengthInteger

The minimum number of characters for the text field.

Returns:

  • (Integer)


6493
6494
6495
6496
6497
6498
6499
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6493

class TextValidation < Struct.new(
  :min_length,
  :max_length,
  :pattern)
  SENSITIVE = []
  include Aws::Structure
end

#patternString

The regular expression used to validate the text field.

Returns:

  • (String)


6493
6494
6495
6496
6497
6498
6499
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6493

class TextValidation < Struct.new(
  :min_length,
  :max_length,
  :pattern)
  SENSITIVE = []
  include Aws::Structure
end