com.azure.resourcemanager.costmanagement.models.DaysOfWeek Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-costmanagement Show documentation
Show all versions of azure-resourcemanager-costmanagement Show documentation
This package contains Microsoft Azure SDK for CostManagement Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. CostManagement management client provides access to CostManagement resources for Azure Enterprise Subscriptions. Package tag package-2022-10.
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.costmanagement.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/** Days of Week. */
public final class DaysOfWeek extends ExpandableStringEnum {
/** Static value Monday for DaysOfWeek. */
public static final DaysOfWeek MONDAY = fromString("Monday");
/** Static value Tuesday for DaysOfWeek. */
public static final DaysOfWeek TUESDAY = fromString("Tuesday");
/** Static value Wednesday for DaysOfWeek. */
public static final DaysOfWeek WEDNESDAY = fromString("Wednesday");
/** Static value Thursday for DaysOfWeek. */
public static final DaysOfWeek THURSDAY = fromString("Thursday");
/** Static value Friday for DaysOfWeek. */
public static final DaysOfWeek FRIDAY = fromString("Friday");
/** Static value Saturday for DaysOfWeek. */
public static final DaysOfWeek SATURDAY = fromString("Saturday");
/** Static value Sunday for DaysOfWeek. */
public static final DaysOfWeek SUNDAY = fromString("Sunday");
/**
* Creates a new instance of DaysOfWeek value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public DaysOfWeek() {
}
/**
* Creates or finds a DaysOfWeek from its string representation.
*
* @param name a name to look for.
* @return the corresponding DaysOfWeek.
*/
@JsonCreator
public static DaysOfWeek fromString(String name) {
return fromString(name, DaysOfWeek.class);
}
/**
* Gets known DaysOfWeek values.
*
* @return known DaysOfWeek values.
*/
public static Collection values() {
return values(DaysOfWeek.class);
}
}