Class AvailableWorkloadProfileProperties
java.lang.Object
com.azure.resourcemanager.appcontainers.models.AvailableWorkloadProfileProperties
Revision resource specific properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AvailableWorkloadProfileProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the applicability property: indicates whether the profile is default for the location.Get the billingMeterCategory property: Used to map workload profile types to billing meter.cores()
Get the cores property: Number of cores in CPU.Get the displayName property: The everyday name of the workload profile.Get the memoryGiB property: Memory in GiB.void
validate()
Validates the instance.withApplicability
(Applicability applicability) Set the applicability property: indicates whether the profile is default for the location.withBillingMeterCategory
(Category billingMeterCategory) Set the billingMeterCategory property: Used to map workload profile types to billing meter.Set the cores property: Number of cores in CPU.withDisplayName
(String displayName) Set the displayName property: The everyday name of the workload profile.withMemoryGiB
(Integer memoryGiB) Set the memoryGiB property: Memory in GiB.
-
Constructor Details
-
AvailableWorkloadProfileProperties
public AvailableWorkloadProfileProperties()Creates an instance of AvailableWorkloadProfileProperties class.
-
-
Method Details
-
billingMeterCategory
Get the billingMeterCategory property: Used to map workload profile types to billing meter.- Returns:
- the billingMeterCategory value.
-
withBillingMeterCategory
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
Get the applicability property: indicates whether the profile is default for the location.- Returns:
- the applicability value.
-
withApplicability
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
Get the cores property: Number of cores in CPU.- Returns:
- the cores value.
-
withCores
Set the cores property: Number of cores in CPU.- Parameters:
cores
- the cores value to set.- Returns:
- the AvailableWorkloadProfileProperties object itself.
-
memoryGiB
Get the memoryGiB property: Memory in GiB.- Returns:
- the memoryGiB value.
-
withMemoryGiB
Set the memoryGiB property: Memory in GiB.- Parameters:
memoryGiB
- the memoryGiB value to set.- Returns:
- the AvailableWorkloadProfileProperties object itself.
-
displayName
Get the displayName property: The everyday name of the workload profile.- Returns:
- the displayName value.
-
withDisplayName
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.
-