NWRuleSetVirtualNetworkRules Class

  • java.lang.Object
    • com.azure.resourcemanager.eventhubs.models.NWRuleSetVirtualNetworkRules

Implements

public final class NWRuleSetVirtualNetworkRules
implements JsonSerializable<NWRuleSetVirtualNetworkRules>

The response from the List namespace operation.

Constructor Summary

Constructor Description
NWRuleSetVirtualNetworkRules()

Creates an instance of NWRuleSetVirtualNetworkRules class.

Method Summary

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

Reads an instance of NWRuleSetVirtualNetworkRules from the JsonReader.

Boolean ignoreMissingVnetServiceEndpoint()

Get the ignoreMissingVnetServiceEndpoint property: Value that indicates whether to ignore missing Vnet Service Endpoint.

Subnet subnet()

Get the subnet property: Subnet properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NWRuleSetVirtualNetworkRules withIgnoreMissingVnetServiceEndpoint(Boolean ignoreMissingVnetServiceEndpoint)

Set the ignoreMissingVnetServiceEndpoint property: Value that indicates whether to ignore missing Vnet Service Endpoint.

NWRuleSetVirtualNetworkRules withSubnet(Subnet subnet)

Set the subnet property: Subnet properties.

Methods inherited from java.lang.Object

Constructor Details

NWRuleSetVirtualNetworkRules

public NWRuleSetVirtualNetworkRules()

Creates an instance of NWRuleSetVirtualNetworkRules class.

Method Details

fromJson

public static NWRuleSetVirtualNetworkRules fromJson(JsonReader jsonReader)

Reads an instance of NWRuleSetVirtualNetworkRules from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ignoreMissingVnetServiceEndpoint

public Boolean ignoreMissingVnetServiceEndpoint()

Get the ignoreMissingVnetServiceEndpoint property: Value that indicates whether to ignore missing Vnet Service Endpoint.

Returns:

the ignoreMissingVnetServiceEndpoint value.

subnet

public Subnet subnet()

Get the subnet property: Subnet properties.

Returns:

the subnet value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIgnoreMissingVnetServiceEndpoint

public NWRuleSetVirtualNetworkRules withIgnoreMissingVnetServiceEndpoint(Boolean ignoreMissingVnetServiceEndpoint)

Set the ignoreMissingVnetServiceEndpoint property: Value that indicates whether to ignore missing Vnet Service Endpoint.

Parameters:

ignoreMissingVnetServiceEndpoint - the ignoreMissingVnetServiceEndpoint value to set.

Returns:

the NWRuleSetVirtualNetworkRules object itself.

withSubnet

public NWRuleSetVirtualNetworkRules withSubnet(Subnet subnet)

Set the subnet property: Subnet properties.

Parameters:

subnet - the subnet value to set.

Returns:

the NWRuleSetVirtualNetworkRules object itself.

Applies to