Class PlatformImagePurchasePlan
- java.lang.Object
-
- com.azure.resourcemanager.imagebuilder.models.PlatformImagePurchasePlan
-
public final class PlatformImagePurchasePlan extends Object
Purchase plan configuration for platform image.
-
-
Constructor Summary
Constructors Constructor Description PlatformImagePurchasePlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
planName()
Get the planName property: Name of the purchase plan.String
planProduct()
Get the planProduct property: Product of the purchase plan.String
planPublisher()
Get the planPublisher property: Publisher of the purchase plan.void
validate()
Validates the instance.PlatformImagePurchasePlan
withPlanName(String planName)
Set the planName property: Name of the purchase plan.PlatformImagePurchasePlan
withPlanProduct(String planProduct)
Set the planProduct property: Product of the purchase plan.PlatformImagePurchasePlan
withPlanPublisher(String planPublisher)
Set the planPublisher property: Publisher of the purchase plan.
-
-
-
Method Detail
-
planName
public String planName()
Get the planName property: Name of the purchase plan.- Returns:
- the planName value.
-
withPlanName
public PlatformImagePurchasePlan withPlanName(String planName)
Set the planName property: Name of the purchase plan.- Parameters:
planName
- the planName value to set.- Returns:
- the PlatformImagePurchasePlan object itself.
-
planProduct
public String planProduct()
Get the planProduct property: Product of the purchase plan.- Returns:
- the planProduct value.
-
withPlanProduct
public PlatformImagePurchasePlan withPlanProduct(String planProduct)
Set the planProduct property: Product of the purchase plan.- Parameters:
planProduct
- the planProduct value to set.- Returns:
- the PlatformImagePurchasePlan object itself.
-
planPublisher
public String planPublisher()
Get the planPublisher property: Publisher of the purchase plan.- Returns:
- the planPublisher value.
-
withPlanPublisher
public PlatformImagePurchasePlan withPlanPublisher(String planPublisher)
Set the planPublisher property: Publisher of the purchase plan.- Parameters:
planPublisher
- the planPublisher value to set.- Returns:
- the PlatformImagePurchasePlan object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-