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