Class Plan
- java.lang.Object
-
- com.microsoft.azure.management.resources.Plan
-
public class Plan extends Object
Plan for the resource.
-
-
Constructor Summary
Constructors Constructor Description Plan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name value.Stringproduct()Get the product value.StringpromotionCode()Get the promotionCode value.Stringpublisher()Get the publisher value.Stringversion()Get the version value.PlanwithName(String name)Set the name value.PlanwithProduct(String product)Set the product value.PlanwithPromotionCode(String promotionCode)Set the promotionCode value.PlanwithPublisher(String publisher)Set the publisher value.PlanwithVersion(String version)Set the version value.
-
-
-
Method Detail
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public Plan withName(String name)
Set the name value.- Parameters:
name- the name value to set- Returns:
- the Plan object itself.
-
publisher
public String publisher()
Get the publisher value.- Returns:
- the publisher value
-
withPublisher
public Plan withPublisher(String publisher)
Set the publisher value.- Parameters:
publisher- the publisher value to set- Returns:
- the Plan object itself.
-
product
public String product()
Get the product value.- Returns:
- the product value
-
withProduct
public Plan withProduct(String product)
Set the product value.- Parameters:
product- the product value to set- Returns:
- the Plan object itself.
-
promotionCode
public String promotionCode()
Get the promotionCode value.- Returns:
- the promotionCode value
-
withPromotionCode
public Plan withPromotionCode(String promotionCode)
Set the promotionCode value.- Parameters:
promotionCode- the promotionCode value to set- Returns:
- the Plan object itself.
-
version
public String version()
Get the version value.- Returns:
- the version value
-
-