MarketplaceDetails Class
- java.
lang. Object - com.
azure. resourcemanager. mongodbatlas. models. MarketplaceDetails
- com.
Implements
public final class MarketplaceDetails
implements JsonSerializable<MarketplaceDetails>
Marketplace details for an organization.
Constructor Summary
| Constructor | Description |
|---|---|
| MarketplaceDetails() |
Creates an instance of Marketplace |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Marketplace |
fromJson(JsonReader jsonReader)
Reads an instance of Marketplace |
|
Offer |
offerDetails()
Get the offer |
| String |
subscriptionId()
Get the subscription |
|
Marketplace |
subscriptionStatus()
Get the subscription |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Marketplace |
withOfferDetails(OfferDetails offerDetails)
Set the offer |
|
Marketplace |
withSubscriptionId(String subscriptionId)
Set the subscription |
Methods inherited from java.lang.Object
Constructor Details
MarketplaceDetails
public MarketplaceDetails()
Creates an instance of MarketplaceDetails class.
Method Details
fromJson
public static MarketplaceDetails fromJson(JsonReader jsonReader)
Reads an instance of MarketplaceDetails from the JsonReader.
Parameters:
Returns:
Throws:
offerDetails
public OfferDetails offerDetails()
Get the offerDetails property: Offer details for the marketplace that is selected by the user.
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: Azure subscription id for the the marketplace offer is purchased from.
Returns:
subscriptionStatus
public MarketplaceSubscriptionStatus subscriptionStatus()
Get the subscriptionStatus property: Marketplace subscription status.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOfferDetails
public MarketplaceDetails withOfferDetails(OfferDetails offerDetails)
Set the offerDetails property: Offer details for the marketplace that is selected by the user.
Parameters:
Returns:
withSubscriptionId
public MarketplaceDetails withSubscriptionId(String subscriptionId)
Set the subscriptionId property: Azure subscription id for the the marketplace offer is purchased from.
Parameters:
Returns: