Class Plan
java.lang.Object
com.microsoft.azure.management.resources.Plan
Plan for the resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()
Get the plan ID.product()
Get the offer ID.Get the promotion code.Get the publisher ID.version()
Get the plan's version.Set the plan ID.withProduct
(String product) Set the offer ID.withPromotionCode
(String promotionCode) Set the promotion code.withPublisher
(String publisher) Set the publisher ID.withVersion
(String version) Set the plan's version.
-
Constructor Details
-
Plan
public Plan()
-
-
Method Details
-
name
Get the plan ID.- Returns:
- the name value
-
withName
Set the plan ID.- Parameters:
name
- the name value to set- Returns:
- the Plan object itself.
-
publisher
Get the publisher ID.- Returns:
- the publisher value
-
withPublisher
Set the publisher ID.- Parameters:
publisher
- the publisher value to set- Returns:
- the Plan object itself.
-
product
Get the offer ID.- Returns:
- the product value
-
withProduct
Set the offer ID.- Parameters:
product
- the product value to set- Returns:
- the Plan object itself.
-
promotionCode
Get the promotion code.- Returns:
- the promotionCode value
-
withPromotionCode
Set the promotion code.- Parameters:
promotionCode
- the promotionCode value to set- Returns:
- the Plan object itself.
-
version
Get the plan's version.- Returns:
- the version value
-
withVersion
Set the plan's version.- Parameters:
version
- the version value to set- Returns:
- the Plan object itself.
-