L2NetworkPatchParameters Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. L2NetworkPatchParameters
- com.
Implements
public final class L2NetworkPatchParameters
implements JsonSerializable<L2NetworkPatchParameters>
L2NetworkPatchParameters represents the body of the request to patch the L2 network.
Constructor Summary
| Constructor | Description |
|---|---|
| L2NetworkPatchParameters() |
Creates an instance of L2Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
L2Network |
fromJson(JsonReader jsonReader)
Reads an instance of L2Network |
| 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. |
|
L2Network |
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
L2NetworkPatchParameters
public L2NetworkPatchParameters()
Creates an instance of L2NetworkPatchParameters class.
Method Details
fromJson
public static L2NetworkPatchParameters fromJson(JsonReader jsonReader)
Reads an instance of L2NetworkPatchParameters from the JsonReader.
Parameters:
Returns:
Throws:
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.
withTags
public L2NetworkPatchParameters withTags(Map<String,String> tags)
Set the tags property: The Azure resource tags that will replace the existing ones.
Parameters:
Returns: