ProjectUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. TrackedResourceUpdate - com.
azure. resourcemanager. devcenter. models. ProjectUpdate
- com.
- com.
public final class ProjectUpdate
extends TrackedResourceUpdate
The project properties for partial update. Properties not provided in the update request will not be changed.
Constructor Summary
| Constructor | Description |
|---|---|
| ProjectUpdate() |
Creates an instance of Project |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Project |
catalogSettings()
Get the catalog |
| String |
description()
Get the description property: Description of the project. |
| String |
devCenterId()
Get the dev |
| String |
displayName()
Get the display |
|
static
Project |
fromJson(JsonReader jsonReader)
Reads an instance of Project |
|
Managed |
identity()
Get the identity property: Managed identity properties. |
| Integer |
maxDevBoxesPerUser()
Get the max |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Project |
withCatalogSettings(ProjectCatalogSettings catalogSettings)
Set the catalog |
|
Project |
withDescription(String description)
Set the description property: Description of the project. |
|
Project |
withDevCenterId(String devCenterId)
Set the dev |
|
Project |
withDisplayName(String displayName)
Set the display |
|
Project |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed identity properties. |
|
Project |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
|
Project |
withMaxDevBoxesPerUser(Integer maxDevBoxesPerUser)
Set the max |
|
Project |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from TrackedResourceUpdate
Methods inherited from java.lang.Object
Constructor Details
ProjectUpdate
public ProjectUpdate()
Creates an instance of ProjectUpdate class.
Method Details
catalogSettings
public ProjectCatalogSettings catalogSettings()
Get the catalogSettings property: Settings to be used when associating a project with a catalog.
Returns:
description
public String description()
Get the description property: Description of the project.
Returns:
devCenterId
public String devCenterId()
Get the devCenterId property: Resource Id of an associated DevCenter.
Returns:
displayName
public String displayName()
Get the displayName property: The display name of the project.
Returns:
fromJson
public static ProjectUpdate fromJson(JsonReader jsonReader)
Reads an instance of ProjectUpdate from the JsonReader.
Parameters:
Returns:
Throws:
identity
public ManagedServiceIdentity identity()
Get the identity property: Managed identity properties.
Returns:
maxDevBoxesPerUser
public Integer maxDevBoxesPerUser()
Get the maxDevBoxesPerUser property: When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProjectUpdate.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ProjectUpdate.validate()withCatalogSettings
public ProjectUpdate withCatalogSettings(ProjectCatalogSettings catalogSettings)
Set the catalogSettings property: Settings to be used when associating a project with a catalog.
Parameters:
Returns:
withDescription
public ProjectUpdate withDescription(String description)
Set the description property: Description of the project.
Parameters:
Returns:
withDevCenterId
public ProjectUpdate withDevCenterId(String devCenterId)
Set the devCenterId property: Resource Id of an associated DevCenter.
Parameters:
Returns:
withDisplayName
public ProjectUpdate withDisplayName(String displayName)
Set the displayName property: The display name of the project.
Parameters:
Returns:
withIdentity
public ProjectUpdate withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed identity properties.
Parameters:
Returns:
withLocation
public ProjectUpdate withLocation(String location)
Set the location property: The geo-location where the resource lives.
Overrides:
ProjectUpdate.withLocation(String location)Parameters:
withMaxDevBoxesPerUser
public ProjectUpdate withMaxDevBoxesPerUser(Integer maxDevBoxesPerUser)
Set the maxDevBoxesPerUser property: When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced.
Parameters:
Returns:
withTags
public ProjectUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Overrides:
ProjectUpdate.withTags(Map<String,String> tags)Parameters: