StorageAppliancePatchParameters Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. StorageAppliancePatchParameters
- com.
Implements
public final class StorageAppliancePatchParameters
implements JsonSerializable<StorageAppliancePatchParameters>
StorageAppliancePatchParameters represents the body of the request to patch storage appliance properties.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageAppliancePatchParameters() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
| String |
serialNumber()
Get the serial |
| Map<String,String> |
tags()
Get the tags property: The Azure resource tags that will replace the existing ones. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withSerialNumber(String serialNumber)
Set the serial |
|
Storage |
withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones. |
Methods inherited from java.lang.Object
Constructor Details
StorageAppliancePatchParameters
public StorageAppliancePatchParameters()
Creates an instance of StorageAppliancePatchParameters class.
Method Details
fromJson
public static StorageAppliancePatchParameters fromJson(JsonReader jsonReader)
Reads an instance of StorageAppliancePatchParameters from the JsonReader.
Parameters:
Returns:
Throws:
serialNumber
public String serialNumber()
Get the serialNumber property: The serial number for the storage appliance.
Returns:
tags
public Map<String,String> tags()
Get the tags property: The Azure resource tags that will replace the existing ones.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSerialNumber
public StorageAppliancePatchParameters withSerialNumber(String serialNumber)
Set the serialNumber property: The serial number for the storage appliance.
Parameters:
Returns:
withTags
public StorageAppliancePatchParameters withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones.
Parameters:
Returns: