Class MarketplaceResource
java.lang.Object
com.azure.resourcemanager.appplatform.models.MarketplaceResource
Purchasing 3rd Party product for one Azure Spring Apps instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionplan()Get the plan property: The plan id of the 3rd Party Artifact that is being procured.product()Get the product property: The 3rd Party artifact that is being procured.Get the publisher property: The publisher id of the 3rd Party Artifact that is being bought.voidvalidate()Validates the instance.Set the plan property: The plan id of the 3rd Party Artifact that is being procured.withProduct(String product) Set the product property: The 3rd Party artifact that is being procured.withPublisher(String publisher) Set the publisher property: The publisher id of the 3rd Party Artifact that is being bought.
-
Constructor Details
-
MarketplaceResource
public MarketplaceResource()Creates an instance of MarketplaceResource class.
-
-
Method Details
-
plan
Get the plan property: The plan id of the 3rd Party Artifact that is being procured.- Returns:
- the plan value.
-
withPlan
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
Get the publisher property: The publisher id of the 3rd Party Artifact that is being bought.- Returns:
- the publisher value.
-
withPublisher
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
Get the product property: The 3rd Party artifact that is being procured.- Returns:
- the product value.
-
withProduct
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.
-