Interface CreateKeyPairResponse.Builder

    • Method Detail

      • keyPair

        CreateKeyPairResponse.Builder keyPair​(KeyPair keyPair)

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

        Parameters:
        keyPair - An array of key-value pairs containing information about the new key pair you just created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicKeyBase64

        CreateKeyPairResponse.Builder publicKeyBase64​(String publicKeyBase64)

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

        Parameters:
        publicKeyBase64 - A base64-encoded public key of the ssh-rsa type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • privateKeyBase64

        CreateKeyPairResponse.Builder privateKeyBase64​(String privateKeyBase64)

        A base64-encoded RSA private key.

        Parameters:
        privateKeyBase64 - A base64-encoded RSA private key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operation

        CreateKeyPairResponse.Builder operation​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.