Class PremierAddOnOfferProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.PremierAddOnOfferProperties
-
public final class PremierAddOnOfferProperties extends Object
PremierAddOnOffer resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description PremierAddOnOfferProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringlegalTermsUrl()Get the legalTermsUrl property: Legal terms URL.StringmarketplaceOffer()Get the marketplaceOffer property: Marketplace offer.StringmarketplacePublisher()Get the marketplacePublisher property: Marketplace publisher.StringprivacyPolicyUrl()Get the privacyPolicyUrl property: Privacy policy URL.Stringproduct()Get the product property: Premier add on offer Product.BooleanpromoCodeRequired()Get the promoCodeRequired property: <code>true</code> if promotion code is required; otherwise, <code>false</code>.Integerquota()Get the quota property: Premier add on offer Quota.Stringsku()Get the sku property: Premier add on SKU.voidvalidate()Validates the instance.Stringvendor()Get the vendor property: Premier add on offer Vendor.AppServicePlanRestrictionswebHostingPlanRestrictions()Get the webHostingPlanRestrictions property: App Service plans this offer is restricted to.PremierAddOnOfferPropertieswithLegalTermsUrl(String legalTermsUrl)Set the legalTermsUrl property: Legal terms URL.PremierAddOnOfferPropertieswithMarketplaceOffer(String marketplaceOffer)Set the marketplaceOffer property: Marketplace offer.PremierAddOnOfferPropertieswithMarketplacePublisher(String marketplacePublisher)Set the marketplacePublisher property: Marketplace publisher.PremierAddOnOfferPropertieswithPrivacyPolicyUrl(String privacyPolicyUrl)Set the privacyPolicyUrl property: Privacy policy URL.PremierAddOnOfferPropertieswithProduct(String product)Set the product property: Premier add on offer Product.PremierAddOnOfferPropertieswithPromoCodeRequired(Boolean promoCodeRequired)Set the promoCodeRequired property: <code>true</code> if promotion code is required; otherwise, <code>false</code>.PremierAddOnOfferPropertieswithQuota(Integer quota)Set the quota property: Premier add on offer Quota.PremierAddOnOfferPropertieswithSku(String sku)Set the sku property: Premier add on SKU.PremierAddOnOfferPropertieswithVendor(String vendor)Set the vendor property: Premier add on offer Vendor.PremierAddOnOfferPropertieswithWebHostingPlanRestrictions(AppServicePlanRestrictions webHostingPlanRestrictions)Set the webHostingPlanRestrictions property: App Service plans this offer is restricted to.
-
-
-
Method Detail
-
sku
public String sku()
Get the sku property: Premier add on SKU.- Returns:
- the sku value.
-
withSku
public PremierAddOnOfferProperties withSku(String sku)
Set the sku property: Premier add on SKU.- Parameters:
sku- the sku value to set.- Returns:
- the PremierAddOnOfferProperties object itself.
-
product
public String product()
Get the product property: Premier add on offer Product.- Returns:
- the product value.
-
withProduct
public PremierAddOnOfferProperties withProduct(String product)
Set the product property: Premier add on offer Product.- Parameters:
product- the product value to set.- Returns:
- the PremierAddOnOfferProperties object itself.
-
vendor
public String vendor()
Get the vendor property: Premier add on offer Vendor.- Returns:
- the vendor value.
-
withVendor
public PremierAddOnOfferProperties withVendor(String vendor)
Set the vendor property: Premier add on offer Vendor.- Parameters:
vendor- the vendor value to set.- Returns:
- the PremierAddOnOfferProperties object itself.
-
promoCodeRequired
public Boolean promoCodeRequired()
Get the promoCodeRequired property: <code>true</code> if promotion code is required; otherwise, <code>false</code>.- Returns:
- the promoCodeRequired value.
-
withPromoCodeRequired
public PremierAddOnOfferProperties withPromoCodeRequired(Boolean promoCodeRequired)
Set the promoCodeRequired property: <code>true</code> if promotion code is required; otherwise, <code>false</code>.- Parameters:
promoCodeRequired- the promoCodeRequired value to set.- Returns:
- the PremierAddOnOfferProperties object itself.
-
quota
public Integer quota()
Get the quota property: Premier add on offer Quota.- Returns:
- the quota value.
-
withQuota
public PremierAddOnOfferProperties withQuota(Integer quota)
Set the quota property: Premier add on offer Quota.- Parameters:
quota- the quota value to set.- Returns:
- the PremierAddOnOfferProperties object itself.
-
webHostingPlanRestrictions
public AppServicePlanRestrictions webHostingPlanRestrictions()
Get the webHostingPlanRestrictions property: App Service plans this offer is restricted to.- Returns:
- the webHostingPlanRestrictions value.
-
withWebHostingPlanRestrictions
public PremierAddOnOfferProperties withWebHostingPlanRestrictions(AppServicePlanRestrictions webHostingPlanRestrictions)
Set the webHostingPlanRestrictions property: App Service plans this offer is restricted to.- Parameters:
webHostingPlanRestrictions- the webHostingPlanRestrictions value to set.- Returns:
- the PremierAddOnOfferProperties object itself.
-
privacyPolicyUrl
public String privacyPolicyUrl()
Get the privacyPolicyUrl property: Privacy policy URL.- Returns:
- the privacyPolicyUrl value.
-
withPrivacyPolicyUrl
public PremierAddOnOfferProperties withPrivacyPolicyUrl(String privacyPolicyUrl)
Set the privacyPolicyUrl property: Privacy policy URL.- Parameters:
privacyPolicyUrl- the privacyPolicyUrl value to set.- Returns:
- the PremierAddOnOfferProperties object itself.
-
legalTermsUrl
public String legalTermsUrl()
Get the legalTermsUrl property: Legal terms URL.- Returns:
- the legalTermsUrl value.
-
withLegalTermsUrl
public PremierAddOnOfferProperties withLegalTermsUrl(String legalTermsUrl)
Set the legalTermsUrl property: Legal terms URL.- Parameters:
legalTermsUrl- the legalTermsUrl value to set.- Returns:
- the PremierAddOnOfferProperties object itself.
-
marketplacePublisher
public String marketplacePublisher()
Get the marketplacePublisher property: Marketplace publisher.- Returns:
- the marketplacePublisher value.
-
withMarketplacePublisher
public PremierAddOnOfferProperties withMarketplacePublisher(String marketplacePublisher)
Set the marketplacePublisher property: Marketplace publisher.- Parameters:
marketplacePublisher- the marketplacePublisher value to set.- Returns:
- the PremierAddOnOfferProperties object itself.
-
marketplaceOffer
public String marketplaceOffer()
Get the marketplaceOffer property: Marketplace offer.- Returns:
- the marketplaceOffer value.
-
withMarketplaceOffer
public PremierAddOnOfferProperties withMarketplaceOffer(String marketplaceOffer)
Set the marketplaceOffer property: Marketplace offer.- Parameters:
marketplaceOffer- the marketplaceOffer value to set.- Returns:
- the PremierAddOnOfferProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-