public class ChapInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes Challenge-Handshake Authentication Protocol (CHAP) information that supports authentication between your gateway and iSCSI initiators.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
initiatorName
The iSCSI initiator that connects to the target.
|
private java.lang.String |
secretToAuthenticateInitiator
The secret key that the initiator (for example, the Windows client) must
provide to participate in mutual CHAP with the target.
|
private java.lang.String |
secretToAuthenticateTarget
The secret key that the target must provide to participate in mutual CHAP
with the initiator (e.g.
|
private java.lang.String |
targetARN
The Amazon Resource Name (ARN) of the volume.
|
Constructor and Description |
---|
ChapInfo() |
Modifier and Type | Method and Description |
---|---|
ChapInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInitiatorName()
The iSCSI initiator that connects to the target.
|
java.lang.String |
getSecretToAuthenticateInitiator()
The secret key that the initiator (for example, the Windows client) must
provide to participate in mutual CHAP with the target.
|
java.lang.String |
getSecretToAuthenticateTarget()
The secret key that the target must provide to participate in mutual CHAP
with the initiator (e.g.
|
java.lang.String |
getTargetARN()
The Amazon Resource Name (ARN) of the volume.
|
int |
hashCode() |
void |
setInitiatorName(java.lang.String initiatorName)
The iSCSI initiator that connects to the target.
|
void |
setSecretToAuthenticateInitiator(java.lang.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(java.lang.String secretToAuthenticateTarget)
The secret key that the target must provide to participate in mutual CHAP
with the initiator (e.g.
|
void |
setTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the volume.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChapInfo |
withInitiatorName(java.lang.String initiatorName)
The iSCSI initiator that connects to the target.
|
ChapInfo |
withSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)
The secret key that the initiator (for example, the Windows client) must
provide to participate in mutual CHAP with the target.
|
ChapInfo |
withSecretToAuthenticateTarget(java.lang.String secretToAuthenticateTarget)
The secret key that the target must provide to participate in mutual CHAP
with the initiator (e.g.
|
ChapInfo |
withTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the volume.
|
private java.lang.String targetARN
The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
private java.lang.String secretToAuthenticateInitiator
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
private java.lang.String initiatorName
The iSCSI initiator that connects to the target.
private java.lang.String secretToAuthenticateTarget
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
public void setTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
targetARN
- The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public java.lang.String getTargetARN()
The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public ChapInfo withTargetARN(java.lang.String targetARN)
The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
targetARN
- The Amazon Resource Name (ARN) of the volume.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public void setSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
secretToAuthenticateInitiator
- The secret key that the initiator (for example, the Windows
client) must provide to participate in mutual CHAP with the
target.public java.lang.String getSecretToAuthenticateInitiator()
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
public ChapInfo withSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
secretToAuthenticateInitiator
- The secret key that the initiator (for example, the Windows
client) must provide to participate in mutual CHAP with the
target.public void setInitiatorName(java.lang.String initiatorName)
The iSCSI initiator that connects to the target.
initiatorName
- The iSCSI initiator that connects to the target.public java.lang.String getInitiatorName()
The iSCSI initiator that connects to the target.
public ChapInfo withInitiatorName(java.lang.String initiatorName)
The iSCSI initiator that connects to the target.
initiatorName
- The iSCSI initiator that connects to the target.public void setSecretToAuthenticateTarget(java.lang.String secretToAuthenticateTarget)
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
secretToAuthenticateTarget
- The secret key that the target must provide to participate in
mutual CHAP with the initiator (e.g. Windows client).public java.lang.String getSecretToAuthenticateTarget()
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
public ChapInfo withSecretToAuthenticateTarget(java.lang.String secretToAuthenticateTarget)
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
secretToAuthenticateTarget
- The secret key that the target must provide to participate in
mutual CHAP with the initiator (e.g. Windows client).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 ChapInfo clone()
clone
in class java.lang.Object