@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeChapCredentialsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A JSON object containing a .
Constructor and Description |
---|
DescribeChapCredentialsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeChapCredentialsResult |
clone() |
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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(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(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 String toString()
toString
in class Object
Object.toString()
public DescribeChapCredentialsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.