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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpointsmsvoicev2/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)


6220
6221
6222
6223
6224
6225
6226
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6220

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)


6220
6221
6222
6223
6224
6225
6226
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6220

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)


6220
6221
6222
6223
6224
6225
6226
# File 'gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 6220

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