ComputeType Class

public final class ComputeType
extends ExpandableStringEnum<ComputeType>

Configure this property to support the search service using either the Default Compute or Azure Confidential Compute.

Field Summary

Modifier and Type Field and Description
static final ComputeType CONFIDENTIAL

Create the dedicated service with Azure Confidential Compute.

static final ComputeType DEFAULT

Create the service with the Default Compute.

Constructor Summary

Constructor Description
ComputeType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ComputeType value.

Method Summary

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

Creates or finds a ComputeType from its string representation.

static Collection<ComputeType> values()

Gets known ComputeType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONFIDENTIAL

public static final ComputeType CONFIDENTIAL

Create the dedicated service with Azure Confidential Compute.

DEFAULT

public static final ComputeType DEFAULT

Create the service with the Default Compute.

Constructor Details

ComputeType

@Deprecated
public ComputeType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ComputeType value.

Method Details

fromString

public static ComputeType fromString(String name)

Creates or finds a ComputeType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ComputeType.

values

public static Collection<ComputeType> values()

Gets known ComputeType values.

Returns:

known ComputeType values.

Applies to