InstancePatchModel Class
- java.
lang. Object - com.
azure. resourcemanager. iotoperations. models. InstancePatchModel
- com.
Implements
public final class InstancePatchModel
implements JsonSerializable<InstancePatchModel>
The Instance update model.
Constructor Summary
| Constructor | Description |
|---|---|
| InstancePatchModel() |
Creates an instance of Instance |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Instance |
fromJson(JsonReader jsonReader)
Reads an instance of Instance |
|
Managed |
identity()
Get the identity property: The managed service identities assigned to this resource. |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Instance |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The managed service identities assigned to this resource. |
|
Instance |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
InstancePatchModel
public InstancePatchModel()
Creates an instance of InstancePatchModel class.
Method Details
fromJson
public static InstancePatchModel fromJson(JsonReader jsonReader)
Reads an instance of InstancePatchModel from the JsonReader.
Parameters:
Returns:
Throws:
identity
public ManagedServiceIdentity identity()
Get the identity property: The managed service identities assigned to this resource.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
withIdentity
public InstancePatchModel withIdentity(ManagedServiceIdentity identity)
Set the identity property: The managed service identities assigned to this resource.
Parameters:
Returns:
withTags
public InstancePatchModel withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: