Class WordpressInstanceResourceProperties
java.lang.Object
com.azure.resourcemanager.workloads.fluent.models.WordpressInstanceResourceProperties
WordPress instance properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the databaseName property: Database name used by the application.Get the databaseUser property: User name used by the application to connect to database.Get the provisioningState property: WordPress instance provisioning state.siteUrl()
Get the siteUrl property: Site Url to access the WordPress application.void
validate()
Validates the instance.version()
Get the version property: Application version.withDatabaseName
(String databaseName) Set the databaseName property: Database name used by the application.withDatabaseUser
(String databaseUser) Set the databaseUser property: User name used by the application to connect to database.withVersion
(WordpressVersions version) Set the version property: Application version.
-
Constructor Details
-
WordpressInstanceResourceProperties
public WordpressInstanceResourceProperties()
-
-
Method Details
-
version
Get the version property: Application version.- Returns:
- the version value.
-
withVersion
Set the version property: Application version.- Parameters:
version
- the version value to set.- Returns:
- the WordpressInstanceResourceProperties object itself.
-
databaseName
Get the databaseName property: Database name used by the application.- Returns:
- the databaseName value.
-
withDatabaseName
Set the databaseName property: Database name used by the application.- Parameters:
databaseName
- the databaseName value to set.- Returns:
- the WordpressInstanceResourceProperties object itself.
-
databaseUser
Get the databaseUser property: User name used by the application to connect to database.- Returns:
- the databaseUser value.
-
withDatabaseUser
Set the databaseUser property: User name used by the application to connect to database.- Parameters:
databaseUser
- the databaseUser value to set.- Returns:
- the WordpressInstanceResourceProperties object itself.
-
siteUrl
Get the siteUrl property: Site Url to access the WordPress application.- Returns:
- the siteUrl value.
-
provisioningState
Get the provisioningState property: WordPress instance provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-