مشاركة عبر


FirewallRuleList Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.FirewallRuleList

Implements

public final class FirewallRuleList
implements JsonSerializable<FirewallRuleList>

A list of server firewall rules.

Constructor Summary

Constructor Description
FirewallRuleList()

Creates an instance of FirewallRuleList class.

Method Summary

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

Reads an instance of FirewallRuleList from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<FirewallRuleInner> values()

Get the values property: The values property.

FirewallRuleList withValues(List<FirewallRuleInner> values)

Set the values property: The values property.

Methods inherited from java.lang.Object

Constructor Details

FirewallRuleList

public FirewallRuleList()

Creates an instance of FirewallRuleList class.

Method Details

fromJson

public static FirewallRuleList fromJson(JsonReader jsonReader)

Reads an instance of FirewallRuleList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

values

public List<FirewallRuleInner> values()

Get the values property: The values property.

Returns:

the values value.

withValues

public FirewallRuleList withValues(List<FirewallRuleInner> values)

Set the values property: The values property.

Parameters:

values - the values value to set.

Returns:

the FirewallRuleList object itself.

Applies to