@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChapInfo extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
ChapInfo |
clone() |
boolean |
equals(Object obj) |
String |
getInitiatorName()
The iSCSI initiator that connects to the target.
|
String |
getSecretToAuthenticateInitiator()
The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP
with the target.
|
String |
getSecretToAuthenticateTarget()
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g., Windows
client).
|
String |
getTargetARN()
The Amazon Resource Name (ARN) of the volume.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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., Windows
client).
|
void |
setTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume.
|
String |
toString()
Returns a string representation of this object.
|
ChapInfo |
withInitiatorName(String initiatorName)
The iSCSI initiator that connects to the target.
|
ChapInfo |
withSecretToAuthenticateInitiator(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(String secretToAuthenticateTarget)
The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g., Windows
client).
|
ChapInfo |
withTargetARN(String targetARN)
The Amazon Resource Name (ARN) of the volume.
|
public void setTargetARN(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 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(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(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 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(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(String initiatorName)
The iSCSI initiator that connects to the target.
initiatorName
- The iSCSI initiator that connects to the target.public String getInitiatorName()
The iSCSI initiator that connects to the target.
public ChapInfo withInitiatorName(String initiatorName)
The iSCSI initiator that connects to the target.
initiatorName
- The iSCSI initiator that connects to the target.public void setSecretToAuthenticateTarget(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 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(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 String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.