Share via


BatchNodePlacementPolicyType Class

public final class BatchNodePlacementPolicyType
extends ExpandableStringEnum<BatchNodePlacementPolicyType>

BatchNodePlacementPolicyType enums.

Field Summary

Modifier and Type Field and Description
static final BatchNodePlacementPolicyType REGIONAL

All nodes in the pool will be allocated in the same region.

static final BatchNodePlacementPolicyType ZONAL

Nodes in the pool will be spread across different availability zones with best effort balancing.

Constructor Summary

Constructor Description
BatchNodePlacementPolicyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchNodePlacementPolicyType value.

Method Summary

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

Creates or finds a BatchNodePlacementPolicyType from its string representation.

static Collection<BatchNodePlacementPolicyType> values()

Gets known BatchNodePlacementPolicyType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

REGIONAL

public static final BatchNodePlacementPolicyType REGIONAL

All nodes in the pool will be allocated in the same region.

ZONAL

public static final BatchNodePlacementPolicyType ZONAL

Nodes in the pool will be spread across different availability zones with best effort balancing.

Constructor Details

BatchNodePlacementPolicyType

@Deprecated
public BatchNodePlacementPolicyType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BatchNodePlacementPolicyType value.

Method Details

fromString

public static BatchNodePlacementPolicyType fromString(String name)

Creates or finds a BatchNodePlacementPolicyType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BatchNodePlacementPolicyType.

values

public static Collection<BatchNodePlacementPolicyType> values()

Gets known BatchNodePlacementPolicyType values.

Returns:

known BatchNodePlacementPolicyType values.

Applies to