ArmPlan Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ArmPlan
- com.
Implements
public final class ArmPlan
implements JsonSerializable<ArmPlan>
The plan object in Azure Resource Manager, represents a marketplace plan.
Constructor Summary
Constructor | Description |
---|---|
ArmPlan() |
Creates an instance of Arm |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Arm |
fromJson(JsonReader jsonReader)
Reads an instance of Arm |
String |
name()
Get the name property: The name. |
String |
product()
Get the product property: The product. |
String |
promotionCode()
Get the promotion |
String |
publisher()
Get the publisher property: The publisher. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: Version of product. |
Arm |
withName(String name)
Set the name property: The name. |
Arm |
withProduct(String product)
Set the product property: The product. |
Arm |
withPromotionCode(String promotionCode)
Set the promotion |
Arm |
withPublisher(String publisher)
Set the publisher property: The publisher. |
Arm |
withVersion(String version)
Set the version property: Version of product. |
Methods inherited from java.lang.Object
Constructor Details
ArmPlan
public ArmPlan()
Creates an instance of ArmPlan class.
Method Details
fromJson
public static ArmPlan fromJson(JsonReader jsonReader)
Reads an instance of ArmPlan from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name.
Returns:
product
public String product()
Get the product property: The product.
Returns:
promotionCode
public String promotionCode()
Get the promotionCode property: The promotion code.
Returns:
publisher
public String publisher()
Get the publisher property: The publisher.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Version of product.
Returns:
withName
public ArmPlan withName(String name)
Set the name property: The name.
Parameters:
Returns:
withProduct
public ArmPlan withProduct(String product)
Set the product property: The product.
Parameters:
Returns:
withPromotionCode
public ArmPlan withPromotionCode(String promotionCode)
Set the promotionCode property: The promotion code.
Parameters:
Returns:
withPublisher
public ArmPlan withPublisher(String publisher)
Set the publisher property: The publisher.
Parameters:
Returns:
withVersion
public ArmPlan withVersion(String version)
Set the version property: Version of product.
Parameters:
Returns:
Applies to
Azure SDK for Java