Interface InstanceCredentials.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InstanceCredentials.Builder,InstanceCredentials>, SdkBuilder<InstanceCredentials.Builder,InstanceCredentials>, SdkPojo
Enclosing class:
InstanceCredentials

public static interface InstanceCredentials.Builder extends SdkPojo, CopyableBuilder<InstanceCredentials.Builder,InstanceCredentials>
  • Method Details

    • 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

      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.