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.cdn;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for HttpsRedirect.
/**
* Defines values for HttpsRedirect.
*/
public final class HttpsRedirect extends ExpandableStringEnum<HttpsRedirect> {
Static value Enabled for HttpsRedirect. /** Static value Enabled for HttpsRedirect. */
public static final HttpsRedirect ENABLED = fromString("Enabled");
Static value Disabled for HttpsRedirect. /** Static value Disabled for HttpsRedirect. */
public static final HttpsRedirect DISABLED = fromString("Disabled");
Creates or finds a HttpsRedirect from its string representation.
Params: - name – a name to look for
Returns: the corresponding HttpsRedirect
/**
* Creates or finds a HttpsRedirect from its string representation.
* @param name a name to look for
* @return the corresponding HttpsRedirect
*/
@JsonCreator
public static HttpsRedirect fromString(String name) {
return fromString(name, HttpsRedirect.class);
}
Returns: known HttpsRedirect values
/**
* @return known HttpsRedirect values
*/
public static Collection<HttpsRedirect> values() {
return values(HttpsRedirect.class);
}
}