Share via


JobResourceList Class

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

Implements

public final class JobResourceList
implements JsonSerializable<JobResourceList>

Job Resource Collection.

Constructor Summary

Constructor Description
JobResourceList()

Creates an instance of JobResourceList class.

Method Summary

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

Reads an instance of JobResourceList from the JsonReader.

String nextLink()

Get the nextLink property: Link for the next set of job resources.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<JobResourceInner> value()

Get the value property: List of job resources.

JobResourceList withNextLink(String nextLink)

Set the nextLink property: Link for the next set of job resources.

JobResourceList withValue(List<JobResourceInner> value)

Set the value property: List of job resources.

Methods inherited from java.lang.Object

Constructor Details

JobResourceList

public JobResourceList()

Creates an instance of JobResourceList class.

Method Details

fromJson

public static JobResourceList fromJson(JsonReader jsonReader)

Reads an instance of JobResourceList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Link for the next set of job resources.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<JobResourceInner> value()

Get the value property: List of job resources.

Returns:

the value value.

withNextLink

public JobResourceList withNextLink(String nextLink)

Set the nextLink property: Link for the next set of job resources.

Parameters:

nextLink - the nextLink value to set.

Returns:

the JobResourceList object itself.

withValue

public JobResourceList withValue(List<JobResourceInner> value)

Set the value property: List of job resources.

Parameters:

value - the value value to set.

Returns:

the JobResourceList object itself.

Applies to