Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class DescribeChapCredentialsResult

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.DescribeChapCredentialsResult
All Implemented Interfaces:
Serializable

public class DescribeChapCredentialsResult
extends Object
implements Serializable

A JSON object containing a DescribeChapCredentialsOutput$ChapCredentials.

See Also:
Serialized Form

Constructor Summary
DescribeChapCredentialsResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeChapCredentialsResult

public DescribeChapCredentialsResult()
Method Detail

getChapCredentials

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:

Returns:
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.


setChapCredentials

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:

Parameters:
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.


withChapCredentials

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:

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.

Returns:
A reference to this updated object so that method calls can be chained together.

withChapCredentials

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:

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.

Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.