public enum ServiceLinkLinkStatus extends Enum<ServiceLinkLinkStatus>
Java class for ServiceLink.LinkStatus.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ServiceLink.LinkStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ACTIVE"/>
<enumeration value="PENDING"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ACTIVE
Link is enabled and data sharing is allowed.
|
PENDING
Link was requested from the other service and is awaiting approval.
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceLinkLinkStatus |
fromValue(String v) |
String |
value() |
static ServiceLinkLinkStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceLinkLinkStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceLinkLinkStatus ACTIVE
public static final ServiceLinkLinkStatus PENDING
ACTIVE via a SET operation.public static final ServiceLinkLinkStatus UNKNOWN
public static ServiceLinkLinkStatus[] values()
for (ServiceLinkLinkStatus c : ServiceLinkLinkStatus.values()) System.out.println(c);
public static ServiceLinkLinkStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ServiceLinkLinkStatus fromValue(String v)
Copyright © 2023. All rights reserved.