Compartir vía


Plan Class

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

public class Plan

Plan for the resource.

Method Summary

Modifier and Type Method and Description
String name()

Get the name value.

String product()

Get the product value.

String promotionCode()

Get the promotionCode value.

String publisher()

Get the publisher value.

Plan withName(String name)

Set the name value.

Plan withProduct(String product)

Set the product value.

Plan withPromotionCode(String promotionCode)

Set the promotionCode value.

Plan 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

promotionCode

public String promotionCode()

Get the promotionCode value.

Returns:

the promotionCode value

publisher

public String publisher()

Get the publisher value.

Returns:

the publisher value

withName

public Plan withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the Plan object itself.

withProduct

public Plan withProduct(String product)

Set the product value.

Parameters:

product - the product value to set

Returns:

the Plan object itself.

withPromotionCode

public Plan withPromotionCode(String promotionCode)

Set the promotionCode value.

Parameters:

promotionCode - the promotionCode value to set

Returns:

the Plan object itself.

withPublisher

public Plan withPublisher(String publisher)

Set the publisher value.

Parameters:

publisher - the publisher value to set

Returns:

the Plan object itself.

Applies to