Class DevCenterUpdate
java.lang.Object
com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
com.azure.resourcemanager.devcenter.models.DevCenterUpdate
The devcenter resource for partial updates. Properties not provided in the update request will not be changed.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: Managed identity properties.void
validate()
Validates the instance.withIdentity
(ManagedServiceIdentity identity) Set the identity property: Managed identity properties.withLocation
(String location) Set the location property: The geo-location where the resource lives.Set the tags property: Resource tags.Methods inherited from class com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
location, tags
-
Constructor Details
-
DevCenterUpdate
public DevCenterUpdate()Creates an instance of DevCenterUpdate class.
-
-
Method Details
-
identity
Get the identity property: Managed identity properties.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Managed identity properties.- Parameters:
identity
- the identity value to set.- Returns:
- the DevCenterUpdate object itself.
-
withTags
Set the tags property: Resource tags.- Overrides:
withTags
in classTrackedResourceUpdate
- Parameters:
tags
- the tags value to set.- Returns:
- the TrackedResourceUpdate object itself.
-
withLocation
Set the location property: The geo-location where the resource lives.- Overrides:
withLocation
in classTrackedResourceUpdate
- Parameters:
location
- the location value to set.- Returns:
- the TrackedResourceUpdate object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classTrackedResourceUpdate
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-