Interface CreateKeyPairResponse.Builder

  • Method Details

    • 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.
    • keyPair

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

      This is a convenience method that creates an instance of the KeyPair.Builder avoiding the need to create one manually via KeyPair.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to keyPair(KeyPair).

      Parameters:
      keyPair - a consumer that will call methods on KeyPair.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.
    • 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.

      This is a convenience method that creates an instance of the Operation.Builder avoiding the need to create one manually via Operation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to operation(Operation).

      Parameters:
      operation - a consumer that will call methods on Operation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: