Package com.oracle.bmc.core.model
Enum CreateDrgRouteDistributionDetails.DistributionType
- java.lang.Object
-
- java.lang.Enum<CreateDrgRouteDistributionDetails.DistributionType>
-
- com.oracle.bmc.core.model.CreateDrgRouteDistributionDetails.DistributionType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateDrgRouteDistributionDetails.DistributionType>
- Enclosing class:
- CreateDrgRouteDistributionDetails
public static enum CreateDrgRouteDistributionDetails.DistributionType extends Enum<CreateDrgRouteDistributionDetails.DistributionType> implements BmcEnum
Whether this distribution defines how routes get imported into route tables or exported through DRG attachments.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Import
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDrgRouteDistributionDetails.DistributionType
create(String key)
String
getValue()
static CreateDrgRouteDistributionDetails.DistributionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateDrgRouteDistributionDetails.DistributionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Import
public static final CreateDrgRouteDistributionDetails.DistributionType Import
-
-
Method Detail
-
values
public static CreateDrgRouteDistributionDetails.DistributionType[] 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 (CreateDrgRouteDistributionDetails.DistributionType c : CreateDrgRouteDistributionDetails.DistributionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateDrgRouteDistributionDetails.DistributionType 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 CreateDrgRouteDistributionDetails.DistributionType create(String key)
-
-