Package com.oracle.bmc.servicemesh.model
Enum AccessPolicyTargetDetails.Type
- java.lang.Object
-
- java.lang.Enum<AccessPolicyTargetDetails.Type>
-
- com.oracle.bmc.servicemesh.model.AccessPolicyTargetDetails.Type
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<AccessPolicyTargetDetails.Type>
- Enclosing class:
- AccessPolicyTargetDetails
public static enum AccessPolicyTargetDetails.Type extends Enum<AccessPolicyTargetDetails.Type> implements BmcEnum
Traffic type of the target.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AllVirtualServices
ExternalService
IngressGateway
VirtualService
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessPolicyTargetDetails.Type
create(String key)
String
getValue()
static AccessPolicyTargetDetails.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static AccessPolicyTargetDetails.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AllVirtualServices
public static final AccessPolicyTargetDetails.Type AllVirtualServices
-
VirtualService
public static final AccessPolicyTargetDetails.Type VirtualService
-
ExternalService
public static final AccessPolicyTargetDetails.Type ExternalService
-
IngressGateway
public static final AccessPolicyTargetDetails.Type IngressGateway
-
-
Method Detail
-
values
public static AccessPolicyTargetDetails.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AccessPolicyTargetDetails.Type c : AccessPolicyTargetDetails.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessPolicyTargetDetails.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static AccessPolicyTargetDetails.Type create(String key)
-
-