Freigeben über


ContainerGroupPriority Class

public final class ContainerGroupPriority
extends ExpandableStringEnum<ContainerGroupPriority>

The priority of the container group.

Field Summary

Modifier and Type Field and Description
static final ContainerGroupPriority REGULAR

Static value Regular for ContainerGroupPriority.

static final ContainerGroupPriority SPOT

Static value Spot for ContainerGroupPriority.

Constructor Summary

Constructor Description
ContainerGroupPriority()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ContainerGroupPriority value.

Method Summary

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

Creates or finds a ContainerGroupPriority from its string representation.

static Collection<ContainerGroupPriority> values()

Gets known ContainerGroupPriority values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

REGULAR

public static final ContainerGroupPriority REGULAR

Static value Regular for ContainerGroupPriority.

SPOT

public static final ContainerGroupPriority SPOT

Static value Spot for ContainerGroupPriority.

Constructor Details

ContainerGroupPriority

@Deprecated
public ContainerGroupPriority()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ContainerGroupPriority value.

Method Details

fromString

public static ContainerGroupPriority fromString(String name)

Creates or finds a ContainerGroupPriority from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ContainerGroupPriority.

values

public static Collection values()

Gets known ContainerGroupPriority values.

Returns:

known ContainerGroupPriority values.

Applies to