Class PoolUpdate
java.lang.Object
com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
com.azure.resourcemanager.devcenter.models.PoolUpdate
The pool properties for partial update. Properties not provided in the update request will not be changed.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.Get the licenseType property: Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.Get the localAdministrator property: Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.Get the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.void
validate()
Validates the instance.withDevBoxDefinitionName
(String devBoxDefinitionName) Set the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.withLicenseType
(LicenseType licenseType) Set the licenseType property: Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.withLocalAdministrator
(LocalAdminStatus localAdministrator) Set the localAdministrator property: Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.withLocation
(String location) Set the location property: The geo-location where the resource lives.withNetworkConnectionName
(String networkConnectionName) Set the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.Set the tags property: Resource tags.Methods inherited from class com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
location, tags
-
Constructor Details
-
PoolUpdate
public PoolUpdate()Creates an instance of PoolUpdate class.
-
-
Method Details
-
withTags
Set the tags property: Resource tags.- Overrides:
withTags
in classTrackedResourceUpdate
- Parameters:
tags
- the tags value to set.- Returns:
- the TrackedResourceUpdate object itself.
-
withLocation
Set the location property: The geo-location where the resource lives.- Overrides:
withLocation
in classTrackedResourceUpdate
- Parameters:
location
- the location value to set.- Returns:
- the TrackedResourceUpdate object itself.
-
devBoxDefinitionName
Get the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.- Returns:
- the devBoxDefinitionName value.
-
withDevBoxDefinitionName
Set the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.- Parameters:
devBoxDefinitionName
- the devBoxDefinitionName value to set.- Returns:
- the PoolUpdate object itself.
-
networkConnectionName
Get the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.- Returns:
- the networkConnectionName value.
-
withNetworkConnectionName
Set the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.- Parameters:
networkConnectionName
- the networkConnectionName value to set.- Returns:
- the PoolUpdate object itself.
-
licenseType
Get the licenseType property: Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.- Returns:
- the licenseType value.
-
withLicenseType
Set the licenseType property: Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created.- Parameters:
licenseType
- the licenseType value to set.- Returns:
- the PoolUpdate object itself.
-
localAdministrator
Get the localAdministrator property: Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.- Returns:
- the localAdministrator value.
-
withLocalAdministrator
Set the localAdministrator property: Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box.- Parameters:
localAdministrator
- the localAdministrator value to set.- Returns:
- the PoolUpdate object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classTrackedResourceUpdate
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-