public class DescribeChapCredentialsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A JSON object containing a .
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ChapInfo> |
chapCredentials
An array of ChapInfo objects that represent CHAP credentials.
|
Constructor and Description |
---|
DescribeChapCredentialsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeChapCredentialsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ChapInfo> |
getChapCredentials()
An array of ChapInfo objects that represent CHAP credentials.
|
int |
hashCode() |
void |
setChapCredentials(java.util.Collection<ChapInfo> chapCredentials)
An array of ChapInfo objects that represent CHAP credentials.
|
java.lang.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(java.util.Collection<ChapInfo> chapCredentials)
An array of ChapInfo objects that represent CHAP credentials.
|
private SdkInternalList<ChapInfo> 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 (for example, the 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 java.util.List<ChapInfo> getChapCredentials()
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 (for example, the 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 (for example, the 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(java.util.Collection<ChapInfo> 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 (for example, the 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 (for example, the 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)
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 (for example, the 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.
NOTE: This method appends the values to the existing list (if
any). Use setChapCredentials(java.util.Collection)
or
withChapCredentials(java.util.Collection)
if you want to
override the existing values.
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 (for example, the 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(java.util.Collection<ChapInfo> 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 (for example, the 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 (for example, the 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 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 DescribeChapCredentialsResult clone()
clone
in class java.lang.Object