次の方法で共有


JobResourceUpdateParameter Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.JobResourceUpdateParameter

Implements

public final class JobResourceUpdateParameter
implements JsonSerializable<JobResourceUpdateParameter>

The JobResourceUpdateParameter.

Constructor Summary

Constructor Description
JobResourceUpdateParameter()

Creates an instance of JobResourceUpdateParameter class.

Method Summary

Modifier and Type Method and Description
UpdateJobDetails details()

Get the details property: Details of a job to be updated.

static JobResourceUpdateParameter fromJson(JsonReader jsonReader)

Reads an instance of JobResourceUpdateParameter from the JsonReader.

ResourceIdentity identity()

Get the identity property: Msi identity of the resource.

Map<String,String> tags()

Get the tags property: The list of key value pairs that describe the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

JobResourceUpdateParameter withDetails(UpdateJobDetails details)

Set the details property: Details of a job to be updated.

JobResourceUpdateParameter withIdentity(ResourceIdentity identity)

Set the identity property: Msi identity of the resource.

JobResourceUpdateParameter withTags(Map<String,String> tags)

Set the tags property: The list of key value pairs that describe the resource.

Methods inherited from java.lang.Object

Constructor Details

JobResourceUpdateParameter

public JobResourceUpdateParameter()

Creates an instance of JobResourceUpdateParameter class.

Method Details

details

public UpdateJobDetails details()

Get the details property: Details of a job to be updated.

Returns:

the details value.

fromJson

public static JobResourceUpdateParameter fromJson(JsonReader jsonReader)

Reads an instance of JobResourceUpdateParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

identity

public ResourceIdentity identity()

Get the identity property: Msi identity of the resource.

Returns:

the identity value.

tags

public Map<String,String> tags()

Get the tags property: The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDetails

public JobResourceUpdateParameter withDetails(UpdateJobDetails details)

Set the details property: Details of a job to be updated.

Parameters:

details - the details value to set.

Returns:

the JobResourceUpdateParameter object itself.

withIdentity

public JobResourceUpdateParameter withIdentity(ResourceIdentity identity)

Set the identity property: Msi identity of the resource.

Parameters:

identity - the identity value to set.

Returns:

the JobResourceUpdateParameter object itself.

withTags

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

Set the tags property: The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).

Parameters:

tags - the tags value to set.

Returns:

the JobResourceUpdateParameter object itself.

Applies to