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