Class PoolUpdate

java.lang.Object
com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
com.azure.resourcemanager.devcenter.models.PoolUpdate

public final class PoolUpdate extends TrackedResourceUpdate
The pool properties for partial update. Properties not provided in the update request will not be changed.
  • Constructor Details

    • PoolUpdate

      public PoolUpdate()
  • Method Details

    • withTags

      public PoolUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Overrides:
      withTags in class TrackedResourceUpdate
      Parameters:
      tags - the tags value to set.
      Returns:
      the TrackedResourceUpdate object itself.
    • withLocation

      public PoolUpdate withLocation(String location)
      Set the location property: The geo-location where the resource lives.
      Overrides:
      withLocation in class TrackedResourceUpdate
      Parameters:
      location - the location value to set.
      Returns:
      the TrackedResourceUpdate object itself.
    • devBoxDefinitionName

      public String devBoxDefinitionName()
      Get the devBoxDefinitionName property: Name of a Dev Box definition in parent Project of this Pool.
      Returns:
      the devBoxDefinitionName value.
    • withDevBoxDefinitionName

      public PoolUpdate withDevBoxDefinitionName(String devBoxDefinitionName)
      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

      public String networkConnectionName()
      Get the networkConnectionName property: Name of a Network Connection in parent Project of this Pool.
      Returns:
      the networkConnectionName value.
    • withNetworkConnectionName

      public PoolUpdate withNetworkConnectionName(String networkConnectionName)
      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

      public LicenseType 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

      public PoolUpdate 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.
      Parameters:
      licenseType - the licenseType value to set.
      Returns:
      the PoolUpdate object itself.
    • localAdministrator

      public LocalAdminStatus 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

      public PoolUpdate 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.
      Parameters:
      localAdministrator - the localAdministrator value to set.
      Returns:
      the PoolUpdate object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class TrackedResourceUpdate
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.