public static enum ImageDetails.Source extends Enum<ImageDetails.Source> implements BmcEnum
The location of the image data. The allowed values are: - INLINE
: The data is
included directly in the request payload. - OBJECT_STORAGE
: The image is in OCI
Object Storage.
Enum Constant and Description |
---|
Inline |
ObjectStorage |
Modifier and Type | Method and Description |
---|---|
static ImageDetails.Source |
create(String key) |
String |
getValue() |
static ImageDetails.Source |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageDetails.Source[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageDetails.Source Inline
public static final ImageDetails.Source ObjectStorage
public static ImageDetails.Source[] values()
for (ImageDetails.Source c : ImageDetails.Source.values()) System.out.println(c);
public static ImageDetails.Source 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 static ImageDetails.Source create(String key)
Copyright © 2016–2024. All rights reserved.