public class DescribeChapCredentialsResult extends Object implements Serializable
A JSON object containing a DescribeChapCredentialsOutput$ChapCredentials.
Constructor and Description |
---|
DescribeChapCredentialsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<ChapInfo> |
getChapCredentials()
An array of ChapInfo objects that represent CHAP credentials.
|
int |
hashCode() |
void |
setChapCredentials(Collection<ChapInfo> chapCredentials)
An array of ChapInfo objects that represent CHAP credentials.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeChapCredentialsResult |
withChapCredentials(ChapInfo... chapCredentials)
An array of ChapInfo objects that represent CHAP credentials.
|
DescribeChapCredentialsResult |
withChapCredentials(Collection<ChapInfo> chapCredentials)
An array of ChapInfo objects that represent CHAP credentials.
|
public List<ChapInfo> getChapCredentials()
InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
public void setChapCredentials(Collection<ChapInfo> chapCredentials)
InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
chapCredentials
- An array of ChapInfo objects that represent CHAP credentials.
Each object in the array contains CHAP credential information for one
target-initiator pair. If no CHAP credentials are set, an empty array
is returned. CHAP credential information is provided in a JSON object
with the following fields: InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
public DescribeChapCredentialsResult withChapCredentials(ChapInfo... chapCredentials)
InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
Returns a reference to this object so that method calls can be chained together.
chapCredentials
- An array of ChapInfo objects that represent CHAP credentials.
Each object in the array contains CHAP credential information for one
target-initiator pair. If no CHAP credentials are set, an empty array
is returned. CHAP credential information is provided in a JSON object
with the following fields: InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
public DescribeChapCredentialsResult withChapCredentials(Collection<ChapInfo> chapCredentials)
InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
Returns a reference to this object so that method calls can be chained together.
chapCredentials
- An array of ChapInfo objects that represent CHAP credentials.
Each object in the array contains CHAP credential information for one
target-initiator pair. If no CHAP credentials are set, an empty array
is returned. CHAP credential information is provided in a JSON object
with the following fields: InitiatorName: The iSCSI initiator that connects to the target.
SecretToAuthenticateInitiator: The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.