Partager via


AccessRights Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.eventhub.AccessRights

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

Defines values for AccessRights.

Field Summary

Modifier and Type Field and Description
static final AccessRights LISTEN

Static value Listen for AccessRights.

static final AccessRights MANAGE

Static value Manage for AccessRights.

static final AccessRights SEND

Static value Send for AccessRights.

Constructor Summary

Constructor Description
AccessRights()

Method Summary

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

Creates or finds a AccessRights from its string representation.

static java.util.Collection<AccessRights> 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

LISTEN

public static final AccessRights LISTEN

Static value Listen for AccessRights.

MANAGE

public static final AccessRights MANAGE

Static value Manage for AccessRights.

SEND

public static final AccessRights SEND

Static value Send for AccessRights.

Constructor Details

AccessRights

public AccessRights()

Method Details

fromString

public static AccessRights fromString(String name)

Creates or finds a AccessRights from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding AccessRights

values

public static Collection values()

Returns:

known AccessRights values

Applies to