Class DatabaseProperties
java.lang.Object
com.azure.resourcemanager.mariadb.fluent.models.DatabaseProperties
The properties of a database.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncharset()
Get the charset property: The charset of the database.Get the collation property: The collation of the database.void
validate()
Validates the instance.withCharset
(String charset) Set the charset property: The charset of the database.withCollation
(String collation) Set the collation property: The collation of the database.
-
Constructor Details
-
DatabaseProperties
public DatabaseProperties()Creates an instance of DatabaseProperties class.
-
-
Method Details
-
charset
Get the charset property: The charset of the database.- Returns:
- the charset value.
-
withCharset
Set the charset property: The charset of the database.- Parameters:
charset
- the charset value to set.- Returns:
- the DatabaseProperties object itself.
-
collation
Get the collation property: The collation of the database.- Returns:
- the collation value.
-
withCollation
Set the collation property: The collation of the database.- Parameters:
collation
- the collation value to set.- Returns:
- the DatabaseProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-