UpdateSapCentralInstanceRequest Class

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

Implements

public final class UpdateSapCentralInstanceRequest
implements JsonSerializable<UpdateSapCentralInstanceRequest>

Defines the request body for updating SAP Central Instance.

Constructor Summary

Constructor Description
UpdateSapCentralInstanceRequest()

Creates an instance of UpdateSapCentralInstanceRequest class.

Method Summary

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

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

UpdateSapCentralInstanceRequest withTags(Map<String,String> tags)

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

Methods inherited from java.lang.Object

Constructor Details

UpdateSapCentralInstanceRequest

public UpdateSapCentralInstanceRequest()

Creates an instance of UpdateSapCentralInstanceRequest class.

Method Details

fromJson

public static UpdateSapCentralInstanceRequest fromJson(JsonReader jsonReader)

Reads an instance of UpdateSapCentralInstanceRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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

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

Parameters:

tags - the tags value to set.

Returns:

the UpdateSapCentralInstanceRequest object itself.

Applies to