Class AvailableWorkloadProfileProperties

java.lang.Object
com.azure.resourcemanager.appcontainers.models.AvailableWorkloadProfileProperties

public final class AvailableWorkloadProfileProperties extends Object
Revision resource specific properties.
  • Constructor Details

    • AvailableWorkloadProfileProperties

      public AvailableWorkloadProfileProperties()
      Creates an instance of AvailableWorkloadProfileProperties class.
  • Method Details

    • billingMeterCategory

      public Category billingMeterCategory()
      Get the billingMeterCategory property: Used to map workload profile types to billing meter.
      Returns:
      the billingMeterCategory value.
    • withBillingMeterCategory

      public AvailableWorkloadProfileProperties withBillingMeterCategory(Category billingMeterCategory)
      Set the billingMeterCategory property: Used to map workload profile types to billing meter.
      Parameters:
      billingMeterCategory - the billingMeterCategory value to set.
      Returns:
      the AvailableWorkloadProfileProperties object itself.
    • applicability

      public Applicability applicability()
      Get the applicability property: indicates whether the profile is default for the location.
      Returns:
      the applicability value.
    • withApplicability

      public AvailableWorkloadProfileProperties withApplicability(Applicability applicability)
      Set the applicability property: indicates whether the profile is default for the location.
      Parameters:
      applicability - the applicability value to set.
      Returns:
      the AvailableWorkloadProfileProperties object itself.
    • cores

      public Integer cores()
      Get the cores property: Number of cores in CPU.
      Returns:
      the cores value.
    • withCores

      public AvailableWorkloadProfileProperties withCores(Integer cores)
      Set the cores property: Number of cores in CPU.
      Parameters:
      cores - the cores value to set.
      Returns:
      the AvailableWorkloadProfileProperties object itself.
    • memoryGiB

      public Integer memoryGiB()
      Get the memoryGiB property: Memory in GiB.
      Returns:
      the memoryGiB value.
    • withMemoryGiB

      public AvailableWorkloadProfileProperties withMemoryGiB(Integer memoryGiB)
      Set the memoryGiB property: Memory in GiB.
      Parameters:
      memoryGiB - the memoryGiB value to set.
      Returns:
      the AvailableWorkloadProfileProperties object itself.
    • displayName

      public String displayName()
      Get the displayName property: The everyday name of the workload profile.
      Returns:
      the displayName value.
    • withDisplayName

      public AvailableWorkloadProfileProperties withDisplayName(String displayName)
      Set the displayName property: The everyday name of the workload profile.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the AvailableWorkloadProfileProperties object itself.
    • validate

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