public final class DatabaseProperties extends Object
| Constructor and Description |
|---|
DatabaseProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
charset()
Get the charset property: The charset of the database.
|
String |
collation()
Get the collation property: The collation of the database.
|
void |
validate()
Validates the instance.
|
DatabaseProperties |
withCharset(String charset)
Set the charset property: The charset of the database.
|
DatabaseProperties |
withCollation(String collation)
Set the collation property: The collation of the database.
|
public String charset()
public DatabaseProperties withCharset(String charset)
charset - the charset value to set.public String collation()
public DatabaseProperties withCollation(String collation)
collation - the collation value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.