public static enum InstanceAgentCommandSourceDetails.SourceType extends Enum<InstanceAgentCommandSourceDetails.SourceType>
The source type for the command. The following values are supported:
- `TEXT` - uses a plain text command that is specified inline with the request. - `OBJECT_STORAGE_URI` - imports a command from an Object Storage URL. - `OBJECT_STORAGE_TUPLE` - imports a command from an Object Storage bucket.
For background information about Object Storage buckets and URLs, see [Overview of Object Storage](https://docs.cloud.oracle.com/Content/Object/Concepts/objectstorageoverview.htm).
| Enum Constant and Description |
|---|
ObjectStorageTuple |
ObjectStorageUri |
Text |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this
version of the SDK.
|
| Modifier and Type | Method and Description |
|---|---|
static InstanceAgentCommandSourceDetails.SourceType |
create(String key) |
String |
getValue() |
static InstanceAgentCommandSourceDetails.SourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceAgentCommandSourceDetails.SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceAgentCommandSourceDetails.SourceType Text
public static final InstanceAgentCommandSourceDetails.SourceType ObjectStorageUri
public static final InstanceAgentCommandSourceDetails.SourceType ObjectStorageTuple
public static final InstanceAgentCommandSourceDetails.SourceType UnknownEnumValue
public static InstanceAgentCommandSourceDetails.SourceType[] values()
for (InstanceAgentCommandSourceDetails.SourceType c : InstanceAgentCommandSourceDetails.SourceType.values()) System.out.println(c);
public static InstanceAgentCommandSourceDetails.SourceType 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 getValue()
public static InstanceAgentCommandSourceDetails.SourceType create(String key)
Copyright © 2016–2021. All rights reserved.