com.amazonaws.services.polly.model.VoiceId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-polly Show documentation
Show all versions of aws-java-sdk-polly Show documentation
The AWS Java SDK for Amazon Polly module holds the client classes that are used for communicating with Amazon Polly.
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.polly.model;
import javax.annotation.Generated;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public enum VoiceId {
Aditi("Aditi"),
Amy("Amy"),
Astrid("Astrid"),
Bianca("Bianca"),
Brian("Brian"),
Camila("Camila"),
Carla("Carla"),
Carmen("Carmen"),
Celine("Celine"),
Chantal("Chantal"),
Conchita("Conchita"),
Cristiano("Cristiano"),
Dora("Dora"),
Emma("Emma"),
Enrique("Enrique"),
Ewa("Ewa"),
Filiz("Filiz"),
Gabrielle("Gabrielle"),
Geraint("Geraint"),
Giorgio("Giorgio"),
Gwyneth("Gwyneth"),
Hans("Hans"),
Ines("Ines"),
Ivy("Ivy"),
Jacek("Jacek"),
Jan("Jan"),
Joanna("Joanna"),
Joey("Joey"),
Justin("Justin"),
Karl("Karl"),
Kendra("Kendra"),
Kevin("Kevin"),
Kimberly("Kimberly"),
Lea("Lea"),
Liv("Liv"),
Lotte("Lotte"),
Lucia("Lucia"),
Lupe("Lupe"),
Mads("Mads"),
Maja("Maja"),
Marlene("Marlene"),
Mathieu("Mathieu"),
Matthew("Matthew"),
Maxim("Maxim"),
Mia("Mia"),
Miguel("Miguel"),
Mizuki("Mizuki"),
Naja("Naja"),
Nicole("Nicole"),
Olivia("Olivia"),
Penelope("Penelope"),
Raveena("Raveena"),
Ricardo("Ricardo"),
Ruben("Ruben"),
Russell("Russell"),
Salli("Salli"),
Seoyeon("Seoyeon"),
Takumi("Takumi"),
Tatyana("Tatyana"),
Vicki("Vicki"),
Vitoria("Vitoria"),
Zeina("Zeina"),
Zhiyu("Zhiyu"),
Aria("Aria"),
Ayanda("Ayanda"),
Arlet("Arlet"),
Hannah("Hannah"),
Arthur("Arthur"),
Daniel("Daniel"),
Liam("Liam"),
Pedro("Pedro"),
Kajal("Kajal"),
Hiujin("Hiujin"),
Laura("Laura"),
Elin("Elin"),
Ida("Ida"),
Suvi("Suvi"),
Ola("Ola"),
Hala("Hala"),
Andres("Andres"),
Sergio("Sergio"),
Remi("Remi"),
Adriano("Adriano"),
Thiago("Thiago"),
Ruth("Ruth"),
Stephen("Stephen"),
Kazuha("Kazuha"),
Tomoko("Tomoko"),
Niamh("Niamh"),
Sofie("Sofie"),
Lisa("Lisa"),
Isabelle("Isabelle"),
Zayd("Zayd"),
Danielle("Danielle"),
Gregory("Gregory"),
Burcu("Burcu");
private String value;
private VoiceId(String value) {
this.value = value;
}
@Override
public String toString() {
return this.value;
}
/**
* Use this in place of valueOf.
*
* @param value
* real value
* @return VoiceId corresponding to the value
*
* @throws IllegalArgumentException
* If the specified value does not map to one of the known values in this enum.
*/
public static VoiceId fromValue(String value) {
if (value == null || "".equals(value)) {
throw new IllegalArgumentException("Value cannot be null or empty!");
}
for (VoiceId enumEntry : VoiceId.values()) {
if (enumEntry.toString().equals(value)) {
return enumEntry;
}
}
throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
}
}