AvailabilityType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. azurestackhci. models. AvailabilityType
- com.
- com.
public final class AvailabilityType
extends ExpandableStringEnum<AvailabilityType>
Indicates how the update content is made available for download. This determines whether the update is sourced locally, from an online repository, or requires user notification.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Availability |
LOCAL
The update content is available locally within the environment. |
|
static final
Availability |
NOTIFY
The system will notify the user when update content becomes available. |
|
static final
Availability |
ONLINE
The update content is available from an online source. |
Constructor Summary
| Constructor | Description |
|---|---|
| AvailabilityType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Availability |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Availability |
fromString(String name)
Creates or finds a Availability |
|
static
Collection<Availability |
values()
Gets known Availability |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
LOCAL
public static final AvailabilityType LOCAL
The update content is available locally within the environment.
NOTIFY
public static final AvailabilityType NOTIFY
The system will notify the user when update content becomes available.
ONLINE
public static final AvailabilityType ONLINE
The update content is available from an online source.
Constructor Details
AvailabilityType
@Deprecated
public AvailabilityType()
Deprecated
Creates a new instance of AvailabilityType value.
Method Details
fromString
public static AvailabilityType fromString(String name)
Creates or finds a AvailabilityType from its string representation.
Parameters:
Returns:
values
public static Collection<AvailabilityType> values()
Gets known AvailabilityType values.
Returns: