Class AcceleratorSshSetting
java.lang.Object
com.azure.resourcemanager.appplatform.models.AcceleratorAuthSetting
com.azure.resourcemanager.appplatform.models.AcceleratorSshSetting
Auth setting for SSH auth.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhostKey()Get the hostKey property: Public SSH Key of git repository.Get the hostKeyAlgorithm property: SSH Key algorithm of git repository.Get the privateKey property: Private SSH Key algorithm of git repository.voidvalidate()Validates the instance.withHostKey(String hostKey) Set the hostKey property: Public SSH Key of git repository.withHostKeyAlgorithm(String hostKeyAlgorithm) Set the hostKeyAlgorithm property: SSH Key algorithm of git repository.withPrivateKey(String privateKey) Set the privateKey property: Private SSH Key algorithm of git repository.
-
Constructor Details
-
AcceleratorSshSetting
public AcceleratorSshSetting()Creates an instance of AcceleratorSshSetting class.
-
-
Method Details
-
hostKey
Get the hostKey property: Public SSH Key of git repository.- Returns:
- the hostKey value.
-
withHostKey
Set the hostKey property: Public SSH Key of git repository.- Parameters:
hostKey- the hostKey value to set.- Returns:
- the AcceleratorSshSetting object itself.
-
hostKeyAlgorithm
Get the hostKeyAlgorithm property: SSH Key algorithm of git repository.- Returns:
- the hostKeyAlgorithm value.
-
withHostKeyAlgorithm
Set the hostKeyAlgorithm property: SSH Key algorithm of git repository.- Parameters:
hostKeyAlgorithm- the hostKeyAlgorithm value to set.- Returns:
- the AcceleratorSshSetting object itself.
-
privateKey
Get the privateKey property: Private SSH Key algorithm of git repository.- Returns:
- the privateKey value.
-
withPrivateKey
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:
validatein classAcceleratorAuthSetting- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-