Share via


LabServicesSkuCapacity Class

  • java.lang.Object
    • com.azure.resourcemanager.labservices.models.LabServicesSkuCapacity

Implements

public final class LabServicesSkuCapacity
implements JsonSerializable<LabServicesSkuCapacity>

The scale out/in options of the SKU.

Constructor Summary

Constructor Description
LabServicesSkuCapacity()

Creates an instance of LabServicesSkuCapacity class.

Method Summary

Modifier and Type Method and Description
Long defaultProperty()

Get the defaultProperty property: The default capacity for this resource.

static LabServicesSkuCapacity fromJson(JsonReader jsonReader)

Reads an instance of LabServicesSkuCapacity from the JsonReader.

Long maximum()

Get the maximum property: The highest permitted capacity for this resource.

Long minimum()

Get the minimum property: The lowest permitted capacity for this resource.

ScaleType scaleType()

Get the scaleType property: The localized name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

LabServicesSkuCapacity

public LabServicesSkuCapacity()

Creates an instance of LabServicesSkuCapacity class.

Method Details

defaultProperty

public Long defaultProperty()

Get the defaultProperty property: The default capacity for this resource.

Returns:

the defaultProperty value.

fromJson

public static LabServicesSkuCapacity fromJson(JsonReader jsonReader)

Reads an instance of LabServicesSkuCapacity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

maximum

public Long maximum()

Get the maximum property: The highest permitted capacity for this resource.

Returns:

the maximum value.

minimum

public Long minimum()

Get the minimum property: The lowest permitted capacity for this resource.

Returns:

the minimum value.

scaleType

public ScaleType scaleType()

Get the scaleType property: The localized name of the resource.

Returns:

the scaleType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to