Class ChapInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Describes Challenge-Handshake Authentication Protocol (CHAP) information that supports authentication between your gateway and iSCSI initiators.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The iSCSI initiator that connects to the target.The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.The Amazon Resource Name (ARN) of the volume.int
hashCode()
void
setInitiatorName
(String initiatorName) The iSCSI initiator that connects to the target.void
setSecretToAuthenticateInitiator
(String secretToAuthenticateInitiator) The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.void
setSecretToAuthenticateTarget
(String secretToAuthenticateTarget) The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.void
setTargetARN
(String targetARN) The Amazon Resource Name (ARN) of the volume.toString()
Returns a string representation of this object; useful for testing and debugging.withInitiatorName
(String initiatorName) The iSCSI initiator that connects to the target.withSecretToAuthenticateInitiator
(String secretToAuthenticateInitiator) The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.withSecretToAuthenticateTarget
(String secretToAuthenticateTarget) The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.withTargetARN
(String targetARN) The Amazon Resource Name (ARN) of the volume.
-
Constructor Details
-
ChapInfo
public ChapInfo()
-
-
Method Details
-
setTargetARN
The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Parameters:
targetARN
- The Amazon Resource Name (ARN) of the volume.Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
-
getTargetARN
The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Returns:
- The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
-
withTargetARN
The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Parameters:
targetARN
- The Amazon Resource Name (ARN) of the volume.Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSecretToAuthenticateInitiator
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
- Parameters:
secretToAuthenticateInitiator
- The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
-
getSecretToAuthenticateInitiator
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
- Returns:
- The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
-
withSecretToAuthenticateInitiator
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
- Parameters:
secretToAuthenticateInitiator
- The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInitiatorName
The iSCSI initiator that connects to the target.
- Parameters:
initiatorName
- The iSCSI initiator that connects to the target.
-
getInitiatorName
The iSCSI initiator that connects to the target.
- Returns:
- The iSCSI initiator that connects to the target.
-
withInitiatorName
The iSCSI initiator that connects to the target.
- Parameters:
initiatorName
- The iSCSI initiator that connects to the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSecretToAuthenticateTarget
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
- Parameters:
secretToAuthenticateTarget
- The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
-
getSecretToAuthenticateTarget
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
- Returns:
- The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
-
withSecretToAuthenticateTarget
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
- Parameters:
secretToAuthenticateTarget
- The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-