Class PremierAddOnOfferInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.PremierAddOnOfferInner
-
public final class PremierAddOnOfferInner extends ProxyOnlyResource
Premier add-on offer.
-
-
Constructor Summary
Constructors Constructor Description PremierAddOnOfferInner()
-
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.PremierAddOnOfferInnerwithKind(String kind)Set the kind property: Kind of resource.PremierAddOnOfferInnerwithLegalTermsUrl(String legalTermsUrl)Set the legalTermsUrl property: Legal terms URL.PremierAddOnOfferInnerwithMarketplaceOffer(String marketplaceOffer)Set the marketplaceOffer property: Marketplace offer.PremierAddOnOfferInnerwithMarketplacePublisher(String marketplacePublisher)Set the marketplacePublisher property: Marketplace publisher.PremierAddOnOfferInnerwithPrivacyPolicyUrl(String privacyPolicyUrl)Set the privacyPolicyUrl property: Privacy policy URL.PremierAddOnOfferInnerwithProduct(String product)Set the product property: Premier add on offer Product.PremierAddOnOfferInnerwithPromoCodeRequired(Boolean promoCodeRequired)Set the promoCodeRequired property: <code>true</code> if promotion code is required; otherwise, <code>false</code>.PremierAddOnOfferInnerwithQuota(Integer quota)Set the quota property: Premier add on offer Quota.PremierAddOnOfferInnerwithSku(String sku)Set the sku property: Premier add on SKU.PremierAddOnOfferInnerwithVendor(String vendor)Set the vendor property: Premier add on offer Vendor.PremierAddOnOfferInnerwithWebHostingPlanRestrictions(AppServicePlanRestrictions webHostingPlanRestrictions)Set the webHostingPlanRestrictions property: App Service plans this offer is restricted to.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public PremierAddOnOfferInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
sku
public String sku()
Get the sku property: Premier add on SKU.- Returns:
- the sku value.
-
withSku
public PremierAddOnOfferInner withSku(String sku)
Set the sku property: Premier add on SKU.- Parameters:
sku- the sku value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
product
public String product()
Get the product property: Premier add on offer Product.- Returns:
- the product value.
-
withProduct
public PremierAddOnOfferInner withProduct(String product)
Set the product property: Premier add on offer Product.- Parameters:
product- the product value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
vendor
public String vendor()
Get the vendor property: Premier add on offer Vendor.- Returns:
- the vendor value.
-
withVendor
public PremierAddOnOfferInner withVendor(String vendor)
Set the vendor property: Premier add on offer Vendor.- Parameters:
vendor- the vendor value to set.- Returns:
- the PremierAddOnOfferInner 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 PremierAddOnOfferInner 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 PremierAddOnOfferInner object itself.
-
quota
public Integer quota()
Get the quota property: Premier add on offer Quota.- Returns:
- the quota value.
-
withQuota
public PremierAddOnOfferInner withQuota(Integer quota)
Set the quota property: Premier add on offer Quota.- Parameters:
quota- the quota value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
webHostingPlanRestrictions
public AppServicePlanRestrictions webHostingPlanRestrictions()
Get the webHostingPlanRestrictions property: App Service plans this offer is restricted to.- Returns:
- the webHostingPlanRestrictions value.
-
withWebHostingPlanRestrictions
public PremierAddOnOfferInner withWebHostingPlanRestrictions(AppServicePlanRestrictions webHostingPlanRestrictions)
Set the webHostingPlanRestrictions property: App Service plans this offer is restricted to.- Parameters:
webHostingPlanRestrictions- the webHostingPlanRestrictions value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
privacyPolicyUrl
public String privacyPolicyUrl()
Get the privacyPolicyUrl property: Privacy policy URL.- Returns:
- the privacyPolicyUrl value.
-
withPrivacyPolicyUrl
public PremierAddOnOfferInner withPrivacyPolicyUrl(String privacyPolicyUrl)
Set the privacyPolicyUrl property: Privacy policy URL.- Parameters:
privacyPolicyUrl- the privacyPolicyUrl value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
legalTermsUrl
public String legalTermsUrl()
Get the legalTermsUrl property: Legal terms URL.- Returns:
- the legalTermsUrl value.
-
withLegalTermsUrl
public PremierAddOnOfferInner withLegalTermsUrl(String legalTermsUrl)
Set the legalTermsUrl property: Legal terms URL.- Parameters:
legalTermsUrl- the legalTermsUrl value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
marketplacePublisher
public String marketplacePublisher()
Get the marketplacePublisher property: Marketplace publisher.- Returns:
- the marketplacePublisher value.
-
withMarketplacePublisher
public PremierAddOnOfferInner withMarketplacePublisher(String marketplacePublisher)
Set the marketplacePublisher property: Marketplace publisher.- Parameters:
marketplacePublisher- the marketplacePublisher value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
marketplaceOffer
public String marketplaceOffer()
Get the marketplaceOffer property: Marketplace offer.- Returns:
- the marketplaceOffer value.
-
withMarketplaceOffer
public PremierAddOnOfferInner withMarketplaceOffer(String marketplaceOffer)
Set the marketplaceOffer property: Marketplace offer.- Parameters:
marketplaceOffer- the marketplaceOffer value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-