Enum EdgeDirectionEnum
- java.lang.Object
-
- java.lang.Enum<EdgeDirectionEnum>
-
- software.aws.awsprototypingsdk.cdkgraph.EdgeDirectionEnum
-
- All Implemented Interfaces:
Serializable,Comparable<EdgeDirectionEnum>
@Generated(value="jsii-pacmak/1.82.0 (build 2d2ddd7)", date="2023-08-24T23:07:44.328Z") @Stability(Experimental) public enum EdgeDirectionEnum extends Enum<EdgeDirectionEnum>
(experimental) EdgeDirection specifies in which direction the edge is directed or if it is undirected.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACK(experimental) Indicates the edge is directed from the target to the source.BOTH(experimental) Indicates the edge is bi-directional.FORWARD(experimental) Indicates the edge is directed from the source to the target.NONE(experimental) Indicates that edge is undirected;
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EdgeDirectionEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static EdgeDirectionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
@Stability(Experimental) public static final EdgeDirectionEnum NONE
(experimental) Indicates that edge is undirected;meaning there is no directional relationship between the source and target.
-
FORWARD
@Stability(Experimental) public static final EdgeDirectionEnum FORWARD
(experimental) Indicates the edge is directed from the source to the target.
-
BACK
@Stability(Experimental) public static final EdgeDirectionEnum BACK
(experimental) Indicates the edge is directed from the target to the source.
-
BOTH
@Stability(Experimental) public static final EdgeDirectionEnum BOTH
(experimental) Indicates the edge is bi-directional.
-
-
Method Detail
-
values
public static EdgeDirectionEnum[] 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 (EdgeDirectionEnum c : EdgeDirectionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EdgeDirectionEnum 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
-
-