UpdateSapApplicationInstanceRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.workloadssapvirtualinstance.models.UpdateSapApplicationInstanceRequest

Implements

public final class UpdateSapApplicationInstanceRequest
implements JsonSerializable<UpdateSapApplicationInstanceRequest>

Defines the request body for updating SAP Application Instance.

Constructor Summary

Constructor Description
UpdateSapApplicationInstanceRequest()

Creates an instance of UpdateSapApplicationInstanceRequest class.

Method Summary

Modifier and Type Method and Description
static UpdateSapApplicationInstanceRequest fromJson(JsonReader jsonReader)

Reads an instance of UpdateSapApplicationInstanceRequest from the JsonReader.

Map<String,String> tags()

Get the tags property: Gets or sets the Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

UpdateSapApplicationInstanceRequest withTags(Map<String,String> tags)

Set the tags property: Gets or sets the Resource tags.

Methods inherited from java.lang.Object

Constructor Details

UpdateSapApplicationInstanceRequest

public UpdateSapApplicationInstanceRequest()

Creates an instance of UpdateSapApplicationInstanceRequest class.

Method Details

fromJson

public static UpdateSapApplicationInstanceRequest fromJson(JsonReader jsonReader)

Reads an instance of UpdateSapApplicationInstanceRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UpdateSapApplicationInstanceRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the UpdateSapApplicationInstanceRequest.

tags

public Map<String,String> tags()

Get the tags property: Gets or sets the Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTags

public UpdateSapApplicationInstanceRequest withTags(Map<String,String> tags)

Set the tags property: Gets or sets the Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the UpdateSapApplicationInstanceRequest object itself.

Applies to