MinimumTlsVersion Class

public final class MinimumTlsVersion
extends ExpandableStringEnum<MinimumTlsVersion>

Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.

Field Summary

Modifier and Type Field and Description
static final MinimumTlsVersion TLS1_0

Static value TLS1_0 for MinimumTlsVersion.

static final MinimumTlsVersion TLS1_1

Static value TLS1_1 for MinimumTlsVersion.

static final MinimumTlsVersion TLS1_2

Static value TLS1_2 for MinimumTlsVersion.

static final MinimumTlsVersion TLS1_3

Static value TLS1_3 for MinimumTlsVersion.

Constructor Summary

Constructor Description
MinimumTlsVersion()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MinimumTlsVersion value.

Method Summary

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

Creates or finds a MinimumTlsVersion from its string representation.

static Collection<MinimumTlsVersion> values()

Gets known MinimumTlsVersion values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

TLS1_0

public static final MinimumTlsVersion TLS1_0

Static value TLS1_0 for MinimumTlsVersion.

TLS1_1

public static final MinimumTlsVersion TLS1_1

Static value TLS1_1 for MinimumTlsVersion.

TLS1_2

public static final MinimumTlsVersion TLS1_2

Static value TLS1_2 for MinimumTlsVersion.

TLS1_3

public static final MinimumTlsVersion TLS1_3

Static value TLS1_3 for MinimumTlsVersion.

Constructor Details

MinimumTlsVersion

@Deprecated
public MinimumTlsVersion()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MinimumTlsVersion value.

Method Details

fromString

public static MinimumTlsVersion fromString(String name)

Creates or finds a MinimumTlsVersion from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding MinimumTlsVersion.

values

public static Collection values()

Gets known MinimumTlsVersion values.

Returns:

known MinimumTlsVersion values.

Applies to