Enum CertificateVisibility
- java.lang.Object
-
- java.lang.Enum<CertificateVisibility>
-
- com.microsoft.azure.management.batch.CertificateVisibility
-
- All Implemented Interfaces:
Serializable,Comparable<CertificateVisibility>
public enum CertificateVisibility extends Enum<CertificateVisibility>
Defines values for CertificateVisibility.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REMOTE_USEREnum value RemoteUser.START_TASKEnum value StartTask.TASKEnum value Task.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateVisibilityfromString(String value)Parses a serialized value to a CertificateVisibility instance.StringtoString()static CertificateVisibilityvalueOf(String name)Returns the enum constant of this type with the specified name.static CertificateVisibility[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_TASK
public static final CertificateVisibility START_TASK
Enum value StartTask.
-
TASK
public static final CertificateVisibility TASK
Enum value Task.
-
REMOTE_USER
public static final CertificateVisibility REMOTE_USER
Enum value RemoteUser.
-
-
Method Detail
-
values
public static CertificateVisibility[] 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 (CertificateVisibility c : CertificateVisibility.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CertificateVisibility 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
-
fromString
public static CertificateVisibility fromString(String value)
Parses a serialized value to a CertificateVisibility instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed CertificateVisibility object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<CertificateVisibility>
-
-