
com.azure.resourcemanager.frontdoor.models.FrontDoorProtocol 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.frontdoor.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Accepted protocol schemes.
*/
public final class FrontDoorProtocol extends ExpandableStringEnum {
/**
* Static value Http for FrontDoorProtocol.
*/
public static final FrontDoorProtocol HTTP = fromString("Http");
/**
* Static value Https for FrontDoorProtocol.
*/
public static final FrontDoorProtocol HTTPS = fromString("Https");
/**
* Creates a new instance of FrontDoorProtocol value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public FrontDoorProtocol() {
}
/**
* Creates or finds a FrontDoorProtocol from its string representation.
*
* @param name a name to look for.
* @return the corresponding FrontDoorProtocol.
*/
public static FrontDoorProtocol fromString(String name) {
return fromString(name, FrontDoorProtocol.class);
}
/**
* Gets known FrontDoorProtocol values.
*
* @return known FrontDoorProtocol values.
*/
public static Collection values() {
return values(FrontDoorProtocol.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy