com.amazonaws.services.storagegateway.model

## クラス ChapInfo

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

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

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

  Describes Challenge-Handshake Authentication Protocol (CHAP) information that supports authentication between your gateway and iSCSI initiators.

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

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getInitiatorName()` The iSCSI initiator that connects to the target.
    `java.lang.String` | `getSecretToAuthenticateInitiator()` The secret key that the initiator (e.g.
    `java.lang.String` | `getSecretToAuthenticateTarget()` The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.
    `java.lang.String` | `getTargetARN()` The Amazon Resource Name (ARN) of the volume.
    `int` | `hashCode()`
    `void` | `setInitiatorName(java.lang.String initiatorName)` The iSCSI initiator that connects to the target.
    `void` | `setSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)` The secret key that the initiator (e.g.
    `void` | `setSecretToAuthenticateTarget(java.lang.String secretToAuthenticateTarget)` The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.
    `void` | `setTargetARN(java.lang.String targetARN)` The Amazon Resource Name (ARN) of the volume.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `ChapInfo` | `withInitiatorName(java.lang.String initiatorName)` The iSCSI initiator that connects to the target.
    `ChapInfo` | `withSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)` The secret key that the initiator (e.g.
    `ChapInfo` | `withSecretToAuthenticateTarget(java.lang.String secretToAuthenticateTarget)` The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g.
    `ChapInfo` | `withTargetARN(java.lang.String targetARN)` The Amazon Resource Name (ARN) of the volume.

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

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

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

    - #### ChapInfo

          public ChapInfo()

  - ### メソッドの詳細

    - #### getTargetARN

          public java.lang.String getTargetARN()

      The Amazon Resource Name (ARN) of the volume.

      Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

      Constraints:
      Length: 50 - 800

      戻り値:
        The Amazon Resource Name (ARN) of the volume.

        Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

    - #### setTargetARN

          public void setTargetARN(java.lang.String targetARN)

      The Amazon Resource Name (ARN) of the volume.

      Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

      Constraints:
      Length: 50 - 800

      パラメータ:
        `targetARN` - The Amazon Resource Name (ARN) of the volume.

        Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

    - #### withTargetARN

          public ChapInfo withTargetARN(java.lang.String targetARN)

      The Amazon Resource Name (ARN) of the volume.

      Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

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

      Constraints:
      Length: 50 - 800

      パラメータ:
        `targetARN` - The Amazon Resource Name (ARN) of the volume.

        Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

    - #### getSecretToAuthenticateInitiator

          public java.lang.String getSecretToAuthenticateInitiator()

      The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.

      Constraints:
      Length: 12 - 16

      戻り値:
        The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.

    - #### setSecretToAuthenticateInitiator

          public void setSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)

      The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.

      Constraints:
      Length: 12 - 16

      パラメータ:
        `secretToAuthenticateInitiator` - The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.

    - #### withSecretToAuthenticateInitiator

          public ChapInfo withSecretToAuthenticateInitiator(java.lang.String secretToAuthenticateInitiator)

      The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.

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

      Constraints:
      Length: 12 - 16

      パラメータ:
        `secretToAuthenticateInitiator` - The secret key that the initiator (e.g. Windows client) must provide to participate in mutual CHAP with the target.

    - #### getInitiatorName

          public java.lang.String getInitiatorName()

      The iSCSI initiator that connects to the target.

      Constraints:
      Length: 1 - 255
      Pattern: [0-9a-z:.-]+

      戻り値:
        The iSCSI initiator that connects to the target.

    - #### setInitiatorName

          public void setInitiatorName(java.lang.String initiatorName)

      The iSCSI initiator that connects to the target.

      Constraints:
      Length: 1 - 255
      Pattern: [0-9a-z:.-]+

      パラメータ:
        `initiatorName` - The iSCSI initiator that connects to the target.

    - #### withInitiatorName

          public ChapInfo withInitiatorName(java.lang.String initiatorName)

      The iSCSI initiator that connects to the target.

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

      Constraints:
      Length: 1 - 255
      Pattern: [0-9a-z:.-]+

      パラメータ:
        `initiatorName` - The iSCSI initiator that connects to the target.

    - #### getSecretToAuthenticateTarget

          public java.lang.String getSecretToAuthenticateTarget()

      The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

      Constraints:
      Length: 12 - 16

      戻り値:
        The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

    - #### setSecretToAuthenticateTarget

          public void setSecretToAuthenticateTarget(java.lang.String secretToAuthenticateTarget)

      The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

      Constraints:
      Length: 12 - 16

      パラメータ:
        `secretToAuthenticateTarget` - The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

    - #### withSecretToAuthenticateTarget

          public ChapInfo withSecretToAuthenticateTarget(java.lang.String secretToAuthenticateTarget)

      The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

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

      Constraints:
      Length: 12 - 16

      パラメータ:
        `secretToAuthenticateTarget` - The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).

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