Class AzPowerShellSetup
java.lang.Object
com.azure.resourcemanager.datafactory.models.CustomSetupBase
com.azure.resourcemanager.datafactory.models.AzPowerShellSetup
The express custom setup of installing Azure PowerShell.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.version()
Get the version property: The required version of Azure PowerShell to install.withVersion
(String version) Set the version property: The required version of Azure PowerShell to install.
-
Constructor Details
-
AzPowerShellSetup
public AzPowerShellSetup()Creates an instance of AzPowerShellSetup class.
-
-
Method Details
-
version
Get the version property: The required version of Azure PowerShell to install.- Returns:
- the version value.
-
withVersion
Set the version property: The required version of Azure PowerShell to install.- Parameters:
version
- the version value to set.- Returns:
- the AzPowerShellSetup object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCustomSetupBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-