public static enum ExternalServiceAccessPolicyTarget.Protocol extends Enum<ExternalServiceAccessPolicyTarget.Protocol> implements BmcEnum
Protocol of the external service
Enum Constant and Description |
---|
Http |
Https |
Tcp |
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 ExternalServiceAccessPolicyTarget.Protocol |
create(String key) |
String |
getValue() |
static ExternalServiceAccessPolicyTarget.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExternalServiceAccessPolicyTarget.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalServiceAccessPolicyTarget.Protocol Http
public static final ExternalServiceAccessPolicyTarget.Protocol Https
public static final ExternalServiceAccessPolicyTarget.Protocol Tcp
public static final ExternalServiceAccessPolicyTarget.Protocol UnknownEnumValue
public static ExternalServiceAccessPolicyTarget.Protocol[] values()
for (ExternalServiceAccessPolicyTarget.Protocol c : ExternalServiceAccessPolicyTarget.Protocol.values()) System.out.println(c);
public static ExternalServiceAccessPolicyTarget.Protocol 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 ExternalServiceAccessPolicyTarget.Protocol create(String key)
Copyright © 2016–2024. All rights reserved.