Class ServerUpgradeParameters
- java.lang.Object
-
- com.azure.resourcemanager.mysql.models.ServerUpgradeParameters
-
public final class ServerUpgradeParameters extends Object
The ServerUpgradeParameters model.
-
-
Constructor Summary
Constructors Constructor Description ServerUpgradeParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtargetServerVersion()Get the targetServerVersion property: Represents an server storage profile.voidvalidate()Validates the instance.ServerUpgradeParameterswithTargetServerVersion(String targetServerVersion)Set the targetServerVersion property: Represents an server storage profile.
-
-
-
Method Detail
-
targetServerVersion
public String targetServerVersion()
Get the targetServerVersion property: Represents an server storage profile.- Returns:
- the targetServerVersion value.
-
withTargetServerVersion
public ServerUpgradeParameters withTargetServerVersion(String targetServerVersion)
Set the targetServerVersion property: Represents an server storage profile.- Parameters:
targetServerVersion- the targetServerVersion value to set.- Returns:
- the ServerUpgradeParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-