@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public enum ConnectionResult extends Enum<ConnectionResult>
Result from connection test and validation. SUCCEEDED - The connection is valid and tested successfully. FAILED - The connection validation failed. This could be due to incorrect or insufficient credentials or invalid connection metadata.
| Enum Constant and Description |
|---|
Failed |
Succeeded |
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 ConnectionResult |
create(String key) |
String |
getValue() |
static ConnectionResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionResult Succeeded
public static final ConnectionResult Failed
public static final ConnectionResult UnknownEnumValue
public static ConnectionResult[] values()
for (ConnectionResult c : ConnectionResult.values()) System.out.println(c);
public static ConnectionResult 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 ConnectionResult create(String key)
Copyright © 2016–2021. All rights reserved.