Поделиться через


UpstreamAuthType Class

public final class UpstreamAuthType
extends ExpandableStringEnum<UpstreamAuthType>

Upstream auth type enum.

Field Summary

Modifier and Type Field and Description
static final UpstreamAuthType MANAGED_IDENTITY

Static value ManagedIdentity for UpstreamAuthType.

static final UpstreamAuthType NONE

Static value None for UpstreamAuthType.

Constructor Summary

Constructor Description
UpstreamAuthType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpstreamAuthType value.

Method Summary

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

Creates or finds a UpstreamAuthType from its string representation.

static Collection<UpstreamAuthType> values()

Gets known UpstreamAuthType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MANAGED_IDENTITY

public static final UpstreamAuthType MANAGED_IDENTITY

Static value ManagedIdentity for UpstreamAuthType.

NONE

public static final UpstreamAuthType NONE

Static value None for UpstreamAuthType.

Constructor Details

UpstreamAuthType

@Deprecated
public UpstreamAuthType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UpstreamAuthType value.

Method Details

fromString

public static UpstreamAuthType fromString(String name)

Creates or finds a UpstreamAuthType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding UpstreamAuthType.

values

public static Collection<UpstreamAuthType> values()

Gets known UpstreamAuthType values.

Returns:

known UpstreamAuthType values.

Applies to