Class MarketplaceResource

java.lang.Object
com.azure.resourcemanager.appplatform.models.MarketplaceResource

public final class MarketplaceResource extends Object
Purchasing 3rd Party product for one Azure Spring Apps instance.
  • Constructor Details

    • MarketplaceResource

      public MarketplaceResource()
      Creates an instance of MarketplaceResource class.
  • Method Details

    • plan

      public String plan()
      Get the plan property: The plan id of the 3rd Party Artifact that is being procured.
      Returns:
      the plan value.
    • withPlan

      public MarketplaceResource withPlan(String plan)
      Set the plan property: The plan id of the 3rd Party Artifact that is being procured.
      Parameters:
      plan - the plan value to set.
      Returns:
      the MarketplaceResource object itself.
    • publisher

      public String publisher()
      Get the publisher property: The publisher id of the 3rd Party Artifact that is being bought.
      Returns:
      the publisher value.
    • withPublisher

      public MarketplaceResource withPublisher(String publisher)
      Set the publisher property: The publisher id of the 3rd Party Artifact that is being bought.
      Parameters:
      publisher - the publisher value to set.
      Returns:
      the MarketplaceResource object itself.
    • product

      public String product()
      Get the product property: The 3rd Party artifact that is being procured.
      Returns:
      the product value.
    • withProduct

      public MarketplaceResource withProduct(String product)
      Set the product property: The 3rd Party artifact that is being procured.
      Parameters:
      product - the product value to set.
      Returns:
      the MarketplaceResource object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.