Class JobCredentialProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.JobCredentialProperties
Properties of a job credential.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of JobCredentialProperties class. -
Method Summary
Modifier and TypeMethodDescriptionpassword()Get the password property: The credential password.username()Get the username property: The credential user name.voidvalidate()Validates the instance.withPassword(String password) Set the password property: The credential password.withUsername(String username) Set the username property: The credential user name.
-
Constructor Details
-
JobCredentialProperties
public JobCredentialProperties()Creates an instance of JobCredentialProperties class.
-
-
Method Details
-
username
Get the username property: The credential user name.- Returns:
- the username value.
-
withUsername
Set the username property: The credential user name.- Parameters:
username- the username value to set.- Returns:
- the JobCredentialProperties object itself.
-
password
Get the password property: The credential password.- Returns:
- the password value.
-
withPassword
Set the password property: The credential password.- Parameters:
password- the password value to set.- Returns:
- the JobCredentialProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-