Class PublicKeySummary

    • Method Detail

      • id

        public final String id()

        The identifier of the public key.

        Returns:
        The identifier of the public key.
      • name

        public final String name()

        A name to help identify the public key.

        Returns:
        A name to help identify the public key.
      • createdTime

        public final Instant createdTime()

        The date and time when the public key was uploaded.

        Returns:
        The date and time when the public key was uploaded.
      • encodedKey

        public final String encodedKey()

        The public key.

        Returns:
        The public key.
      • comment

        public final String comment()

        A comment to describe the public key. The comment cannot be longer than 128 characters.

        Returns:
        A comment to describe the public key. The comment cannot be longer than 128 characters.
      • 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)