UpdateSapVirtualInstanceRequest Class
- java.
lang. Object - com.
azure. resourcemanager. workloadssapvirtualinstance. models. UpdateSapVirtualInstanceRequest
- com.
Implements
public final class UpdateSapVirtualInstanceRequest
implements JsonSerializable<UpdateSapVirtualInstanceRequest>
Defines the request body for updating Virtual Instance for SAP.
Constructor Summary
| Constructor | Description |
|---|---|
| UpdateSapVirtualInstanceRequest() |
Creates an instance of Update |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Update |
fromJson(JsonReader jsonReader)
Reads an instance of Update |
|
SAPVirtual |
identity()
Get the identity property: Managed service identity (user assigned identities). |
|
Update |
properties()
Get the properties property: The update properties. |
| Map<String,String> |
tags()
Get the tags property: Gets or sets the Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Update |
withIdentity(SAPVirtualInstanceIdentity identity)
Set the identity property: Managed service identity (user assigned identities). |
|
Update |
withProperties(UpdateSapVirtualInstanceProperties properties)
Set the properties property: The update properties. |
|
Update |
withTags(Map<String,String> tags)
Set the tags property: Gets or sets the Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
UpdateSapVirtualInstanceRequest
public UpdateSapVirtualInstanceRequest()
Creates an instance of UpdateSapVirtualInstanceRequest class.
Method Details
fromJson
public static UpdateSapVirtualInstanceRequest fromJson(JsonReader jsonReader)
Reads an instance of UpdateSapVirtualInstanceRequest from the JsonReader.
Parameters:
Returns:
Throws:
identity
public SAPVirtualInstanceIdentity identity()
Get the identity property: Managed service identity (user assigned identities).
Returns:
properties
public UpdateSapVirtualInstanceProperties properties()
Get the properties property: The update properties.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Gets or sets the Resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIdentity
public UpdateSapVirtualInstanceRequest withIdentity(SAPVirtualInstanceIdentity identity)
Set the identity property: Managed service identity (user assigned identities).
Parameters:
Returns:
withProperties
public UpdateSapVirtualInstanceRequest withProperties(UpdateSapVirtualInstanceProperties properties)
Set the properties property: The update properties.
Parameters:
Returns:
withTags
public UpdateSapVirtualInstanceRequest withTags(Map<String,String> tags)
Set the tags property: Gets or sets the Resource tags.
Parameters:
Returns: