Class ResourceAutoGenerated2
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.monitor.models.ResourceAutoGenerated2
- Direct Known Subclasses:
ActivityLogAlertResourceInner
public class ResourceAutoGenerated2
extends com.azure.core.management.Resource
An azure resource object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates the instance.withLocation(String location) Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ResourceAutoGenerated2
public ResourceAutoGenerated2()
-
-
Method Details
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-