Class UpsertManagedServerOperationParameters

java.lang.Object
com.azure.resourcemanager.sql.models.UpsertManagedServerOperationParameters

public final class UpsertManagedServerOperationParameters extends Object
The UpsertManagedServerOperationParameters model.
  • Constructor Details

    • UpsertManagedServerOperationParameters

      public UpsertManagedServerOperationParameters()
      Creates an instance of UpsertManagedServerOperationParameters class.
  • Method Details

    • family

      public String family()
      Get the family property: The family property.
      Returns:
      the family value.
    • withFamily

      public UpsertManagedServerOperationParameters withFamily(String family)
      Set the family property: The family property.
      Parameters:
      family - the family value to set.
      Returns:
      the UpsertManagedServerOperationParameters object itself.
    • tier

      public String 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

      public Integer vCores()
      Get the vCores property: The vCores property.
      Returns:
      the vCores value.
    • withVCores

      public UpsertManagedServerOperationParameters withVCores(Integer vCores)
      Set the vCores property: The vCores property.
      Parameters:
      vCores - the vCores value to set.
      Returns:
      the UpsertManagedServerOperationParameters object itself.
    • storageSizeInGB

      public Integer storageSizeInGB()
      Get the storageSizeInGB property: The storageSizeInGB property.
      Returns:
      the storageSizeInGB value.
    • withStorageSizeInGB

      public UpsertManagedServerOperationParameters withStorageSizeInGB(Integer storageSizeInGB)
      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.