PremierAddOnOfferInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. PremierAddOnOfferInner
- com.
- com.
- com.
public final class PremierAddOnOfferInner
extends ProxyOnlyResource
Premier add-on offer.
Constructor Summary
Constructor | Description |
---|---|
PremierAddOnOfferInner() |
Creates an instance of Premier |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Premier |
fromJson(JsonReader jsonReader)
Reads an instance of Premier |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
legalTermsUrl()
Get the legal |
String |
marketplaceOffer()
Get the marketplace |
String |
marketplacePublisher()
Get the marketplace |
String |
name()
Get the name property: The name of the resource. |
String |
privacyPolicyUrl()
Get the privacy |
String |
product()
Get the product property: Premier add on offer Product. |
Boolean |
promoCodeRequired()
Get the promo |
Integer |
quota()
Get the quota property: Premier add on offer Quota. |
String |
sku()
Get the sku property: Premier add on SKU. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
String |
vendor()
Get the vendor property: Premier add on offer Vendor. |
App |
webHostingPlanRestrictions()
Get the web |
Premier |
withKind(String kind)
Set the kind property: Kind of resource. |
Premier |
withLegalTermsUrl(String legalTermsUrl)
Set the legal |
Premier |
withMarketplaceOffer(String marketplaceOffer)
Set the marketplace |
Premier |
withMarketplacePublisher(String marketplacePublisher)
Set the marketplace |
Premier |
withPrivacyPolicyUrl(String privacyPolicyUrl)
Set the privacy |
Premier |
withProduct(String product)
Set the product property: Premier add on offer Product. |
Premier |
withPromoCodeRequired(Boolean promoCodeRequired)
Set the promo |
Premier |
withQuota(Integer quota)
Set the quota property: Premier add on offer Quota. |
Premier |
withSku(String sku)
Set the sku property: Premier add on SKU. |
Premier |
withVendor(String vendor)
Set the vendor property: Premier add on offer Vendor. |
Premier |
withWebHostingPlanRestrictions(AppServicePlanRestrictions webHostingPlanRestrictions)
Set the web |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
PremierAddOnOfferInner
public PremierAddOnOfferInner()
Creates an instance of PremierAddOnOfferInner class.
Method Details
fromJson
public static PremierAddOnOfferInner fromJson(JsonReader jsonReader)
Reads an instance of PremierAddOnOfferInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PremierAddOnOfferInner.id()Returns:
legalTermsUrl
public String legalTermsUrl()
Get the legalTermsUrl property: Legal terms URL.
Returns:
marketplaceOffer
public String marketplaceOffer()
Get the marketplaceOffer property: Marketplace offer.
Returns:
marketplacePublisher
public String marketplacePublisher()
Get the marketplacePublisher property: Marketplace publisher.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PremierAddOnOfferInner.name()Returns:
privacyPolicyUrl
public String privacyPolicyUrl()
Get the privacyPolicyUrl property: Privacy policy URL.
Returns:
product
public String product()
Get the product property: Premier add on offer Product.
Returns:
promoCodeRequired
public Boolean promoCodeRequired()
Get the promoCodeRequired property: true
if promotion code is required; otherwise, false
.
Returns:
quota
public Integer quota()
Get the quota property: Premier add on offer Quota.
Returns:
sku
public String sku()
Get the sku property: Premier add on SKU.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PremierAddOnOfferInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PremierAddOnOfferInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
PremierAddOnOfferInner.validate()vendor
public String vendor()
Get the vendor property: Premier add on offer Vendor.
Returns:
webHostingPlanRestrictions
public AppServicePlanRestrictions webHostingPlanRestrictions()
Get the webHostingPlanRestrictions property: App Service plans this offer is restricted to.
Returns:
withKind
public PremierAddOnOfferInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
PremierAddOnOfferInner.withKind(String kind)Parameters:
withLegalTermsUrl
public PremierAddOnOfferInner withLegalTermsUrl(String legalTermsUrl)
Set the legalTermsUrl property: Legal terms URL.
Parameters:
Returns:
withMarketplaceOffer
public PremierAddOnOfferInner withMarketplaceOffer(String marketplaceOffer)
Set the marketplaceOffer property: Marketplace offer.
Parameters:
Returns:
withMarketplacePublisher
public PremierAddOnOfferInner withMarketplacePublisher(String marketplacePublisher)
Set the marketplacePublisher property: Marketplace publisher.
Parameters:
Returns:
withPrivacyPolicyUrl
public PremierAddOnOfferInner withPrivacyPolicyUrl(String privacyPolicyUrl)
Set the privacyPolicyUrl property: Privacy policy URL.
Parameters:
Returns:
withProduct
public PremierAddOnOfferInner withProduct(String product)
Set the product property: Premier add on offer Product.
Parameters:
Returns:
withPromoCodeRequired
public PremierAddOnOfferInner withPromoCodeRequired(Boolean promoCodeRequired)
Set the promoCodeRequired property: true
if promotion code is required; otherwise, false
.
Parameters:
Returns:
withQuota
public PremierAddOnOfferInner withQuota(Integer quota)
Set the quota property: Premier add on offer Quota.
Parameters:
Returns:
withSku
public PremierAddOnOfferInner withSku(String sku)
Set the sku property: Premier add on SKU.
Parameters:
Returns:
withVendor
public PremierAddOnOfferInner withVendor(String vendor)
Set the vendor property: Premier add on offer Vendor.
Parameters:
Returns:
withWebHostingPlanRestrictions
public PremierAddOnOfferInner withWebHostingPlanRestrictions(AppServicePlanRestrictions webHostingPlanRestrictions)
Set the webHostingPlanRestrictions property: App Service plans this offer is restricted to.
Parameters:
Returns:
Applies to
Azure SDK for Java