ReplaceAllIpFirewallRulesRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.models.ReplaceAllIpFirewallRulesRequest

Implements

public final class ReplaceAllIpFirewallRulesRequest
implements JsonSerializable<ReplaceAllIpFirewallRulesRequest>

Replace all IP firewall rules request.

Constructor Summary

Constructor Description
ReplaceAllIpFirewallRulesRequest()

Creates an instance of ReplaceAllIpFirewallRulesRequest class.

Method Summary

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

Reads an instance of ReplaceAllIpFirewallRulesRequest from the JsonReader.

Map<String,IpFirewallRuleProperties> ipFirewallRules()

Get the ipFirewallRules property: IP firewall rule properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ReplaceAllIpFirewallRulesRequest withIpFirewallRules(Map<String,IpFirewallRuleProperties> ipFirewallRules)

Set the ipFirewallRules property: IP firewall rule properties.

Methods inherited from java.lang.Object

Constructor Details

ReplaceAllIpFirewallRulesRequest

public ReplaceAllIpFirewallRulesRequest()

Creates an instance of ReplaceAllIpFirewallRulesRequest class.

Method Details

fromJson

public static ReplaceAllIpFirewallRulesRequest fromJson(JsonReader jsonReader)

Reads an instance of ReplaceAllIpFirewallRulesRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ipFirewallRules

public Map<String,IpFirewallRuleProperties> ipFirewallRules()

Get the ipFirewallRules property: IP firewall rule properties.

Returns:

the ipFirewallRules value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIpFirewallRules

public ReplaceAllIpFirewallRulesRequest withIpFirewallRules(Map<String,IpFirewallRuleProperties> ipFirewallRules)

Set the ipFirewallRules property: IP firewall rule properties.

Parameters:

ipFirewallRules - the ipFirewallRules value to set.

Returns:

the ReplaceAllIpFirewallRulesRequest object itself.

Applies to