Class DatabaseInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.mysqlflexibleserver.fluent.models.DatabaseInner
-
public final class DatabaseInner extends com.azure.core.management.ProxyResource
Represents a Database.
-
-
Constructor Summary
Constructors Constructor Description DatabaseInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
charset()
Get the charset property: The charset of the database.String
collation()
Get the collation property: The collation of the database.com.azure.core.management.SystemData
systemData()
Get the systemData property: The system metadata relating to this resource.void
validate()
Validates the instance.DatabaseInner
withCharset(String charset)
Set the charset property: The charset of the database.DatabaseInner
withCollation(String collation)
Set the collation property: The collation of the database.
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: The system metadata relating to this resource.- Returns:
- the systemData value.
-
charset
public String charset()
Get the charset property: The charset of the database.- Returns:
- the charset value.
-
withCharset
public DatabaseInner withCharset(String charset)
Set the charset property: The charset of the database.- Parameters:
charset
- the charset value to set.- Returns:
- the DatabaseInner object itself.
-
collation
public String collation()
Get the collation property: The collation of the database.- Returns:
- the collation value.
-
withCollation
public DatabaseInner withCollation(String collation)
Set the collation property: The collation of the database.- Parameters:
collation
- the collation value to set.- Returns:
- the DatabaseInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-