![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.resourcemanager.automation.models.AutomationKeyName Maven / Gradle / Ivy
// 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;
/**
* Automation key name.
*/
public final class AutomationKeyName extends ExpandableStringEnum {
/**
* Static value Primary for AutomationKeyName.
*/
public static final AutomationKeyName PRIMARY = fromString("Primary");
/**
* Static value Secondary for AutomationKeyName.
*/
public static final AutomationKeyName SECONDARY = fromString("Secondary");
/**
* Creates a new instance of AutomationKeyName value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public AutomationKeyName() {
}
/**
* Creates or finds a AutomationKeyName from its string representation.
*
* @param name a name to look for.
* @return the corresponding AutomationKeyName.
*/
public static AutomationKeyName fromString(String name) {
return fromString(name, AutomationKeyName.class);
}
/**
* Gets known AutomationKeyName values.
*
* @return known AutomationKeyName values.
*/
public static Collection values() {
return values(AutomationKeyName.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy