Plan Class
- java.
lang. Object - com.
microsoft. azure. management. compute. Plan
- com.
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:
product
public String product()
Get the product value.
Returns:
promotionCode
public String promotionCode()
Get the promotionCode value.
Returns:
publisher
public String publisher()
Get the publisher value.
Returns:
withName
public Plan withName(String name)
Set the name value.
Parameters:
Returns:
withProduct
public Plan withProduct(String product)
Set the product value.
Parameters:
Returns:
withPromotionCode
public Plan withPromotionCode(String promotionCode)
Set the promotionCode value.
Parameters:
Returns:
withPublisher
public Plan withPublisher(String publisher)
Set the publisher value.
Parameters:
Returns:
Applies to
Azure SDK for Java