All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.mediaconvert.model.LanguageCode Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Elemental MediaConvert module holds the client classes that are used for communicating with AWS Elemental MediaConvert Service

There is a newer version: 2.29.15
Show newest version
/*
 * Copyright 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 software.amazon.awssdk.services.mediaconvert.model;

import java.util.EnumSet;
import java.util.Map;
import java.util.Set;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.utils.internal.EnumUtils;

/**
 * Specify the language, using the ISO 639-2 three-letter code listed at
 * https://www.loc.gov/standards/iso639-2/php/code_list.php.
 */
@Generated("software.amazon.awssdk:codegen")
public enum LanguageCode {
    ENG("ENG"),

    SPA("SPA"),

    FRA("FRA"),

    DEU("DEU"),

    GER("GER"),

    ZHO("ZHO"),

    ARA("ARA"),

    HIN("HIN"),

    JPN("JPN"),

    RUS("RUS"),

    POR("POR"),

    ITA("ITA"),

    URD("URD"),

    VIE("VIE"),

    KOR("KOR"),

    PAN("PAN"),

    ABK("ABK"),

    AAR("AAR"),

    AFR("AFR"),

    AKA("AKA"),

    SQI("SQI"),

    AMH("AMH"),

    ARG("ARG"),

    HYE("HYE"),

    ASM("ASM"),

    AVA("AVA"),

    AVE("AVE"),

    AYM("AYM"),

    AZE("AZE"),

    BAM("BAM"),

    BAK("BAK"),

    EUS("EUS"),

    BEL("BEL"),

    BEN("BEN"),

    BIH("BIH"),

    BIS("BIS"),

    BOS("BOS"),

    BRE("BRE"),

    BUL("BUL"),

    MYA("MYA"),

    CAT("CAT"),

    KHM("KHM"),

    CHA("CHA"),

    CHE("CHE"),

    NYA("NYA"),

    CHU("CHU"),

    CHV("CHV"),

    COR("COR"),

    COS("COS"),

    CRE("CRE"),

    HRV("HRV"),

    CES("CES"),

    DAN("DAN"),

    DIV("DIV"),

    NLD("NLD"),

    DZO("DZO"),

    ENM("ENM"),

    EPO("EPO"),

    EST("EST"),

    EWE("EWE"),

    FAO("FAO"),

    FIJ("FIJ"),

    FIN("FIN"),

    FRM("FRM"),

    FUL("FUL"),

    GLA("GLA"),

    GLG("GLG"),

    LUG("LUG"),

    KAT("KAT"),

    ELL("ELL"),

    GRN("GRN"),

    GUJ("GUJ"),

    HAT("HAT"),

    HAU("HAU"),

    HEB("HEB"),

    HER("HER"),

    HMO("HMO"),

    HUN("HUN"),

    ISL("ISL"),

    IDO("IDO"),

    IBO("IBO"),

    IND("IND"),

    INA("INA"),

    ILE("ILE"),

    IKU("IKU"),

    IPK("IPK"),

    GLE("GLE"),

    JAV("JAV"),

    KAL("KAL"),

    KAN("KAN"),

    KAU("KAU"),

    KAS("KAS"),

    KAZ("KAZ"),

    KIK("KIK"),

    KIN("KIN"),

    KIR("KIR"),

    KOM("KOM"),

    KON("KON"),

    KUA("KUA"),

    KUR("KUR"),

    LAO("LAO"),

    LAT("LAT"),

    LAV("LAV"),

    LIM("LIM"),

    LIN("LIN"),

    LIT("LIT"),

    LUB("LUB"),

    LTZ("LTZ"),

    MKD("MKD"),

    MLG("MLG"),

    MSA("MSA"),

    MAL("MAL"),

    MLT("MLT"),

    GLV("GLV"),

    MRI("MRI"),

    MAR("MAR"),

    MAH("MAH"),

    MON("MON"),

    NAU("NAU"),

    NAV("NAV"),

    NDE("NDE"),

    NBL("NBL"),

    NDO("NDO"),

    NEP("NEP"),

    SME("SME"),

    NOR("NOR"),

    NOB("NOB"),

    NNO("NNO"),

    OCI("OCI"),

    OJI("OJI"),

    ORI("ORI"),

    ORM("ORM"),

    OSS("OSS"),

    PLI("PLI"),

    FAS("FAS"),

    POL("POL"),

    PUS("PUS"),

    QUE("QUE"),

    QAA("QAA"),

    RON("RON"),

    ROH("ROH"),

    RUN("RUN"),

    SMO("SMO"),

    SAG("SAG"),

    SAN("SAN"),

    SRD("SRD"),

    SRB("SRB"),

    SNA("SNA"),

    III("III"),

    SND("SND"),

    SIN("SIN"),

    SLK("SLK"),

    SLV("SLV"),

    SOM("SOM"),

    SOT("SOT"),

    SUN("SUN"),

    SWA("SWA"),

    SSW("SSW"),

    SWE("SWE"),

    TGL("TGL"),

    TAH("TAH"),

    TGK("TGK"),

    TAM("TAM"),

    TAT("TAT"),

    TEL("TEL"),

    THA("THA"),

    BOD("BOD"),

    TIR("TIR"),

    TON("TON"),

    TSO("TSO"),

    TSN("TSN"),

    TUR("TUR"),

    TUK("TUK"),

    TWI("TWI"),

    UIG("UIG"),

    UKR("UKR"),

    UZB("UZB"),

    VEN("VEN"),

    VOL("VOL"),

    WLN("WLN"),

    CYM("CYM"),

    FRY("FRY"),

    WOL("WOL"),

    XHO("XHO"),

    YID("YID"),

    YOR("YOR"),

    ZHA("ZHA"),

    ZUL("ZUL"),

    ORJ("ORJ"),

    QPC("QPC"),

    TNG("TNG"),

    SRP("SRP"),

    UNKNOWN_TO_SDK_VERSION(null);

    private static final Map VALUE_MAP = EnumUtils.uniqueIndex(LanguageCode.class, LanguageCode::toString);

    private final String value;

    private LanguageCode(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return String.valueOf(value);
    }

    /**
     * Use this in place of valueOf to convert the raw string returned by the service into the enum value.
     *
     * @param value
     *        real value
     * @return LanguageCode corresponding to the value
     */
    public static LanguageCode fromValue(String value) {
        if (value == null) {
            return null;
        }
        return VALUE_MAP.getOrDefault(value, UNKNOWN_TO_SDK_VERSION);
    }

    /**
     * Use this in place of {@link #values()} to return a {@link Set} of all values known to the SDK. This will return
     * all known enum values except {@link #UNKNOWN_TO_SDK_VERSION}.
     *
     * @return a {@link Set} of known {@link LanguageCode}s
     */
    public static Set knownValues() {
        Set knownValues = EnumSet.allOf(LanguageCode.class);
        knownValues.remove(UNKNOWN_TO_SDK_VERSION);
        return knownValues;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy