Class CmdkeySetup
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.CustomSetupBase
-
- com.azure.resourcemanager.datafactory.models.CmdkeySetup
-
public final class CmdkeySetup extends CustomSetupBase
The custom setup of running cmdkey commands.
-
-
Constructor Summary
Constructors Constructor Description CmdkeySetup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretBase
password()
Get the password property: The password of data source access.Object
targetName()
Get the targetName property: The server name of data source access.Object
username()
Get the username property: The user name of data source access.void
validate()
Validates the instance.CmdkeySetup
withPassword(SecretBase password)
Set the password property: The password of data source access.CmdkeySetup
withTargetName(Object targetName)
Set the targetName property: The server name of data source access.CmdkeySetup
withUsername(Object username)
Set the username property: The user name of data source access.
-
-
-
Method Detail
-
targetName
public Object targetName()
Get the targetName property: The server name of data source access.- Returns:
- the targetName value.
-
withTargetName
public CmdkeySetup withTargetName(Object targetName)
Set the targetName property: The server name of data source access.- Parameters:
targetName
- the targetName value to set.- Returns:
- the CmdkeySetup object itself.
-
username
public Object username()
Get the username property: The user name of data source access.- Returns:
- the username value.
-
withUsername
public CmdkeySetup withUsername(Object username)
Set the username property: The user name of data source access.- Parameters:
username
- the username value to set.- Returns:
- the CmdkeySetup object itself.
-
password
public SecretBase password()
Get the password property: The password of data source access.- Returns:
- the password value.
-
withPassword
public CmdkeySetup withPassword(SecretBase password)
Set the password property: The password of data source access.- Parameters:
password
- the password value to set.- Returns:
- the CmdkeySetup object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classCustomSetupBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-