Class VolumeiSCSIAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
Lists iSCSI information about a volume.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates whether mutual CHAP is enabled for the iSCSI target.The logical disk number.The network interface identifier.The port used to communicate with iSCSI targets.The Amazon Resource Name (ARN) of the volume target.int
hashCode()
Indicates whether mutual CHAP is enabled for the iSCSI target.void
setChapEnabled
(Boolean chapEnabled) Indicates whether mutual CHAP is enabled for the iSCSI target.void
setLunNumber
(Integer lunNumber) The logical disk number.void
setNetworkInterfaceId
(String networkInterfaceId) The network interface identifier.void
setNetworkInterfacePort
(Integer networkInterfacePort) The port used to communicate with iSCSI targets.void
setTargetARN
(String targetARN) The Amazon Resource Name (ARN) of the volume target.toString()
Returns a string representation of this object; useful for testing and debugging.withChapEnabled
(Boolean chapEnabled) Indicates whether mutual CHAP is enabled for the iSCSI target.withLunNumber
(Integer lunNumber) The logical disk number.withNetworkInterfaceId
(String networkInterfaceId) The network interface identifier.withNetworkInterfacePort
(Integer networkInterfacePort) The port used to communicate with iSCSI targets.withTargetARN
(String targetARN) The Amazon Resource Name (ARN) of the volume target.
-
Constructor Details
-
VolumeiSCSIAttributes
public VolumeiSCSIAttributes()
-
-
Method Details
-
setTargetARN
The Amazon Resource Name (ARN) of the volume target.
- Parameters:
targetARN
- The Amazon Resource Name (ARN) of the volume target.
-
getTargetARN
The Amazon Resource Name (ARN) of the volume target.
- Returns:
- The Amazon Resource Name (ARN) of the volume target.
-
withTargetARN
The Amazon Resource Name (ARN) of the volume target.
- Parameters:
targetARN
- The Amazon Resource Name (ARN) of the volume target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNetworkInterfaceId
The network interface identifier.
- Parameters:
networkInterfaceId
- The network interface identifier.
-
getNetworkInterfaceId
The network interface identifier.
- Returns:
- The network interface identifier.
-
withNetworkInterfaceId
The network interface identifier.
- Parameters:
networkInterfaceId
- The network interface identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNetworkInterfacePort
The port used to communicate with iSCSI targets.
- Parameters:
networkInterfacePort
- The port used to communicate with iSCSI targets.
-
getNetworkInterfacePort
The port used to communicate with iSCSI targets.
- Returns:
- The port used to communicate with iSCSI targets.
-
withNetworkInterfacePort
The port used to communicate with iSCSI targets.
- Parameters:
networkInterfacePort
- The port used to communicate with iSCSI targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLunNumber
The logical disk number.
- Parameters:
lunNumber
- The logical disk number.
-
getLunNumber
The logical disk number.
- Returns:
- The logical disk number.
-
withLunNumber
The logical disk number.
- Parameters:
lunNumber
- The logical disk number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChapEnabled
Indicates whether mutual CHAP is enabled for the iSCSI target.
- Parameters:
chapEnabled
- Indicates whether mutual CHAP is enabled for the iSCSI target.
-
getChapEnabled
Indicates whether mutual CHAP is enabled for the iSCSI target.
- Returns:
- Indicates whether mutual CHAP is enabled for the iSCSI target.
-
withChapEnabled
Indicates whether mutual CHAP is enabled for the iSCSI target.
- Parameters:
chapEnabled
- Indicates whether mutual CHAP is enabled for the iSCSI target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isChapEnabled
Indicates whether mutual CHAP is enabled for the iSCSI target.
- Returns:
- Indicates whether mutual CHAP is enabled for the iSCSI target.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-