Architecture Class

public final class Architecture
extends ExpandableStringEnum<Architecture>

The architecture of the image. Applicable to OS disks only.

Field Summary

Modifier and Type Field and Description
static final Architecture ARM64

Static value Arm64 for Architecture.

static final Architecture X64

Static value x64 for Architecture.

Constructor Summary

Constructor Description
Architecture()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Architecture value.

Method Summary

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

Creates or finds a Architecture from its string representation.

static Collection<Architecture> values()

Gets known Architecture values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ARM64

public static final Architecture ARM64

Static value Arm64 for Architecture.

X64

public static final Architecture X64

Static value x64 for Architecture.

Constructor Details

Architecture

@Deprecated
public Architecture()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Architecture value.

Method Details

fromString

public static Architecture fromString(String name)

Creates or finds a Architecture from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Architecture.

values

public static Collection values()

Gets known Architecture values.

Returns:

known Architecture values.

Applies to