MarketplaceResource Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. MarketplaceResource
- com.
Implements
public final class MarketplaceResource
implements JsonSerializable<MarketplaceResource>
Purchasing 3rd Party product for one Azure Spring Apps instance.
Constructor Summary
Constructor | Description |
---|---|
MarketplaceResource() |
Creates an instance of Marketplace |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Marketplace |
fromJson(JsonReader jsonReader)
Reads an instance of Marketplace |
String |
plan()
Get the plan property: The plan id of the 3rd Party Artifact that is being procured. |
String |
product()
Get the product property: The 3rd Party artifact that is being procured. |
String |
publisher()
Get the publisher property: The publisher id of the 3rd Party Artifact that is being bought. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Marketplace |
withPlan(String plan)
Set the plan property: The plan id of the 3rd Party Artifact that is being procured. |
Marketplace |
withProduct(String product)
Set the product property: The 3rd Party artifact that is being procured. |
Marketplace |
withPublisher(String publisher)
Set the publisher property: The publisher id of the 3rd Party Artifact that is being bought. |
Methods inherited from java.lang.Object
Constructor Details
MarketplaceResource
public MarketplaceResource()
Creates an instance of MarketplaceResource class.
Method Details
fromJson
public static MarketplaceResource fromJson(JsonReader jsonReader)
Reads an instance of MarketplaceResource from the JsonReader.
Parameters:
Returns:
Throws:
plan
public String plan()
Get the plan property: The plan id of the 3rd Party Artifact that is being procured.
Returns:
product
public String product()
Get the product property: The 3rd Party artifact that is being procured.
Returns:
publisher
public String publisher()
Get the publisher property: The publisher id of the 3rd Party Artifact that is being bought.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPlan
public MarketplaceResource withPlan(String plan)
Set the plan property: The plan id of the 3rd Party Artifact that is being procured.
Parameters:
Returns:
withProduct
public MarketplaceResource withProduct(String product)
Set the product property: The 3rd Party artifact that is being procured.
Parameters:
Returns:
withPublisher
public MarketplaceResource withPublisher(String publisher)
Set the publisher property: The publisher id of the 3rd Party Artifact that is being bought.
Parameters:
Returns:
Applies to
Azure SDK for Java