public class ISCSISession
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ISCSISession.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ISCSISession() |
ISCSISession(java.lang.Long accountID,
java.lang.String accountName,
ISCSIAuthentication authentication,
java.lang.String createTime,
java.lang.Long driveID,
Optional<java.lang.Long[]> driveIDs,
Optional<Initiator> initiator,
java.lang.String initiatorIP,
java.lang.String initiatorName,
java.lang.String initiatorPortName,
java.lang.Long initiatorSessionID,
java.lang.Long msSinceLastIscsiPDU,
java.lang.Long msSinceLastScsiCommand,
java.lang.Long nodeID,
java.lang.Long serviceID,
java.lang.Long sessionID,
java.lang.String targetIP,
java.lang.String targetName,
java.lang.String targetPortName,
java.lang.Long virtualNetworkID,
java.lang.Long volumeID,
java.lang.Long volumeInstance) |
ISCSISession(java.lang.Long accountID,
java.lang.String accountName,
java.lang.String createTime,
java.lang.Long driveID,
Optional<java.lang.Long[]> driveIDs,
Optional<Initiator> initiator,
java.lang.String initiatorIP,
java.lang.String initiatorName,
java.lang.String initiatorPortName,
java.lang.Long initiatorSessionID,
java.lang.Long msSinceLastIscsiPDU,
java.lang.Long msSinceLastScsiCommand,
java.lang.Long nodeID,
java.lang.Long serviceID,
java.lang.Long sessionID,
java.lang.String targetIP,
java.lang.String targetName,
java.lang.String targetPortName,
java.lang.Long virtualNetworkID,
java.lang.Long volumeID,
java.lang.Long volumeInstance) |
Modifier and Type | Method and Description |
---|---|
ISCSISession.Builder |
asBuilder() |
static ISCSISession.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAccountID()
The numeric ID of the account object used for authentication (if any).
|
java.lang.String |
getAccountName()
The name of the account object used for authentication (if any).
|
ISCSIAuthentication |
getAuthentication()
Authentication information for this session.
|
java.lang.String |
getCreateTime()
The time when this session was created.
|
java.lang.Long |
getDriveID()
The numeric drive ID associated with this session.
|
Optional<java.lang.Long[]> |
getDriveIDs()
A list of numeric drive IDs associated with this session.
|
Optional<Initiator> |
getInitiator()
The initiator object (if any) associated with this session.
|
java.lang.String |
getInitiatorIP()
The initiator's socket IP address and TCP port number.
|
java.lang.String |
getInitiatorName()
The initiator's iSCSI qualified name (IQN) string.
|
java.lang.String |
getInitiatorPortName()
The iSCSI initiator port name string.
|
java.lang.Long |
getInitiatorSessionID()
The iSCSI initiator session ID (ISID) for this session.
|
java.lang.Long |
getMsSinceLastIscsiPDU()
Number of milliseconds since this session received an iSCSI PDU.
|
java.lang.Long |
getMsSinceLastScsiCommand()
Number of milliseconds since this session received a SCSI command.
|
java.lang.Long |
getNodeID()
The numeric node ID associated with this session.
|
java.lang.Long |
getServiceID()
The numeric service ID associated with this session.
|
java.lang.Long |
getSessionID()
The numeric ID associated with this session.
|
java.lang.String |
getTargetIP()
The target's socket IP address and TCP port number.
|
java.lang.String |
getTargetName()
The target's iSCSI qualified name (IQN) string.
|
java.lang.String |
getTargetPortName()
The iSCSI target port name string.
|
java.lang.Long |
getVirtualNetworkID()
The numeric ID of the virtual network (if any) used to create the session.
|
java.lang.Long |
getVolumeID()
The numeric ID of the volume (if any) associated with the target name.
|
java.lang.Long |
getVolumeInstance()
The instance of the volume (if any) associated with this session.
|
int |
hashCode() |
void |
setAccountID(java.lang.Long accountID) |
void |
setAccountName(java.lang.String accountName) |
void |
setAuthentication(ISCSIAuthentication authentication) |
void |
setCreateTime(java.lang.String createTime) |
void |
setDriveID(java.lang.Long driveID) |
void |
setDriveIDs(Optional<java.lang.Long[]> driveIDs) |
void |
setInitiator(Optional<Initiator> initiator) |
void |
setInitiatorIP(java.lang.String initiatorIP) |
void |
setInitiatorName(java.lang.String initiatorName) |
void |
setInitiatorPortName(java.lang.String initiatorPortName) |
void |
setInitiatorSessionID(java.lang.Long initiatorSessionID) |
void |
setMsSinceLastIscsiPDU(java.lang.Long msSinceLastIscsiPDU) |
void |
setMsSinceLastScsiCommand(java.lang.Long msSinceLastScsiCommand) |
void |
setNodeID(java.lang.Long nodeID) |
void |
setServiceID(java.lang.Long serviceID) |
void |
setSessionID(java.lang.Long sessionID) |
void |
setTargetIP(java.lang.String targetIP) |
void |
setTargetName(java.lang.String targetName) |
void |
setTargetPortName(java.lang.String targetPortName) |
void |
setVirtualNetworkID(java.lang.Long virtualNetworkID) |
void |
setVolumeID(java.lang.Long volumeID) |
void |
setVolumeInstance(java.lang.Long volumeInstance) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public ISCSISession(java.lang.Long accountID, java.lang.String accountName, java.lang.String createTime, java.lang.Long driveID, Optional<java.lang.Long[]> driveIDs, Optional<Initiator> initiator, java.lang.String initiatorIP, java.lang.String initiatorName, java.lang.String initiatorPortName, java.lang.Long initiatorSessionID, java.lang.Long msSinceLastIscsiPDU, java.lang.Long msSinceLastScsiCommand, java.lang.Long nodeID, java.lang.Long serviceID, java.lang.Long sessionID, java.lang.String targetIP, java.lang.String targetName, java.lang.String targetPortName, java.lang.Long virtualNetworkID, java.lang.Long volumeID, java.lang.Long volumeInstance)
@Since(value="12.0") public ISCSISession(java.lang.Long accountID, java.lang.String accountName, ISCSIAuthentication authentication, java.lang.String createTime, java.lang.Long driveID, Optional<java.lang.Long[]> driveIDs, Optional<Initiator> initiator, java.lang.String initiatorIP, java.lang.String initiatorName, java.lang.String initiatorPortName, java.lang.Long initiatorSessionID, java.lang.Long msSinceLastIscsiPDU, java.lang.Long msSinceLastScsiCommand, java.lang.Long nodeID, java.lang.Long serviceID, java.lang.Long sessionID, java.lang.String targetIP, java.lang.String targetName, java.lang.String targetPortName, java.lang.Long virtualNetworkID, java.lang.Long volumeID, java.lang.Long volumeInstance)
public java.lang.Long getAccountID()
public void setAccountID(java.lang.Long accountID)
public java.lang.String getAccountName()
public void setAccountName(java.lang.String accountName)
public ISCSIAuthentication getAuthentication()
public void setAuthentication(ISCSIAuthentication authentication)
public java.lang.String getCreateTime()
public void setCreateTime(java.lang.String createTime)
public java.lang.Long getDriveID()
public void setDriveID(java.lang.Long driveID)
public Optional<java.lang.Long[]> getDriveIDs()
public void setDriveIDs(Optional<java.lang.Long[]> driveIDs)
public Optional<Initiator> getInitiator()
public java.lang.String getInitiatorIP()
public void setInitiatorIP(java.lang.String initiatorIP)
public java.lang.String getInitiatorName()
public void setInitiatorName(java.lang.String initiatorName)
public java.lang.String getInitiatorPortName()
public void setInitiatorPortName(java.lang.String initiatorPortName)
public java.lang.Long getInitiatorSessionID()
public void setInitiatorSessionID(java.lang.Long initiatorSessionID)
public java.lang.Long getMsSinceLastIscsiPDU()
public void setMsSinceLastIscsiPDU(java.lang.Long msSinceLastIscsiPDU)
public java.lang.Long getMsSinceLastScsiCommand()
public void setMsSinceLastScsiCommand(java.lang.Long msSinceLastScsiCommand)
public java.lang.Long getNodeID()
public void setNodeID(java.lang.Long nodeID)
public java.lang.Long getServiceID()
public void setServiceID(java.lang.Long serviceID)
public java.lang.Long getSessionID()
public void setSessionID(java.lang.Long sessionID)
public java.lang.String getTargetIP()
public void setTargetIP(java.lang.String targetIP)
public java.lang.String getTargetName()
public void setTargetName(java.lang.String targetName)
public java.lang.String getTargetPortName()
public void setTargetPortName(java.lang.String targetPortName)
public java.lang.Long getVirtualNetworkID()
public void setVirtualNetworkID(java.lang.Long virtualNetworkID)
public java.lang.Long getVolumeID()
public void setVolumeID(java.lang.Long volumeID)
public java.lang.Long getVolumeInstance()
public void setVolumeInstance(java.lang.Long volumeInstance)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static ISCSISession.Builder builder()
public final ISCSISession.Builder asBuilder()