مشاركة عبر


JobAgentUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.JobAgentUpdate

Implements

public final class JobAgentUpdate
implements JsonSerializable<JobAgentUpdate>

An update to an Azure SQL job agent.

Constructor Summary

Constructor Description
JobAgentUpdate()

Creates an instance of JobAgentUpdate class.

Method Summary

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

Reads an instance of JobAgentUpdate from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

JobAgentUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

JobAgentUpdate

public JobAgentUpdate()

Creates an instance of JobAgentUpdate class.

Method Details

fromJson

public static JobAgentUpdate fromJson(JsonReader jsonReader)

Reads an instance of JobAgentUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTags

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

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the JobAgentUpdate object itself.

Applies to