Class UpsertManagedServerOperationParameters
java.lang.Object
com.azure.resourcemanager.sql.models.UpsertManagedServerOperationParameters
The UpsertManagedServerOperationParameters model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of UpsertManagedServerOperationParameters class. -
Method Summary
Modifier and TypeMethodDescriptionfamily()Get the family property: The family property.Get the storageSizeInGB property: The storageSizeInGB property.tier()Get the tier property: The tier property.voidvalidate()Validates the instance.vCores()Get the vCores property: The vCores property.withFamily(String family) Set the family property: The family property.withStorageSizeInGB(Integer storageSizeInGB) Set the storageSizeInGB property: The storageSizeInGB property.Set the tier property: The tier property.withVCores(Integer vCores) Set the vCores property: The vCores property.
-
Constructor Details
-
UpsertManagedServerOperationParameters
public UpsertManagedServerOperationParameters()Creates an instance of UpsertManagedServerOperationParameters class.
-
-
Method Details
-
family
Get the family property: The family property.- Returns:
- the family value.
-
withFamily
Set the family property: The family property.- Parameters:
family- the family value to set.- Returns:
- the UpsertManagedServerOperationParameters object itself.
-
tier
Get the tier property: The tier property.- Returns:
- the tier value.
-
withTier
Set the tier property: The tier property.- Parameters:
tier- the tier value to set.- Returns:
- the UpsertManagedServerOperationParameters object itself.
-
vCores
Get the vCores property: The vCores property.- Returns:
- the vCores value.
-
withVCores
Set the vCores property: The vCores property.- Parameters:
vCores- the vCores value to set.- Returns:
- the UpsertManagedServerOperationParameters object itself.
-
storageSizeInGB
Get the storageSizeInGB property: The storageSizeInGB property.- Returns:
- the storageSizeInGB value.
-
withStorageSizeInGB
Set the storageSizeInGB property: The storageSizeInGB property.- Parameters:
storageSizeInGB- the storageSizeInGB value to set.- Returns:
- the UpsertManagedServerOperationParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-