All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.security.models.AnnotateDefaultBranchState Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for Security Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-composite-v3.

There is a newer version: 1.0.0
Show 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.security.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Configuration of PR Annotations on default branch.
 * 
 * Enabled - PR Annotations are enabled on the resource's default branch.
 * Disabled - PR Annotations are disabled on the resource's default branch.
 */
public final class AnnotateDefaultBranchState extends ExpandableStringEnum {
    /**
     * Static value Disabled for AnnotateDefaultBranchState.
     */
    public static final AnnotateDefaultBranchState DISABLED = fromString("Disabled");

    /**
     * Static value Enabled for AnnotateDefaultBranchState.
     */
    public static final AnnotateDefaultBranchState ENABLED = fromString("Enabled");

    /**
     * Creates a new instance of AnnotateDefaultBranchState value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public AnnotateDefaultBranchState() {
    }

    /**
     * Creates or finds a AnnotateDefaultBranchState from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding AnnotateDefaultBranchState.
     */
    public static AnnotateDefaultBranchState fromString(String name) {
        return fromString(name, AnnotateDefaultBranchState.class);
    }

    /**
     * Gets known AnnotateDefaultBranchState values.
     * 
     * @return known AnnotateDefaultBranchState values.
     */
    public static Collection values() {
        return values(AnnotateDefaultBranchState.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy