Class BasicLoginInformation
java.lang.Object
com.azure.resourcemanager.azurearcdata.models.BasicLoginInformation
Username and password for basic login authentication.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpassword()
Get the password property: Login password.username()
Get the username property: Login username.void
validate()
Validates the instance.withPassword
(String password) Set the password property: Login password.withUsername
(String username) Set the username property: Login username.
-
Constructor Details
-
BasicLoginInformation
public BasicLoginInformation()Creates an instance of BasicLoginInformation class.
-
-
Method Details
-
username
Get the username property: Login username.- Returns:
- the username value.
-
withUsername
Set the username property: Login username.- Parameters:
username
- the username value to set.- Returns:
- the BasicLoginInformation object itself.
-
password
Get the password property: Login password.- Returns:
- the password value.
-
withPassword
Set the password property: Login password.- Parameters:
password
- the password value to set.- Returns:
- the BasicLoginInformation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-