QueryRequestOptions Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.QueryRequestOptions

Implements

public final class QueryRequestOptions
implements JsonSerializable<QueryRequestOptions>

Query Request Options.

Constructor Summary

Constructor Description
QueryRequestOptions()

Creates an instance of QueryRequestOptions class.

Method Summary

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

Reads an instance of QueryRequestOptions from the JsonReader.

String skipToken()

Get the skipToken property: When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

QueryRequestOptions withSkipToken(String skipToken)

Set the skipToken property: When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.

Methods inherited from java.lang.Object

Constructor Details

QueryRequestOptions

public QueryRequestOptions()

Creates an instance of QueryRequestOptions class.

Method Details

fromJson

public static QueryRequestOptions fromJson(JsonReader jsonReader)

Reads an instance of QueryRequestOptions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

skipToken

public String skipToken()

Get the skipToken property: When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.

Returns:

the skipToken value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSkipToken

public QueryRequestOptions withSkipToken(String skipToken)

Set the skipToken property: When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.

Parameters:

skipToken - the skipToken value to set.

Returns:

the QueryRequestOptions object itself.

Applies to