DeleteOptions Class

public final class DeleteOptions
extends ExpandableStringEnum<DeleteOptions>

Specify what happens to the network interface when the VM is deleted.

Field Summary

Modifier and Type Field and Description
static final DeleteOptions DELETE

Static value Delete for DeleteOptions.

static final DeleteOptions DETACH

Static value Detach for DeleteOptions.

Constructor Summary

Constructor Description
DeleteOptions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DeleteOptions value.

Method Summary

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

Creates or finds a DeleteOptions from its string representation.

static Collection<DeleteOptions> values()

Gets known DeleteOptions values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DELETE

public static final DeleteOptions DELETE

Static value Delete for DeleteOptions.

DETACH

public static final DeleteOptions DETACH

Static value Detach for DeleteOptions.

Constructor Details

DeleteOptions

@Deprecated
public DeleteOptions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DeleteOptions value.

Method Details

fromString

public static DeleteOptions fromString(String name)

Creates or finds a DeleteOptions from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DeleteOptions.

values

public static Collection values()

Gets known DeleteOptions values.

Returns:

known DeleteOptions values.

Applies to