Class PremierAddOnPatchResource
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.models.PremierAddOnPatchResource
-
public final class PremierAddOnPatchResource extends ProxyOnlyResource
ARM resource for a PremierAddOn.
-
-
Constructor Summary
Constructors Constructor Description PremierAddOnPatchResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringmarketplaceOffer()Get the marketplaceOffer property: Premier add on Marketplace offer.StringmarketplacePublisher()Get the marketplacePublisher property: Premier add on Marketplace publisher.Stringproduct()Get the product property: Premier add on Product.Stringsku()Get the sku property: Premier add on SKU.voidvalidate()Validates the instance.Stringvendor()Get the vendor property: Premier add on Vendor.PremierAddOnPatchResourcewithKind(String kind)Set the kind property: Kind of resource.PremierAddOnPatchResourcewithMarketplaceOffer(String marketplaceOffer)Set the marketplaceOffer property: Premier add on Marketplace offer.PremierAddOnPatchResourcewithMarketplacePublisher(String marketplacePublisher)Set the marketplacePublisher property: Premier add on Marketplace publisher.PremierAddOnPatchResourcewithProduct(String product)Set the product property: Premier add on Product.PremierAddOnPatchResourcewithSku(String sku)Set the sku property: Premier add on SKU.PremierAddOnPatchResourcewithVendor(String vendor)Set the vendor property: Premier add on Vendor.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public PremierAddOnPatchResource 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 PremierAddOnPatchResource withSku(String sku)
Set the sku property: Premier add on SKU.- Parameters:
sku- the sku value to set.- Returns:
- the PremierAddOnPatchResource object itself.
-
product
public String product()
Get the product property: Premier add on Product.- Returns:
- the product value.
-
withProduct
public PremierAddOnPatchResource withProduct(String product)
Set the product property: Premier add on Product.- Parameters:
product- the product value to set.- Returns:
- the PremierAddOnPatchResource object itself.
-
vendor
public String vendor()
Get the vendor property: Premier add on Vendor.- Returns:
- the vendor value.
-
withVendor
public PremierAddOnPatchResource withVendor(String vendor)
Set the vendor property: Premier add on Vendor.- Parameters:
vendor- the vendor value to set.- Returns:
- the PremierAddOnPatchResource object itself.
-
marketplacePublisher
public String marketplacePublisher()
Get the marketplacePublisher property: Premier add on Marketplace publisher.- Returns:
- the marketplacePublisher value.
-
withMarketplacePublisher
public PremierAddOnPatchResource withMarketplacePublisher(String marketplacePublisher)
Set the marketplacePublisher property: Premier add on Marketplace publisher.- Parameters:
marketplacePublisher- the marketplacePublisher value to set.- Returns:
- the PremierAddOnPatchResource object itself.
-
marketplaceOffer
public String marketplaceOffer()
Get the marketplaceOffer property: Premier add on Marketplace offer.- Returns:
- the marketplaceOffer value.
-
withMarketplaceOffer
public PremierAddOnPatchResource withMarketplaceOffer(String marketplaceOffer)
Set the marketplaceOffer property: Premier add on Marketplace offer.- Parameters:
marketplaceOffer- the marketplaceOffer value to set.- Returns:
- the PremierAddOnPatchResource object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-