Class NWRuleSetVirtualNetworkRules
java.lang.Object
com.azure.resourcemanager.eventhubs.models.NWRuleSetVirtualNetworkRules
The response from the List namespace operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the ignoreMissingVnetServiceEndpoint property: Value that indicates whether to ignore missing Vnet Service Endpoint.subnet()
Get the subnet property: Subnet properties.void
validate()
Validates the instance.withIgnoreMissingVnetServiceEndpoint
(Boolean ignoreMissingVnetServiceEndpoint) Set the ignoreMissingVnetServiceEndpoint property: Value that indicates whether to ignore missing Vnet Service Endpoint.withSubnet
(Subnet subnet) Set the subnet property: Subnet properties.
-
Constructor Details
-
NWRuleSetVirtualNetworkRules
public NWRuleSetVirtualNetworkRules()
-
-
Method Details
-
subnet
Get the subnet property: Subnet properties.- Returns:
- the subnet value.
-
withSubnet
Set the subnet property: Subnet properties.- Parameters:
subnet
- the subnet value to set.- Returns:
- the NWRuleSetVirtualNetworkRules object itself.
-
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.
-