com.amazonaws.services.storagegateway.model

## クラス DescribeChapCredentialsResult

- java.lang.Object
- - com.amazonaws.services.storagegateway.model.DescribeChapCredentialsResult

- すべての実装されたインタフェース:
    java.io.Serializable

      public class DescribeChapCredentialsResult
      extends java.lang.Object
      implements java.io.Serializable

  A JSON object containing a DescribeChapCredentialsOutput$ChapCredentials.

  関連項目:
    直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `DescribeChapCredentialsResult()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `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.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### DescribeChapCredentialsResult

          public DescribeChapCredentialsResult()

  - ### メソッドの詳細

    - #### getChapCredentials

          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 (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.

      戻り値:
        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(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 (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.

    - #### 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:

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

    - #### withChapCredentials

          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 (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.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`