RedirectType Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.cdn.RedirectType

public final class RedirectType
extends com.microsoft.rest.ExpandableStringEnum<RedirectType>

Defines values for RedirectType.

Field Summary

Modifier and Type Field and Description
static final RedirectType FOUND

Static value Found for RedirectType.

static final RedirectType MOVED

Static value Moved for RedirectType.

static final RedirectType PERMANENT_REDIRECT

Static value PermanentRedirect for RedirectType.

static final RedirectType TEMPORARY_REDIRECT

Static value TemporaryRedirect for RedirectType.

Constructor Summary

Constructor Description
RedirectType()

Method Summary

Modifier and Type Method and Description
static RedirectType fromString(String name)

Creates or finds a RedirectType from its string representation.

static java.util.Collection<RedirectType> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

FOUND

public static final RedirectType FOUND

Static value Found for RedirectType.

MOVED

public static final RedirectType MOVED

Static value Moved for RedirectType.

PERMANENT_REDIRECT

public static final RedirectType PERMANENT_REDIRECT

Static value PermanentRedirect for RedirectType.

TEMPORARY_REDIRECT

public static final RedirectType TEMPORARY_REDIRECT

Static value TemporaryRedirect for RedirectType.

Constructor Details

RedirectType

public RedirectType()

Method Details

fromString

public static RedirectType fromString(String name)

Creates or finds a RedirectType from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding RedirectType

values

public static Collection values()

Returns:

known RedirectType values

Applies to