Class: Aws::Polly::Types::Voice

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

Overview

Description of the voice.

Instance Attribute Summary collapse

Instance Attribute Details

#genderString

Gender of the voice.

Returns:

  • (String)


418
419
420
421
422
423
424
425
# File 'lib/aws-sdk-polly/types.rb', line 418

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name)
  include Aws::Structure
end

#idString

Amazon Polly assigned voice ID. This is the ID that you specify when calling the ‘SynthesizeSpeech` operation.

Returns:

  • (String)


418
419
420
421
422
423
424
425
# File 'lib/aws-sdk-polly/types.rb', line 418

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name)
  include Aws::Structure
end

#language_codeString

Language code of the voice.

Returns:

  • (String)


418
419
420
421
422
423
424
425
# File 'lib/aws-sdk-polly/types.rb', line 418

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name)
  include Aws::Structure
end

#language_nameString

Human readable name of the language in English.

Returns:

  • (String)


418
419
420
421
422
423
424
425
# File 'lib/aws-sdk-polly/types.rb', line 418

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name)
  include Aws::Structure
end

#nameString

Name of the voice (for example, Salli, Kendra, etc.). This provides a human readable voice name that you might display in your application.

Returns:

  • (String)


418
419
420
421
422
423
424
425
# File 'lib/aws-sdk-polly/types.rb', line 418

class Voice < Struct.new(
  :gender,
  :id,
  :language_code,
  :language_name,
  :name)
  include Aws::Structure
end