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