com.azure.resourcemanager.storage.models.Schedule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-storage Show documentation
Show all versions of azure-resourcemanager-storage Show documentation
This package contains Microsoft Azure Storage Management SDK.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.storage.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/**
* This is a required field. This field is used to schedule an inventory formation.
*/
public final class Schedule extends ExpandableStringEnum {
/**
* Static value Daily for Schedule.
*/
public static final Schedule DAILY = fromString("Daily");
/**
* Static value Weekly for Schedule.
*/
public static final Schedule WEEKLY = fromString("Weekly");
/**
* Creates a new instance of Schedule value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public Schedule() {
}
/**
* Creates or finds a Schedule from its string representation.
*
* @param name a name to look for.
* @return the corresponding Schedule.
*/
@JsonCreator
public static Schedule fromString(String name) {
return fromString(name, Schedule.class);
}
/**
* Gets known Schedule values.
*
* @return known Schedule values.
*/
public static Collection values() {
return values(Schedule.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy