Class ChapInfo

    • Method Detail

      • targetARN

        public final String targetARN()

        The Amazon Resource Name (ARN) of the volume.

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

        Returns:
        The Amazon Resource Name (ARN) of the volume.

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

      • secretToAuthenticateInitiator

        public final String secretToAuthenticateInitiator()

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

        Returns:
        The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
      • initiatorName

        public final String initiatorName()

        The iSCSI initiator that connects to the target.

        Returns:
        The iSCSI initiator that connects to the target.
      • secretToAuthenticateTarget

        public final String secretToAuthenticateTarget()

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

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

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)