com.azure.resourcemanager.machinelearning.models.OperationTrigger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-machinelearning Show documentation
Show all versions of azure-resourcemanager-machinelearning Show documentation
This package contains Microsoft Azure SDK for Machine Learning Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. These APIs allow end users to operate on Azure Machine Learning Workspace resources. 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.machinelearning.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Trigger of operation.
*/
public final class OperationTrigger extends ExpandableStringEnum {
/**
* Static value User for OperationTrigger.
*/
public static final OperationTrigger USER = fromString("User");
/**
* Static value Schedule for OperationTrigger.
*/
public static final OperationTrigger SCHEDULE = fromString("Schedule");
/**
* Static value IdleShutdown for OperationTrigger.
*/
public static final OperationTrigger IDLE_SHUTDOWN = fromString("IdleShutdown");
/**
* Creates a new instance of OperationTrigger value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public OperationTrigger() {
}
/**
* Creates or finds a OperationTrigger from its string representation.
*
* @param name a name to look for.
* @return the corresponding OperationTrigger.
*/
public static OperationTrigger fromString(String name) {
return fromString(name, OperationTrigger.class);
}
/**
* Gets known OperationTrigger values.
*
* @return known OperationTrigger values.
*/
public static Collection values() {
return values(OperationTrigger.class);
}
}