Interface InstanceCredentials.Builder

    • Method Detail

      • userName

        InstanceCredentials.Builder userName​(String userName)

        A user name for logging in.

        Parameters:
        userName - A user name for logging in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • secret

        InstanceCredentials.Builder secret​(String secret)

        Secret string. For Windows instances, the secret is a password for use with Windows Remote Desktop. For Linux instances, it's a private key for use with SSH.

        Parameters:
        secret - Secret string. For Windows instances, the secret is a password for use with Windows Remote Desktop. For Linux instances, it's a private key for use with SSH.
        Returns:
        Returns a reference to this object so that method calls can be chained together.