你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PurchasePlan Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.PurchasePlan

public class PurchasePlan

Used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

Method Summary

Modifier and Type Method and Description
String name()

Get the name value.

String product()

Get the product value.

String publisher()

Get the publisher value.

PurchasePlan withName(String name)

Set the name value.

PurchasePlan withProduct(String product)

Set the product value.

PurchasePlan withPublisher(String publisher)

Set the publisher value.

Method Details

name

public String name()

Get the name value.

Returns:

the name value

product

public String product()

Get the product value.

Returns:

the product value

publisher

public String publisher()

Get the publisher value.

Returns:

the publisher value

withName

public PurchasePlan withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the PurchasePlan object itself.

withProduct

public PurchasePlan withProduct(String product)

Set the product value.

Parameters:

product - the product value to set

Returns:

the PurchasePlan object itself.

withPublisher

public PurchasePlan withPublisher(String publisher)

Set the publisher value.

Parameters:

publisher - the publisher value to set

Returns:

the PurchasePlan object itself.

Applies to