UpdateSapDatabaseInstanceRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.workloads.models.UpdateSapDatabaseInstanceRequest

Implements

public final class UpdateSapDatabaseInstanceRequest
implements JsonSerializable<UpdateSapDatabaseInstanceRequest>

Defines the request body for updating SAP Database Instance.

Constructor Summary

Constructor Description
UpdateSapDatabaseInstanceRequest()

Creates an instance of UpdateSapDatabaseInstanceRequest class.

Method Summary

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

Reads an instance of UpdateSapDatabaseInstanceRequest 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.

UpdateSapDatabaseInstanceRequest withTags(Map<String,String> tags)

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

Methods inherited from java.lang.Object

Constructor Details

UpdateSapDatabaseInstanceRequest

public UpdateSapDatabaseInstanceRequest()

Creates an instance of UpdateSapDatabaseInstanceRequest class.

Method Details

fromJson

public static UpdateSapDatabaseInstanceRequest fromJson(JsonReader jsonReader)

Reads an instance of UpdateSapDatabaseInstanceRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UpdateSapDatabaseInstanceRequest 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 UpdateSapDatabaseInstanceRequest.

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 UpdateSapDatabaseInstanceRequest withTags(Map<String,String> tags)

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

Parameters:

tags - the tags value to set.

Returns:

the UpdateSapDatabaseInstanceRequest object itself.

Applies to