Class ProjectUpdate

java.lang.Object
com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
com.azure.resourcemanager.devcenter.models.ProjectUpdate

public final class ProjectUpdate extends TrackedResourceUpdate
The project properties for partial update. Properties not provided in the update request will not be changed.
  • Constructor Details

    • ProjectUpdate

      public ProjectUpdate()
      Creates an instance of ProjectUpdate class.
  • Method Details

    • withTags

      public ProjectUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Overrides:
      withTags in class TrackedResourceUpdate
      Parameters:
      tags - the tags value to set.
      Returns:
      the TrackedResourceUpdate object itself.
    • withLocation

      public ProjectUpdate withLocation(String location)
      Set the location property: The geo-location where the resource lives.
      Overrides:
      withLocation in class TrackedResourceUpdate
      Parameters:
      location - the location value to set.
      Returns:
      the TrackedResourceUpdate object itself.
    • devCenterId

      public String devCenterId()
      Get the devCenterId property: Resource Id of an associated DevCenter.
      Returns:
      the devCenterId value.
    • withDevCenterId

      public ProjectUpdate withDevCenterId(String devCenterId)
      Set the devCenterId property: Resource Id of an associated DevCenter.
      Parameters:
      devCenterId - the devCenterId value to set.
      Returns:
      the ProjectUpdate object itself.
    • description

      public String description()
      Get the description property: Description of the project.
      Returns:
      the description value.
    • withDescription

      public ProjectUpdate withDescription(String description)
      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 class TrackedResourceUpdate
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.