ProjectUpdate Class

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 ProjectUpdate 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 ProjectUpdate fromJson(JsonReader jsonReader)

Reads an instance of ProjectUpdate from the JsonReader.

ManagedServiceIdentity identity()

Get the identity property: Managed identity properties.

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.

ProjectUpdate withCatalogSettings(ProjectCatalogSettings catalogSettings)

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

ProjectUpdate withDescription(String description)

Set the description property: Description of the project.

ProjectUpdate withDevCenterId(String devCenterId)

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

ProjectUpdate withDisplayName(String displayName)

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

ProjectUpdate withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed identity properties.

ProjectUpdate withLocation(String location)

Set the location property: The geo-location where the resource lives.

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.

ProjectUpdate 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:

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 ProjectUpdate fromJson(JsonReader jsonReader)

Reads an instance of ProjectUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProjectUpdate 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 ProjectUpdate.

identity

public ManagedServiceIdentity identity()

Get the identity property: Managed identity properties.

Returns:

the identity value.

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)

Overrides:

ProjectUpdate.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

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:

catalogSettings - the catalogSettings value to set.

Returns:

the ProjectUpdate object itself.

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.

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.

withDisplayName

public ProjectUpdate withDisplayName(String displayName)

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

Parameters:

displayName - the displayName value to set.

Returns:

the ProjectUpdate object itself.

withIdentity

public ProjectUpdate withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed identity properties.

Parameters:

identity - the identity value to set.

Returns:

the ProjectUpdate object itself.

withLocation

public ProjectUpdate withLocation(String location)

Set the location property: The geo-location where the resource lives.

Overrides:

ProjectUpdate.withLocation(String location)

Parameters:

location

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:

maxDevBoxesPerUser - the maxDevBoxesPerUser value to set.

Returns:

the ProjectUpdate object itself.

withTags

public ProjectUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Overrides:

ProjectUpdate.withTags(Map<String,String> tags)

Parameters:

tags

Applies to