ProjectProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. fluent. models. ProjectUpdateProperties - com.
azure. resourcemanager. devcenter. fluent. models. ProjectProperties
- com.
- com.
public final class ProjectProperties
extends ProjectUpdateProperties
Properties of a project.
Constructor Summary
| Constructor | Description |
|---|---|
| ProjectProperties() |
Creates an instance of Project |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
devCenterUri()
Get the dev |
|
static
Project |
fromJson(JsonReader jsonReader)
Reads an instance of Project |
|
Provisioning |
provisioningState()
Get the provisioning |
|
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 |
withMaxDevBoxesPerUser(Integer maxDevBoxesPerUser)
Set the max |
Methods inherited from ProjectUpdateProperties
Methods inherited from java.lang.Object
Constructor Details
ProjectProperties
public ProjectProperties()
Creates an instance of ProjectProperties class.
Method Details
devCenterUri
public String devCenterUri()
Get the devCenterUri property: The URI of the Dev Center resource this project is associated with.
Returns:
fromJson
public static ProjectProperties fromJson(JsonReader jsonReader)
Reads an instance of ProjectProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProjectProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ProjectProperties.validate()withCatalogSettings
public ProjectProperties withCatalogSettings(ProjectCatalogSettings catalogSettings)
Set the catalogSettings property: Settings to be used when associating a project with a catalog.
Overrides:
ProjectProperties.withCatalogSettings(ProjectCatalogSettings catalogSettings)Parameters:
withDescription
public ProjectProperties withDescription(String description)
Set the description property: Description of the project.
Overrides:
ProjectProperties.withDescription(String description)Parameters:
withDevCenterId
public ProjectProperties withDevCenterId(String devCenterId)
Set the devCenterId property: Resource Id of an associated DevCenter.
Overrides:
ProjectProperties.withDevCenterId(String devCenterId)Parameters:
withDisplayName
public ProjectProperties withDisplayName(String displayName)
Set the displayName property: The display name of the project.
Overrides:
ProjectProperties.withDisplayName(String displayName)Parameters:
withMaxDevBoxesPerUser
public ProjectProperties 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.
Overrides:
ProjectProperties.withMaxDevBoxesPerUser(Integer maxDevBoxesPerUser)Parameters: