Class SshPublicKey

    • Method Detail

      • dateImported

        public final Instant dateImported()

        Specifies the date that the public key was added to the Transfer Family user.

        Returns:
        Specifies the date that the public key was added to the Transfer Family user.
      • sshPublicKeyBody

        public final String sshPublicKeyBody()

        Specifies the content of the SSH public key as specified by the PublicKeyId.

        Transfer Family accepts RSA, ECDSA, and ED25519 keys.

        Returns:
        Specifies the content of the SSH public key as specified by the PublicKeyId.

        Transfer Family accepts RSA, ECDSA, and ED25519 keys.

      • sshPublicKeyId

        public final String sshPublicKeyId()

        Specifies the SshPublicKeyId parameter contains the identifier of the public key.

        Returns:
        Specifies the SshPublicKeyId parameter contains the identifier of the public key.
      • 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)