Package com.oracle.bmc.core.requests
Enum ListDrgAttachmentsRequest.AttachmentType
- java.lang.Object
-
- java.lang.Enum<ListDrgAttachmentsRequest.AttachmentType>
-
- com.oracle.bmc.core.requests.ListDrgAttachmentsRequest.AttachmentType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListDrgAttachmentsRequest.AttachmentType>
- Enclosing class:
- ListDrgAttachmentsRequest
public static enum ListDrgAttachmentsRequest.AttachmentType extends Enum<ListDrgAttachmentsRequest.AttachmentType> implements BmcEnum
The type for the network resource attached to the DRG.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description All
IpsecTunnel
RemotePeeringConnection
Vcn
VirtualCircuit
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListDrgAttachmentsRequest.AttachmentType
create(String key)
String
getValue()
static ListDrgAttachmentsRequest.AttachmentType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListDrgAttachmentsRequest.AttachmentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Vcn
public static final ListDrgAttachmentsRequest.AttachmentType Vcn
-
VirtualCircuit
public static final ListDrgAttachmentsRequest.AttachmentType VirtualCircuit
-
RemotePeeringConnection
public static final ListDrgAttachmentsRequest.AttachmentType RemotePeeringConnection
-
IpsecTunnel
public static final ListDrgAttachmentsRequest.AttachmentType IpsecTunnel
-
All
public static final ListDrgAttachmentsRequest.AttachmentType All
-
-
Method Detail
-
values
public static ListDrgAttachmentsRequest.AttachmentType[] 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 (ListDrgAttachmentsRequest.AttachmentType c : ListDrgAttachmentsRequest.AttachmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListDrgAttachmentsRequest.AttachmentType 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 ListDrgAttachmentsRequest.AttachmentType create(String key)
-
-