共用方式為


VirtualApplianceSkuProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.VirtualApplianceSkuProperties

Implements

public final class VirtualApplianceSkuProperties
implements JsonSerializable<VirtualApplianceSkuProperties>

Network Virtual Appliance Sku Properties.

Constructor Summary

Constructor Description
VirtualApplianceSkuProperties()

Creates an instance of VirtualApplianceSkuProperties class.

Method Summary

Modifier and Type Method and Description
String bundledScaleUnit()

Get the bundledScaleUnit property: Virtual Appliance Scale Unit.

static VirtualApplianceSkuProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualApplianceSkuProperties from the JsonReader.

String marketPlaceVersion()

Get the marketPlaceVersion property: Virtual Appliance Version.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String vendor()

Get the vendor property: Virtual Appliance Vendor.

VirtualApplianceSkuProperties withBundledScaleUnit(String bundledScaleUnit)

Set the bundledScaleUnit property: Virtual Appliance Scale Unit.

VirtualApplianceSkuProperties withMarketPlaceVersion(String marketPlaceVersion)

Set the marketPlaceVersion property: Virtual Appliance Version.

VirtualApplianceSkuProperties withVendor(String vendor)

Set the vendor property: Virtual Appliance Vendor.

Methods inherited from java.lang.Object

Constructor Details

VirtualApplianceSkuProperties

public VirtualApplianceSkuProperties()

Creates an instance of VirtualApplianceSkuProperties class.

Method Details

bundledScaleUnit

public String bundledScaleUnit()

Get the bundledScaleUnit property: Virtual Appliance Scale Unit.

Returns:

the bundledScaleUnit value.

fromJson

public static VirtualApplianceSkuProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualApplianceSkuProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

marketPlaceVersion

public String marketPlaceVersion()

Get the marketPlaceVersion property: Virtual Appliance Version.

Returns:

the marketPlaceVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vendor

public String vendor()

Get the vendor property: Virtual Appliance Vendor.

Returns:

the vendor value.

withBundledScaleUnit

public VirtualApplianceSkuProperties withBundledScaleUnit(String bundledScaleUnit)

Set the bundledScaleUnit property: Virtual Appliance Scale Unit.

Parameters:

bundledScaleUnit - the bundledScaleUnit value to set.

Returns:

the VirtualApplianceSkuProperties object itself.

withMarketPlaceVersion

public VirtualApplianceSkuProperties withMarketPlaceVersion(String marketPlaceVersion)

Set the marketPlaceVersion property: Virtual Appliance Version.

Parameters:

marketPlaceVersion - the marketPlaceVersion value to set.

Returns:

the VirtualApplianceSkuProperties object itself.

withVendor

public VirtualApplianceSkuProperties withVendor(String vendor)

Set the vendor property: Virtual Appliance Vendor.

Parameters:

vendor - the vendor value to set.

Returns:

the VirtualApplianceSkuProperties object itself.

Applies to