com.azure.resourcemanager.dataprotection.models.WeekNumber Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-dataprotection Show documentation
Show all versions of azure-resourcemanager-dataprotection Show documentation
This package contains Microsoft Azure SDK for DataProtection 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 Data Protection service. Package tag package-2024-04.
The 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.dataprotection.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Defines values for WeekNumber.
*/
public final class WeekNumber extends ExpandableStringEnum {
/**
* Static value First for WeekNumber.
*/
public static final WeekNumber FIRST = fromString("First");
/**
* Static value Fourth for WeekNumber.
*/
public static final WeekNumber FOURTH = fromString("Fourth");
/**
* Static value Last for WeekNumber.
*/
public static final WeekNumber LAST = fromString("Last");
/**
* Static value Second for WeekNumber.
*/
public static final WeekNumber SECOND = fromString("Second");
/**
* Static value Third for WeekNumber.
*/
public static final WeekNumber THIRD = fromString("Third");
/**
* Creates a new instance of WeekNumber value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public WeekNumber() {
}
/**
* Creates or finds a WeekNumber from its string representation.
*
* @param name a name to look for.
* @return the corresponding WeekNumber.
*/
public static WeekNumber fromString(String name) {
return fromString(name, WeekNumber.class);
}
/**
* Gets known WeekNumber values.
*
* @return known WeekNumber values.
*/
public static Collection values() {
return values(WeekNumber.class);
}
}