Class CreateKeyPairResponse

    • Method Detail

      • keyPair

        public final KeyPair keyPair()

        An array of key-value pairs containing information about the new key pair you just created.

        Returns:
        An array of key-value pairs containing information about the new key pair you just created.
      • publicKeyBase64

        public final String publicKeyBase64()

        A base64-encoded public key of the ssh-rsa type.

        Returns:
        A base64-encoded public key of the ssh-rsa type.
      • privateKeyBase64

        public final String privateKeyBase64()

        A base64-encoded RSA private key.

        Returns:
        A base64-encoded RSA private key.
      • operation

        public final Operation operation()

        An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

        Returns:
        An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
      • 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