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

com.azure.resourcemanager.eventgrid.models.DataResidencyBoundary Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for EventGrid Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure EventGrid Management Client. Package tag package-2021-10-preview.

There is a newer version: 1.2.0-beta.7
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.eventgrid.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/**
 * Data Residency Boundary of the resource.
 */
public final class DataResidencyBoundary extends ExpandableStringEnum {
    /**
     * Static value WithinGeopair for DataResidencyBoundary.
     */
    public static final DataResidencyBoundary WITHIN_GEOPAIR = fromString("WithinGeopair");

    /**
     * Static value WithinRegion for DataResidencyBoundary.
     */
    public static final DataResidencyBoundary WITHIN_REGION = fromString("WithinRegion");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy