Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.containerinstance;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for Scheme.
/**
* Defines values for Scheme.
*/
public final class Scheme extends ExpandableStringEnum<Scheme> {
Static value http for Scheme. /** Static value http for Scheme. */
public static final Scheme HTTP = fromString("http");
Static value https for Scheme. /** Static value https for Scheme. */
public static final Scheme HTTPS = fromString("https");
Creates or finds a Scheme from its string representation.
Params: - name – a name to look for
Returns: the corresponding Scheme
/**
* Creates or finds a Scheme from its string representation.
* @param name a name to look for
* @return the corresponding Scheme
*/
@JsonCreator
public static Scheme fromString(String name) {
return fromString(name, Scheme.class);
}
Returns: known Scheme values
/**
* @return known Scheme values
*/
public static Collection<Scheme> values() {
return values(Scheme.class);
}
}