public static enum AttachedDisk.PersistentDiskConfiguration.Mode extends Enum<AttachedDisk.PersistentDiskConfiguration.Mode>
Enum Constant and Description |
---|
READ_ONLY
The instance is only allowed to read the disk.
|
READ_WRITE
The instance can both read and write to the disk.
|
Modifier and Type | Method and Description |
---|---|
static AttachedDisk.PersistentDiskConfiguration.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttachedDisk.PersistentDiskConfiguration.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachedDisk.PersistentDiskConfiguration.Mode READ_WRITE
public static final AttachedDisk.PersistentDiskConfiguration.Mode READ_ONLY
public static AttachedDisk.PersistentDiskConfiguration.Mode[] values()
for (AttachedDisk.PersistentDiskConfiguration.Mode c : AttachedDisk.PersistentDiskConfiguration.Mode.values()) System.out.println(c);
public static AttachedDisk.PersistentDiskConfiguration.Mode 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 nullCopyright © 2019 Google LLC. All rights reserved.