Enum Class EnvironmentVisibility
java.lang.Object
java.lang.Enum<EnvironmentVisibility>
com.eqixiac.equinix.core.model.multicloud.EnvironmentVisibility
- All Implemented Interfaces:
Serializable, Comparable<EnvironmentVisibility>, Constable
Visibility of a specification environment in a provider's customer-facing APIs
(
environment.yaml#/EnvironmentVisibility); carried by
Environment.environmentVisibility, output only. Constant names equal the wire values.
Beta: derived from the open specification at commit bbfc763 (see the package
documentation).
UNKNOWN is a read-side fallback for values added after this SDK release, and the
value EnvironmentRef reports when no visibility was supplied; never send it.
- Author:
- ianjones
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLimited visibility, as jointly defined by the two providers, to an individual customer or a small number of customers.Visible to all customers of the provider with little to no restriction.Read-side fallback for a value this enum does not list, or for an absent value. -
Method Summary
Modifier and TypeMethodDescriptionstatic EnvironmentVisibilityfromString(String value) Parses a wire value.static EnvironmentVisibilityReturns the enum constant of this class with the specified name.static EnvironmentVisibility[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENVIRONMENT_VISIBILITY_PRIVATE
Limited visibility, as jointly defined by the two providers, to an individual customer or a small number of customers. -
ENVIRONMENT_VISIBILITY_PUBLIC
Visible to all customers of the provider with little to no restriction. -
UNKNOWN
Read-side fallback for a value this enum does not list, or for an absent value.
-
-
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
Parses a wire value. Surrounding whitespace is trimmed and case is ignored.- Parameters:
value- the wire value, for exampleENVIRONMENT_VISIBILITY_PUBLIC; may be null- Returns:
- the matching constant, or
UNKNOWNwhenvalueis null, blank or not listed
-