UpdateJobProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.fluent.models.UpdateJobProperties

Implements

public final class UpdateJobProperties
implements JsonSerializable<UpdateJobProperties>

Job Properties for update.

Constructor Summary

Constructor Description
UpdateJobProperties()

Creates an instance of UpdateJobProperties class.

Method Summary

Modifier and Type Method and Description
UpdateJobDetails details()

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

static UpdateJobProperties fromJson(JsonReader jsonReader)

Reads an instance of UpdateJobProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

UpdateJobProperties withDetails(UpdateJobDetails details)

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

Methods inherited from java.lang.Object

Constructor Details

UpdateJobProperties

public UpdateJobProperties()

Creates an instance of UpdateJobProperties 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 UpdateJobProperties fromJson(JsonReader jsonReader)

Reads an instance of UpdateJobProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDetails

public UpdateJobProperties withDetails(UpdateJobDetails details)

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

Parameters:

details - the details value to set.

Returns:

the UpdateJobProperties object itself.

Applies to