public class ChapInfo
extends java.lang.Object
implements java.io.Serializable
Describes Challenge-Handshake Authentication Protocol (CHAP) information that supports authentication between your gateway and iSCSI initiators.
| コンストラクタと説明 |
|---|
ChapInfo() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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 (e.g.
|
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 (e.g.
|
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 (e.g.
|
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.
|
public java.lang.String getTargetARN()
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Constraints:
Length: 50 - 800
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public void setTargetARN(java.lang.String targetARN)
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Constraints:
Length: 50 - 800
targetARN - The Amazon Resource Name (ARN) of the volume. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public ChapInfo withTargetARN(java.lang.String targetARN)
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 800
targetARN - The Amazon Resource Name (ARN) of the volume. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
public java.lang.String getSecretToAuthenticateInitiator()
Constraints:
Length: 12 - 16
public void setSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)
Constraints:
Length: 12 - 16
secretToAuthenticateInitiator - The secret key that the initiator (e.g. Windows client) must provide
to participate in mutual CHAP with the target.public ChapInfo withSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 12 - 16
secretToAuthenticateInitiator - The secret key that the initiator (e.g. Windows client) must provide
to participate in mutual CHAP with the target.public java.lang.String getInitiatorName()
Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+
public void setInitiatorName(java.lang.String initiatorName)
Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+
initiatorName - The iSCSI initiator that connects to the target.public ChapInfo withInitiatorName(java.lang.String initiatorName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+
initiatorName - The iSCSI initiator that connects to the target.public java.lang.String getSecretToAuthenticateTarget()
Constraints:
Length: 12 - 16
public void setSecretToAuthenticateTarget(java.lang.String secretToAuthenticateTarget)
Constraints:
Length: 12 - 16
secretToAuthenticateTarget - 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)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 12 - 16
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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object