NWRuleSetVirtualNetworkRules Class
- java.
lang. Object - com.
azure. resourcemanager. servicebus. models. NWRuleSetVirtualNetworkRules
- com.
Implements
public final class NWRuleSetVirtualNetworkRules
implements JsonSerializable<NWRuleSetVirtualNetworkRules>
Description of VirtualNetworkRules - NetworkRules resource.
Constructor Summary
Constructor | Description |
---|---|
NWRuleSetVirtualNetworkRules() |
Creates an instance of NWRule |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
NWRule |
fromJson(JsonReader jsonReader)
Reads an instance of NWRule |
Boolean |
ignoreMissingVnetServiceEndpoint()
Get the ignore |
Subnet |
subnet()
Get the subnet property: Subnet properties. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
NWRule |
withIgnoreMissingVnetServiceEndpoint(Boolean ignoreMissingVnetServiceEndpoint)
Set the ignore |
NWRule |
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:
Returns:
Throws:
ignoreMissingVnetServiceEndpoint
public Boolean ignoreMissingVnetServiceEndpoint()
Get the ignoreMissingVnetServiceEndpoint property: Value that indicates whether to ignore missing VNet Service Endpoint.
Returns:
subnet
public Subnet subnet()
Get the subnet property: Subnet properties.
Returns:
toJson
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:
Returns:
withSubnet
public NWRuleSetVirtualNetworkRules withSubnet(Subnet subnet)
Set the subnet property: Subnet properties.
Parameters:
Returns:
Applies to
Azure SDK for Java