com.azure.resourcemanager.automation.models.ScheduleDay Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-automation Show documentation
Show all versions of azure-resourcemanager-automation Show documentation
This package contains Microsoft Azure SDK for Automation Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Automation Client. Package tag package-2022-02-22.
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.automation.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Day of the occurrence. Must be one of monday, tuesday, wednesday, thursday, friday, saturday, sunday.
*/
public final class ScheduleDay extends ExpandableStringEnum {
/**
* Static value Monday for ScheduleDay.
*/
public static final ScheduleDay MONDAY = fromString("Monday");
/**
* Static value Tuesday for ScheduleDay.
*/
public static final ScheduleDay TUESDAY = fromString("Tuesday");
/**
* Static value Wednesday for ScheduleDay.
*/
public static final ScheduleDay WEDNESDAY = fromString("Wednesday");
/**
* Static value Thursday for ScheduleDay.
*/
public static final ScheduleDay THURSDAY = fromString("Thursday");
/**
* Static value Friday for ScheduleDay.
*/
public static final ScheduleDay FRIDAY = fromString("Friday");
/**
* Static value Saturday for ScheduleDay.
*/
public static final ScheduleDay SATURDAY = fromString("Saturday");
/**
* Static value Sunday for ScheduleDay.
*/
public static final ScheduleDay SUNDAY = fromString("Sunday");
/**
* Creates a new instance of ScheduleDay value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ScheduleDay() {
}
/**
* Creates or finds a ScheduleDay from its string representation.
*
* @param name a name to look for.
* @return the corresponding ScheduleDay.
*/
public static ScheduleDay fromString(String name) {
return fromString(name, ScheduleDay.class);
}
/**
* Gets known ScheduleDay values.
*
* @return known ScheduleDay values.
*/
public static Collection values() {
return values(ScheduleDay.class);
}
}