public final class ArmPlan extends Object
| Constructor and Description |
|---|
ArmPlan() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: The name.
|
String |
product()
Get the product property: The product.
|
String |
promotionCode()
Get the promotionCode property: The promotion code.
|
String |
publisher()
Get the publisher property: The publisher.
|
void |
validate()
Validates the instance.
|
String |
version()
Get the version property: Version of product.
|
ArmPlan |
withName(String name)
Set the name property: The name.
|
ArmPlan |
withProduct(String product)
Set the product property: The product.
|
ArmPlan |
withPromotionCode(String promotionCode)
Set the promotionCode property: The promotion code.
|
ArmPlan |
withPublisher(String publisher)
Set the publisher property: The publisher.
|
ArmPlan |
withVersion(String version)
Set the version property: Version of product.
|
public String name()
public ArmPlan withName(String name)
name - the name value to set.public String publisher()
public ArmPlan withPublisher(String publisher)
publisher - the publisher value to set.public String product()
public ArmPlan withProduct(String product)
product - the product value to set.public String promotionCode()
public ArmPlan withPromotionCode(String promotionCode)
promotionCode - the promotionCode value to set.public String version()
public ArmPlan withVersion(String version)
version - the version value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.