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

com.microsoft.graph.beta.generated.models.KeySize Maven / Gradle / Ivy

There is a newer version: 6.26.0
Show newest version
package com.microsoft.graph.beta.models;

import com.microsoft.kiota.serialization.ValuedEnum;
import java.util.Objects;

/**
 * Key Size Options.
 */
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum KeySize implements ValuedEnum {
    /** 1024 Bits. */
    Size1024("size1024"),
    /** 2048 Bits. */
    Size2048("size2048"),
    /** 4096 Bits. */
    Size4096("size4096");
    public final String value;
    KeySize(final String value) {
        this.value = value;
    }
    @jakarta.annotation.Nonnull
    public String getValue() { return this.value; }
    @jakarta.annotation.Nullable
    public static KeySize forValue(@jakarta.annotation.Nonnull final String searchValue) {
        Objects.requireNonNull(searchValue);
        switch(searchValue) {
            case "size1024": return Size1024;
            case "size2048": return Size2048;
            case "size4096": return Size4096;
            default: return null;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy