Class PremierAddOnOfferInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.PremierAddOnOfferInner
Premier add-on offer.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the legalTermsUrl property: Legal terms URL.Get the marketplaceOffer property: Marketplace offer.Get the marketplacePublisher property: Marketplace publisher.Get the privacyPolicyUrl property: Privacy policy URL.product()
Get the product property: Premier add on offer Product.Get the promoCodeRequired property: <code>true</code> if promotion code is required; otherwise, <code>false</code>.quota()
Get the quota property: Premier add on offer Quota.sku()
Get the sku property: Premier add on SKU.void
validate()
Validates the instance.vendor()
Get the vendor property: Premier add on offer Vendor.Get the webHostingPlanRestrictions property: App Service plans this offer is restricted to.Set the kind property: Kind of resource.withLegalTermsUrl
(String legalTermsUrl) Set the legalTermsUrl property: Legal terms URL.withMarketplaceOffer
(String marketplaceOffer) Set the marketplaceOffer property: Marketplace offer.withMarketplacePublisher
(String marketplacePublisher) Set the marketplacePublisher property: Marketplace publisher.withPrivacyPolicyUrl
(String privacyPolicyUrl) Set the privacyPolicyUrl property: Privacy policy URL.withProduct
(String product) Set the product property: Premier add on offer Product.withPromoCodeRequired
(Boolean promoCodeRequired) Set the promoCodeRequired property: <code>true</code> if promotion code is required; otherwise, <code>false</code>.Set the quota property: Premier add on offer Quota.Set the sku property: Premier add on SKU.withVendor
(String vendor) Set the vendor property: Premier add on offer Vendor.withWebHostingPlanRestrictions
(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
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
PremierAddOnOfferInner
public PremierAddOnOfferInner()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
sku
Get the sku property: Premier add on SKU.- Returns:
- the sku value.
-
withSku
Set the sku property: Premier add on SKU.- Parameters:
sku
- the sku value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
product
Get the product property: Premier add on offer Product.- Returns:
- the product value.
-
withProduct
Set the product property: Premier add on offer Product.- Parameters:
product
- the product value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
vendor
Get the vendor property: Premier add on offer Vendor.- Returns:
- the vendor value.
-
withVendor
Set the vendor property: Premier add on offer Vendor.- Parameters:
vendor
- the vendor value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
promoCodeRequired
Get the promoCodeRequired property: <code>true</code> if promotion code is required; otherwise, <code>false</code>.- Returns:
- the promoCodeRequired value.
-
withPromoCodeRequired
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
Get the quota property: Premier add on offer Quota.- Returns:
- the quota value.
-
withQuota
Set the quota property: Premier add on offer Quota.- Parameters:
quota
- the quota value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
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
Get the privacyPolicyUrl property: Privacy policy URL.- Returns:
- the privacyPolicyUrl value.
-
withPrivacyPolicyUrl
Set the privacyPolicyUrl property: Privacy policy URL.- Parameters:
privacyPolicyUrl
- the privacyPolicyUrl value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
legalTermsUrl
Get the legalTermsUrl property: Legal terms URL.- Returns:
- the legalTermsUrl value.
-
withLegalTermsUrl
Set the legalTermsUrl property: Legal terms URL.- Parameters:
legalTermsUrl
- the legalTermsUrl value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
marketplacePublisher
Get the marketplacePublisher property: Marketplace publisher.- Returns:
- the marketplacePublisher value.
-
withMarketplacePublisher
Set the marketplacePublisher property: Marketplace publisher.- Parameters:
marketplacePublisher
- the marketplacePublisher value to set.- Returns:
- the PremierAddOnOfferInner object itself.
-
marketplaceOffer
Get the marketplaceOffer property: Marketplace offer.- Returns:
- the marketplaceOffer value.
-
withMarketplaceOffer
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:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-