FirewallRuleInner Class

public final class FirewallRuleInner
extends SubResource

Data Lake Analytics firewall rule information.

Constructor Summary

Constructor Description
FirewallRuleInner()

Creates an instance of FirewallRuleInner class.

Method Summary

Modifier and Type Method and Description
String endIpAddress()

Get the endIpAddress property: The end IP address for the firewall rule.

static FirewallRuleInner fromJson(JsonReader jsonReader)

Reads an instance of FirewallRuleInner from the JsonReader.

String name()

Get the name property: The resource name.

String startIpAddress()

Get the startIpAddress property: The start IP address for the firewall rule.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type.

void validate()

Validates the instance.

FirewallRuleInner withId(String id)

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

FirewallRuleInner

public FirewallRuleInner()

Creates an instance of FirewallRuleInner class.

Method Details

endIpAddress

public String endIpAddress()

Get the endIpAddress property: The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.

Returns:

the endIpAddress value.

fromJson

public static FirewallRuleInner fromJson(JsonReader jsonReader)

Reads an instance of FirewallRuleInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The resource name.

Returns:

the name value.

startIpAddress

public String startIpAddress()

Get the startIpAddress property: The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.

Returns:

the startIpAddress value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

FirewallRuleInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public FirewallRuleInner withId(String id)

Overrides:

FirewallRuleInner.withId(String id)

Parameters:

id

Applies to