Class AcceleratorSshSetting

java.lang.Object
com.azure.resourcemanager.appplatform.models.AcceleratorAuthSetting
com.azure.resourcemanager.appplatform.models.AcceleratorSshSetting

public final class AcceleratorSshSetting extends AcceleratorAuthSetting
Auth setting for SSH auth.
  • Constructor Details

    • AcceleratorSshSetting

      public AcceleratorSshSetting()
      Creates an instance of AcceleratorSshSetting class.
  • Method Details

    • hostKey

      public String hostKey()
      Get the hostKey property: Public SSH Key of git repository.
      Returns:
      the hostKey value.
    • withHostKey

      public AcceleratorSshSetting withHostKey(String hostKey)
      Set the hostKey property: Public SSH Key of git repository.
      Parameters:
      hostKey - the hostKey value to set.
      Returns:
      the AcceleratorSshSetting object itself.
    • hostKeyAlgorithm

      public String hostKeyAlgorithm()
      Get the hostKeyAlgorithm property: SSH Key algorithm of git repository.
      Returns:
      the hostKeyAlgorithm value.
    • withHostKeyAlgorithm

      public AcceleratorSshSetting withHostKeyAlgorithm(String hostKeyAlgorithm)
      Set the hostKeyAlgorithm property: SSH Key algorithm of git repository.
      Parameters:
      hostKeyAlgorithm - the hostKeyAlgorithm value to set.
      Returns:
      the AcceleratorSshSetting object itself.
    • privateKey

      public String privateKey()
      Get the privateKey property: Private SSH Key algorithm of git repository.
      Returns:
      the privateKey value.
    • withPrivateKey

      public AcceleratorSshSetting withPrivateKey(String privateKey)
      Set the privateKey property: Private SSH Key algorithm of git repository.
      Parameters:
      privateKey - the privateKey value to set.
      Returns:
      the AcceleratorSshSetting object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class AcceleratorAuthSetting
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.