public class ChapInfo extends Object implements Serializable
Describes Challenge-Handshake Authentication Protocol (CHAP) information that supports authentication between your gateway and iSCSI initiators.
Constructor and Description |
---|
ChapInfo() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getInitiatorName()
The iSCSI initiator that connects to the target.
|
String |
getSecretToAuthenticateInitiator()
The secret key that the initiator (e.g.
|
String |
getSecretToAuthenticateTarget()
The secret key that the target must provide to participate in mutual
CHAP with the initiator (e.g.
|
String |
getTargetARN()
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 (e.g.
|
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChapInfo |
withInitiatorName(String initiatorName)
The iSCSI initiator that connects to the target.
|
ChapInfo |
withSecretToAuthenticateInitiator(String secretToAuthenticateInitiator)
The secret key that the initiator (e.g.
|
ChapInfo |
withSecretToAuthenticateTarget(String secretToAuthenticateTarget)
The secret key that the target must provide to participate in mutual
CHAP with the initiator (e.g.
|
ChapInfo |
withTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume.
|
public 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(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(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 String getSecretToAuthenticateInitiator()
Constraints:
Length: 12 - 16
public void setSecretToAuthenticateInitiator(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(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 String getInitiatorName()
Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+
public void setInitiatorName(String initiatorName)
Constraints:
Length: 1 - 255
Pattern: [0-9a-z:.-]+
initiatorName
- The iSCSI initiator that connects to the target.public ChapInfo withInitiatorName(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 String getSecretToAuthenticateTarget()
Constraints:
Length: 12 - 16
public void setSecretToAuthenticateTarget(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(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.