Share via


AutoScaleVCoreMutableProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.powerbidedicated.fluent.models.AutoScaleVCoreMutableProperties

Implements

public class AutoScaleVCoreMutableProperties
implements JsonSerializable<AutoScaleVCoreMutableProperties>

An object that represents a set of mutable auto scale v-core resource properties.

Constructor Summary

Constructor Description
AutoScaleVCoreMutableProperties()

Creates an instance of AutoScaleVCoreMutableProperties class.

Method Summary

Modifier and Type Method and Description
Integer capacityLimit()

Get the capacityLimit property: The maximum capacity of an auto scale v-core resource.

static AutoScaleVCoreMutableProperties fromJson(JsonReader jsonReader)

Reads an instance of AutoScaleVCoreMutableProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AutoScaleVCoreMutableProperties withCapacityLimit(Integer capacityLimit)

Set the capacityLimit property: The maximum capacity of an auto scale v-core resource.

Methods inherited from java.lang.Object

Constructor Details

AutoScaleVCoreMutableProperties

public AutoScaleVCoreMutableProperties()

Creates an instance of AutoScaleVCoreMutableProperties class.

Method Details

capacityLimit

public Integer capacityLimit()

Get the capacityLimit property: The maximum capacity of an auto scale v-core resource.

Returns:

the capacityLimit value.

fromJson

public static AutoScaleVCoreMutableProperties fromJson(JsonReader jsonReader)

Reads an instance of AutoScaleVCoreMutableProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCapacityLimit

public AutoScaleVCoreMutableProperties withCapacityLimit(Integer capacityLimit)

Set the capacityLimit property: The maximum capacity of an auto scale v-core resource.

Parameters:

capacityLimit - the capacityLimit value to set.

Returns:

the AutoScaleVCoreMutableProperties object itself.

Applies to