Class ResourceSet
java.lang.Object
com.azure.resourcemanager.network.models.ResourceSet
- Direct Known Subclasses:
PrivateLinkServicePropertiesAutoApproval,PrivateLinkServicePropertiesVisibility
The base resource set for visibility and auto-approval.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the subscriptions property: The list of subscriptions.voidvalidate()Validates the instance.withSubscriptions(List<String> subscriptions) Set the subscriptions property: The list of subscriptions.
-
Constructor Details
-
ResourceSet
public ResourceSet()Creates an instance of ResourceSet class.
-
-
Method Details
-
subscriptions
Get the subscriptions property: The list of subscriptions.- Returns:
- the subscriptions value.
-
withSubscriptions
Set the subscriptions property: The list of subscriptions.- Parameters:
subscriptions- the subscriptions value to set.- Returns:
- the ResourceSet object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-