Enum Class ChangeType
- All Implemented Interfaces:
APIParam, Serializable, Comparable<ChangeType>, Constable
The kind of lifecycle change recorded against a Fabric resource (the
change.type field).
Fabric reports change types across many resource families (connections, networks, ports,
routers, route filters/aggregations and their rules, routing protocols, etc.). The full set is
enumerated here, and unknown/newly-introduced values deserialize to UNKNOWN rather than
failing the whole response - the API can add change types without breaking existing SDK clients.
- Author:
- ianjones
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeTypefromString(String value) Deserializes a change type leniently: an unrecognized value maps toUNKNOWNinstead of failing the enclosing response.static ChangeTypeReturns the enum constant of this class with the specified name.static ChangeType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface APIParam
paramValueModifier and TypeMethodDescriptiondefault StringThe value exactly as it must appear on the wire in a query or path parameter.
-
Enum Constant Details
-
CONNECTION_CREATION
-
CONNECTION_UPDATE
-
CONNECTION_UPDATE_REQUEST
-
CONNECTION_DELETION
-
CONNECTION_PROVIDER_STATUS_REQUEST
-
NETWORK_CREATION
-
NETWORK_UPDATE
-
NETWORK_DELETION
-
PORT_CREATION
-
PORT_UPDATE
-
PORT_DELETION
-
ROUTER_UPDATE
-
PROFILE_UPDATE
-
SERVICE_PROFILE_VISIBILITY_UPDATE
-
COMPANY_PROFILE_CREATION
-
ASSET_CREATION
-
ROUTING_PROTOCOL_CREATION
-
ROUTING_PROTOCOL_UPDATE
-
ROUTING_PROTOCOL_DELETION
-
BGP_IPv4_PREFIX_FILTER_CREATION
-
BGP_IPv4_PREFIX_FILTER_UPDATE
-
BGP_IPv4_PREFIX_FILTER_DELETION
-
BGP_IPv6_PREFIX_FILTER_CREATION
-
BGP_IPv6_PREFIX_FILTER_UPDATE
-
BGP_IPv6_PREFIX_FILTER_DELETION
-
BGP_IPv4_PREFIX_FILTER_RULE_CREATION
-
BGP_IPv4_PREFIX_FILTER_RULE_UPDATE
-
BGP_IPv4_PREFIX_FILTER_RULE_DELETION
-
BGP_IPv6_PREFIX_FILTER_RULE_CREATION
-
BGP_IPv6_PREFIX_FILTER_RULE_UPDATE
-
BGP_IPv6_PREFIX_FILTER_RULE_DELETION
-
BGP_IPv4_PREFIX_AGGREGATION_CREATION
-
BGP_IPv4_PREFIX_AGGREGATION_UPDATE
-
BGP_IPv4_PREFIX_AGGREGATION_DELETION
-
BGP_IPv6_PREFIX_AGGREGATION_CREATION
-
BGP_IPv6_PREFIX_AGGREGATION_UPDATE
-
BGP_IPv6_PREFIX_AGGREGATION_DELETION
-
BGP_IPv4_PREFIX_AGGREGATION_RULE_CREATION
-
BGP_IPv4_PREFIX_AGGREGATION_RULE_UPDATE
-
BGP_IPv4_PREFIX_AGGREGATION_RULE_DELETION
-
ROUTE_TABLE_ENTRY_UPDATE
-
ADVERTISED_ROUTE_ENTRY_UPDATE
-
RECEIVED_ROUTE_ENTRY_UPDATE
-
BGP_SESSION_STATUS_UPDATE
-
UNKNOWN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
Deserializes a change type leniently: an unrecognized value maps toUNKNOWNinstead of failing the enclosing response. (Fabric introduces new change types over time and uses a singlechange.typefield across many resource kinds.)- Parameters:
value- the raw API value- Returns:
- the matching constant, or
UNKNOWN
-