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

com.azure.resourcemanager.recoveryservicesbackup.models.UsagesUnit Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2024-04.

There is a newer version: 1.5.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.recoveryservicesbackup.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/**
 * Unit of the usage.
 */
public final class UsagesUnit extends ExpandableStringEnum {
    /**
     * Static value Count for UsagesUnit.
     */
    public static final UsagesUnit COUNT = fromString("Count");

    /**
     * Static value Bytes for UsagesUnit.
     */
    public static final UsagesUnit BYTES = fromString("Bytes");

    /**
     * Static value Seconds for UsagesUnit.
     */
    public static final UsagesUnit SECONDS = fromString("Seconds");

    /**
     * Static value Percent for UsagesUnit.
     */
    public static final UsagesUnit PERCENT = fromString("Percent");

    /**
     * Static value CountPerSecond for UsagesUnit.
     */
    public static final UsagesUnit COUNT_PER_SECOND = fromString("CountPerSecond");

    /**
     * Static value BytesPerSecond for UsagesUnit.
     */
    public static final UsagesUnit BYTES_PER_SECOND = fromString("BytesPerSecond");

    /**
     * Creates a new instance of UsagesUnit value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public UsagesUnit() {
    }

    /**
     * Creates or finds a UsagesUnit from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding UsagesUnit.
     */
    @JsonCreator
    public static UsagesUnit fromString(String name) {
        return fromString(name, UsagesUnit.class);
    }

    /**
     * Gets known UsagesUnit values.
     * 
     * @return known UsagesUnit values.
     */
    public static Collection values() {
        return values(UsagesUnit.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy