Class ProjectUpdate
java.lang.Object
com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
com.azure.resourcemanager.devcenter.models.ProjectUpdate
The project properties for partial update. Properties not provided in the update request will not be changed.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the project.Get the devCenterId property: Resource Id of an associated DevCenter.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of the project.withDevCenterId
(String devCenterId) Set the devCenterId property: Resource Id of an associated DevCenter.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
-
ProjectUpdate
public ProjectUpdate()Creates an instance of ProjectUpdate class.
-
-
Method Details
-
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.
-
devCenterId
Get the devCenterId property: Resource Id of an associated DevCenter.- Returns:
- the devCenterId value.
-
withDevCenterId
Set the devCenterId property: Resource Id of an associated DevCenter.- Parameters:
devCenterId
- the devCenterId value to set.- Returns:
- the ProjectUpdate object itself.
-
description
Get the description property: Description of the project.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the project.- Parameters:
description
- the description value to set.- Returns:
- the ProjectUpdate object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classTrackedResourceUpdate
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-