Class PremierAddOnOfferProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.PremierAddOnOfferProperties
PremierAddOnOffer resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PremierAddOnOfferProperties class. -
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.voidvalidate()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.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.
-
Constructor Details
-
PremierAddOnOfferProperties
public PremierAddOnOfferProperties()Creates an instance of PremierAddOnOfferProperties class.
-
-
Method Details
-
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 PremierAddOnOfferProperties 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 PremierAddOnOfferProperties 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 PremierAddOnOfferProperties 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 PremierAddOnOfferProperties 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 PremierAddOnOfferProperties object itself.
-
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
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 PremierAddOnOfferProperties 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 PremierAddOnOfferProperties 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 PremierAddOnOfferProperties 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 PremierAddOnOfferProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-