Sdílet prostřednictvím


TlsVersion Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.redis.TlsVersion

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

Defines values for TlsVersion.

Field Summary

Modifier and Type Field and Description
static final TlsVersion ONE_FULL_STOP_ONE

Static value 1.1 for TlsVersion.

static final TlsVersion ONE_FULL_STOP_TWO

Static value 1.2 for TlsVersion.

static final TlsVersion ONE_FULL_STOP_ZERO

Static value 1.0 for TlsVersion.

Constructor Summary

Constructor Description
TlsVersion()

Method Summary

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

Creates or finds a TlsVersion from its string representation.

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

ONE_FULL_STOP_ONE

public static final TlsVersion ONE_FULL_STOP_ONE

Static value 1.1 for TlsVersion.

ONE_FULL_STOP_TWO

public static final TlsVersion ONE_FULL_STOP_TWO

Static value 1.2 for TlsVersion.

ONE_FULL_STOP_ZERO

public static final TlsVersion ONE_FULL_STOP_ZERO

Static value 1.0 for TlsVersion.

Constructor Details

TlsVersion

public TlsVersion()

Method Details

fromString

public static TlsVersion fromString(String name)

Creates or finds a TlsVersion from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding TlsVersion

values

public static Collection values()

Returns:

known TlsVersion values

Applies to