UpsertManagedServerOperationParameters Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. UpsertManagedServerOperationParameters
- com.
Implements
public final class UpsertManagedServerOperationParameters
implements JsonSerializable<UpsertManagedServerOperationParameters>
The UpsertManagedServerOperationParameters model.
Constructor Summary
Constructor | Description |
---|---|
UpsertManagedServerOperationParameters() |
Creates an instance of Upsert |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
family()
Get the family property: The family property. |
static
Upsert |
fromJson(JsonReader jsonReader)
Reads an instance of Upsert |
Integer |
storageSizeInGB()
Get the storage |
String |
tier()
Get the tier property: The tier property. |
Json |
toJson(JsonWriter jsonWriter) |
Integer |
vCores()
Get the v |
void |
validate()
Validates the instance. |
Upsert |
withFamily(String family)
Set the family property: The family property. |
Upsert |
withStorageSizeInGB(Integer storageSizeInGB)
Set the storage |
Upsert |
withTier(String tier)
Set the tier property: The tier property. |
Upsert |
withVCores(Integer vCores)
Set the v |
Methods inherited from java.lang.Object
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:
fromJson
public static UpsertManagedServerOperationParameters fromJson(JsonReader jsonReader)
Reads an instance of UpsertManagedServerOperationParameters from the JsonReader.
Parameters:
Returns:
Throws:
storageSizeInGB
public Integer storageSizeInGB()
Get the storageSizeInGB property: The storageSizeInGB property.
Returns:
tier
public String tier()
Get the tier property: The tier property.
Returns:
toJson
vCores
public Integer vCores()
Get the vCores property: The vCores property.
Returns:
validate
public void validate()
Validates the instance.
withFamily
public UpsertManagedServerOperationParameters withFamily(String family)
Set the family property: The family property.
Parameters:
Returns:
withStorageSizeInGB
public UpsertManagedServerOperationParameters withStorageSizeInGB(Integer storageSizeInGB)
Set the storageSizeInGB property: The storageSizeInGB property.
Parameters:
Returns:
withTier
public UpsertManagedServerOperationParameters withTier(String tier)
Set the tier property: The tier property.
Parameters:
Returns:
withVCores
public UpsertManagedServerOperationParameters withVCores(Integer vCores)
Set the vCores property: The vCores property.
Parameters:
Returns: