public enum GcpMachineType extends Enum<GcpMachineType> implements ISpotInstanceTypeEnum
Enum Constant and Description |
---|
F1Micro |
G1Small |
N1Highcpu16 |
N1Highcpu2 |
N1Highcpu32 |
N1Highcpu4 |
N1Highcpu8 |
N1Highmem16 |
N1Highmem2 |
N1Highmem32 |
N1Highmem4 |
N1Highmem8 |
N1Standard1 |
N1Standard16 |
N1Standard2 |
N1Standard32 |
N1Standard4 |
N1Standard8 |
Modifier and Type | Method and Description |
---|---|
static GcpMachineType |
fromValue(String value) |
Integer |
getExecutors() |
String |
getName() |
String |
toString() |
static GcpMachineType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GcpMachineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GcpMachineType N1Standard1
public static final GcpMachineType N1Standard2
public static final GcpMachineType N1Standard4
public static final GcpMachineType N1Standard8
public static final GcpMachineType N1Standard16
public static final GcpMachineType N1Standard32
public static final GcpMachineType N1Highmem2
public static final GcpMachineType N1Highmem4
public static final GcpMachineType N1Highmem8
public static final GcpMachineType N1Highmem16
public static final GcpMachineType N1Highmem32
public static final GcpMachineType N1Highcpu2
public static final GcpMachineType N1Highcpu4
public static final GcpMachineType N1Highcpu8
public static final GcpMachineType N1Highcpu16
public static final GcpMachineType N1Highcpu32
public static final GcpMachineType F1Micro
public static final GcpMachineType G1Small
public static GcpMachineType[] values()
for (GcpMachineType c : GcpMachineType.values()) System.out.println(c);
public static GcpMachineType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<GcpMachineType>
public String getName()
public Integer getExecutors()
getExecutors
in interface ISpotInstanceTypeEnum
public static GcpMachineType fromValue(String value)
Copyright © 2016–2024. All rights reserved.