Class NWRuleSetVirtualNetworkRules
- java.lang.Object
-
- com.azure.resourcemanager.servicebus.models.NWRuleSetVirtualNetworkRules
-
public final class NWRuleSetVirtualNetworkRules extends Object
Description of VirtualNetworkRules - NetworkRules resource.
-
-
Constructor Summary
Constructors Constructor Description NWRuleSetVirtualNetworkRules()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanignoreMissingVnetServiceEndpoint()Get the ignoreMissingVnetServiceEndpoint property: Value that indicates whether to ignore missing VNet Service Endpoint.Subnetsubnet()Get the subnet property: Subnet properties.voidvalidate()Validates the instance.NWRuleSetVirtualNetworkRuleswithIgnoreMissingVnetServiceEndpoint(Boolean ignoreMissingVnetServiceEndpoint)Set the ignoreMissingVnetServiceEndpoint property: Value that indicates whether to ignore missing VNet Service Endpoint.NWRuleSetVirtualNetworkRuleswithSubnet(Subnet subnet)Set the subnet property: Subnet properties.
-
-
-
Method Detail
-
subnet
public Subnet subnet()
Get the subnet property: Subnet properties.- Returns:
- the subnet value.
-
withSubnet
public NWRuleSetVirtualNetworkRules withSubnet(Subnet subnet)
Set the subnet property: Subnet properties.- Parameters:
subnet- the subnet value to set.- Returns:
- the NWRuleSetVirtualNetworkRules object itself.
-
ignoreMissingVnetServiceEndpoint
public Boolean ignoreMissingVnetServiceEndpoint()
Get the ignoreMissingVnetServiceEndpoint property: Value that indicates whether to ignore missing VNet Service Endpoint.- Returns:
- the ignoreMissingVnetServiceEndpoint value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-