다음을 통해 공유


NWRuleSetVirtualNetworkRules Class

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

Implements

public final class NWRuleSetVirtualNetworkRules
implements JsonSerializable<NWRuleSetVirtualNetworkRules>

Description of VirtualNetworkRules - NetworkRules resource.

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