public static enum VolumeAttachment.IscsiLoginState extends Enum<VolumeAttachment.IscsiLoginState> implements BmcEnum
The iscsi login state of the volume attachment. For a Iscsi volume attachment, all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.
Enum Constant and Description |
---|
LoggingIn |
LoggingOut |
LoginFailed |
LoginSucceeded |
LogoutFailed |
LogoutSucceeded |
Unknown |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static VolumeAttachment.IscsiLoginState |
create(String key) |
String |
getValue() |
static VolumeAttachment.IscsiLoginState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VolumeAttachment.IscsiLoginState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VolumeAttachment.IscsiLoginState Unknown
public static final VolumeAttachment.IscsiLoginState LoggingIn
public static final VolumeAttachment.IscsiLoginState LoginSucceeded
public static final VolumeAttachment.IscsiLoginState LoginFailed
public static final VolumeAttachment.IscsiLoginState LoggingOut
public static final VolumeAttachment.IscsiLoginState LogoutSucceeded
public static final VolumeAttachment.IscsiLoginState LogoutFailed
public static final VolumeAttachment.IscsiLoginState UnknownEnumValue
public static VolumeAttachment.IscsiLoginState[] values()
for (VolumeAttachment.IscsiLoginState c : VolumeAttachment.IscsiLoginState.values()) System.out.println(c);
public static VolumeAttachment.IscsiLoginState 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 static VolumeAttachment.IscsiLoginState create(String key)
Copyright © 2016–2024. All rights reserved.