public class VolumeiSCSIAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Lists iSCSI information about a volume.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
chapEnabled
Indicates whether mutual CHAP is enabled for the iSCSI target.
|
private java.lang.Integer |
lunNumber
The logical disk number.
|
private java.lang.String |
networkInterfaceId
The network interface identifier.
|
private java.lang.Integer |
networkInterfacePort
The port used to communicate with iSCSI targets.
|
private java.lang.String |
targetARN
The Amazon Resource Name (ARN) of the volume target.
|
Constructor and Description |
---|
VolumeiSCSIAttributes() |
Modifier and Type | Method and Description |
---|---|
VolumeiSCSIAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getChapEnabled()
Indicates whether mutual CHAP is enabled for the iSCSI target.
|
java.lang.Integer |
getLunNumber()
The logical disk number.
|
java.lang.String |
getNetworkInterfaceId()
The network interface identifier.
|
java.lang.Integer |
getNetworkInterfacePort()
The port used to communicate with iSCSI targets.
|
java.lang.String |
getTargetARN()
The Amazon Resource Name (ARN) of the volume target.
|
int |
hashCode() |
java.lang.Boolean |
isChapEnabled()
Indicates whether mutual CHAP is enabled for the iSCSI target.
|
void |
setChapEnabled(java.lang.Boolean chapEnabled)
Indicates whether mutual CHAP is enabled for the iSCSI target.
|
void |
setLunNumber(java.lang.Integer lunNumber)
The logical disk number.
|
void |
setNetworkInterfaceId(java.lang.String networkInterfaceId)
The network interface identifier.
|
void |
setNetworkInterfacePort(java.lang.Integer networkInterfacePort)
The port used to communicate with iSCSI targets.
|
void |
setTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the volume target.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VolumeiSCSIAttributes |
withChapEnabled(java.lang.Boolean chapEnabled)
Indicates whether mutual CHAP is enabled for the iSCSI target.
|
VolumeiSCSIAttributes |
withLunNumber(java.lang.Integer lunNumber)
The logical disk number.
|
VolumeiSCSIAttributes |
withNetworkInterfaceId(java.lang.String networkInterfaceId)
The network interface identifier.
|
VolumeiSCSIAttributes |
withNetworkInterfacePort(java.lang.Integer networkInterfacePort)
The port used to communicate with iSCSI targets.
|
VolumeiSCSIAttributes |
withTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the volume target.
|
private java.lang.String targetARN
The Amazon Resource Name (ARN) of the volume target.
private java.lang.String networkInterfaceId
The network interface identifier.
private java.lang.Integer networkInterfacePort
The port used to communicate with iSCSI targets.
private java.lang.Integer lunNumber
The logical disk number.
private java.lang.Boolean chapEnabled
Indicates whether mutual CHAP is enabled for the iSCSI target.
public void setTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the volume target.
targetARN
- The Amazon Resource Name (ARN) of the volume target.public java.lang.String getTargetARN()
The Amazon Resource Name (ARN) of the volume target.
public VolumeiSCSIAttributes withTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the volume target.
targetARN
- The Amazon Resource Name (ARN) of the volume target.public void setNetworkInterfaceId(java.lang.String networkInterfaceId)
The network interface identifier.
networkInterfaceId
- The network interface identifier.public java.lang.String getNetworkInterfaceId()
The network interface identifier.
public VolumeiSCSIAttributes withNetworkInterfaceId(java.lang.String networkInterfaceId)
The network interface identifier.
networkInterfaceId
- The network interface identifier.public void setNetworkInterfacePort(java.lang.Integer networkInterfacePort)
The port used to communicate with iSCSI targets.
networkInterfacePort
- The port used to communicate with iSCSI targets.public java.lang.Integer getNetworkInterfacePort()
The port used to communicate with iSCSI targets.
public VolumeiSCSIAttributes withNetworkInterfacePort(java.lang.Integer networkInterfacePort)
The port used to communicate with iSCSI targets.
networkInterfacePort
- The port used to communicate with iSCSI targets.public void setLunNumber(java.lang.Integer lunNumber)
The logical disk number.
lunNumber
- The logical disk number.public java.lang.Integer getLunNumber()
The logical disk number.
public VolumeiSCSIAttributes withLunNumber(java.lang.Integer lunNumber)
The logical disk number.
lunNumber
- The logical disk number.public void setChapEnabled(java.lang.Boolean chapEnabled)
Indicates whether mutual CHAP is enabled for the iSCSI target.
chapEnabled
- Indicates whether mutual CHAP is enabled for the iSCSI target.public java.lang.Boolean getChapEnabled()
Indicates whether mutual CHAP is enabled for the iSCSI target.
public VolumeiSCSIAttributes withChapEnabled(java.lang.Boolean chapEnabled)
Indicates whether mutual CHAP is enabled for the iSCSI target.
chapEnabled
- Indicates whether mutual CHAP is enabled for the iSCSI target.public java.lang.Boolean isChapEnabled()
Indicates whether mutual CHAP is enabled for the iSCSI target.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VolumeiSCSIAttributes clone()
clone
in class java.lang.Object