RedisFirewallRuleListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.redis.models.RedisFirewallRuleListResult

Implements

public final class RedisFirewallRuleListResult
implements JsonSerializable<RedisFirewallRuleListResult>

The response of list firewall rules Redis operation.

Constructor Summary

Constructor Description
RedisFirewallRuleListResult()

Creates an instance of RedisFirewallRuleListResult class.

Method Summary

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

Reads an instance of RedisFirewallRuleListResult from the JsonReader.

String nextLink()

Get the nextLink property: Link for next page of results.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<RedisFirewallRuleInner> value()

Get the value property: Results of the list firewall rules operation.

RedisFirewallRuleListResult withValue(List<RedisFirewallRuleInner> value)

Set the value property: Results of the list firewall rules operation.

Methods inherited from java.lang.Object

Constructor Details

RedisFirewallRuleListResult

public RedisFirewallRuleListResult()

Creates an instance of RedisFirewallRuleListResult class.

Method Details

fromJson

public static RedisFirewallRuleListResult fromJson(JsonReader jsonReader)

Reads an instance of RedisFirewallRuleListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Link for next page of results.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<RedisFirewallRuleInner> value()

Get the value property: Results of the list firewall rules operation.

Returns:

the value value.

withValue

public RedisFirewallRuleListResult withValue(List<RedisFirewallRuleInner> value)

Set the value property: Results of the list firewall rules operation.

Parameters:

value - the value value to set.

Returns:

the RedisFirewallRuleListResult object itself.

Applies to