Share via


ProjectUpdateProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.fluent.models.ProjectUpdateProperties

Implements

public class ProjectUpdateProperties
implements JsonSerializable<ProjectUpdateProperties>

Properties of a project. These properties can be updated after the resource has been created.

Constructor Summary

Constructor Description
ProjectUpdateProperties()

Creates an instance of ProjectUpdateProperties class.

Method Summary

Modifier and Type Method and Description
ProjectCatalogSettings catalogSettings()

Get the catalogSettings property: Settings to be used when associating a project with a catalog.

String description()

Get the description property: Description of the project.

String devCenterId()

Get the devCenterId property: Resource Id of an associated DevCenter.

String displayName()

Get the displayName property: The display name of the project.

static ProjectUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of ProjectUpdateProperties from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ProjectUpdateProperties withCatalogSettings(ProjectCatalogSettings catalogSettings)

Set the catalogSettings property: Settings to be used when associating a project with a catalog.

ProjectUpdateProperties withDescription(String description)

Set the description property: Description of the project.

ProjectUpdateProperties withDevCenterId(String devCenterId)

Set the devCenterId property: Resource Id of an associated DevCenter.

ProjectUpdateProperties withDisplayName(String displayName)

Set the displayName property: The display name of the project.

ProjectUpdateProperties 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.

Methods inherited from java.lang.Object

Constructor Details

ProjectUpdateProperties

public ProjectUpdateProperties()

Creates an instance of ProjectUpdateProperties class.

Method Details

catalogSettings

public ProjectCatalogSettings catalogSettings()

Get the catalogSettings property: Settings to be used when associating a project with a catalog.

Returns:

the catalogSettings value.

description

public String description()

Get the description property: Description of the project.

Returns:

the description value.

devCenterId

public String devCenterId()

Get the devCenterId property: Resource Id of an associated DevCenter.

Returns:

the devCenterId value.

displayName

public String displayName()

Get the displayName property: The display name of the project.

Returns:

the displayName value.

fromJson

public static ProjectUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of ProjectUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProjectUpdateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ProjectUpdateProperties.

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:

the maxDevBoxesPerUser value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCatalogSettings

public ProjectUpdateProperties withCatalogSettings(ProjectCatalogSettings catalogSettings)

Set the catalogSettings property: Settings to be used when associating a project with a catalog.

Parameters:

catalogSettings - the catalogSettings value to set.

Returns:

the ProjectUpdateProperties object itself.

withDescription

public ProjectUpdateProperties withDescription(String description)

Set the description property: Description of the project.

Parameters:

description - the description value to set.

Returns:

the ProjectUpdateProperties object itself.

withDevCenterId

public ProjectUpdateProperties withDevCenterId(String devCenterId)

Set the devCenterId property: Resource Id of an associated DevCenter.

Parameters:

devCenterId - the devCenterId value to set.

Returns:

the ProjectUpdateProperties object itself.

withDisplayName

public ProjectUpdateProperties withDisplayName(String displayName)

Set the displayName property: The display name of the project.

Parameters:

displayName - the displayName value to set.

Returns:

the ProjectUpdateProperties object itself.

withMaxDevBoxesPerUser

public ProjectUpdateProperties 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:

maxDevBoxesPerUser - the maxDevBoxesPerUser value to set.

Returns:

the ProjectUpdateProperties object itself.

Applies to