Class ResourceWithWritableName
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.models.ResourceWithWritableName
- Direct Known Subclasses:
ProxyResourceWithWritableName
public class ResourceWithWritableName
extends com.azure.core.management.ProxyResource
ARM resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ResourceWithWritableName class. -
Method Summary
Methods inherited from class com.azure.core.management.ProxyResource
id, type
-
Constructor Details
-
ResourceWithWritableName
public ResourceWithWritableName()Creates an instance of ResourceWithWritableName class.
-
-
Method Details
-
name
Get the name property: Resource name.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
withName
Set the name property: Resource name.- Parameters:
name- the name value to set.- Returns:
- the ResourceWithWritableName object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-