SkuProfileVMSize Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SkuProfileVMSize
- com.
Implements
public final class SkuProfileVMSize
implements JsonSerializable<SkuProfileVMSize>
Specifies the VM Size.
Constructor Summary
Constructor | Description |
---|---|
SkuProfileVMSize() |
Creates an instance of Sku |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Sku |
fromJson(JsonReader jsonReader)
Reads an instance of Sku |
String |
name()
Get the name property: Specifies the name of the VM Size. |
Integer |
rank()
Get the rank property: Specifies the rank (a. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Sku |
withName(String name)
Set the name property: Specifies the name of the VM Size. |
Sku |
withRank(Integer rank)
Set the rank property: Specifies the rank (a. |
Methods inherited from java.lang.Object
Constructor Details
SkuProfileVMSize
public SkuProfileVMSize()
Creates an instance of SkuProfileVMSize class.
Method Details
fromJson
public static SkuProfileVMSize fromJson(JsonReader jsonReader)
Reads an instance of SkuProfileVMSize from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Specifies the name of the VM Size.
Returns:
rank
public Integer rank()
Get the rank property: Specifies the rank (a.k.a priority) associated with the VM Size.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public SkuProfileVMSize withName(String name)
Set the name property: Specifies the name of the VM Size.
Parameters:
Returns:
withRank
public SkuProfileVMSize withRank(Integer rank)
Set the rank property: Specifies the rank (a.k.a priority) associated with the VM Size.
Parameters:
Returns: