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)


6908
6909
6910
6911
6912
6913
6914
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6908

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)


6908
6909
6910
6911
6912
6913
6914
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6908

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)


6908
6909
6910
6911
6912
6913
6914
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6908

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