Class MarketplaceDetailsUpdate
java.lang.Object
com.azure.resourcemanager.informaticadatamanagement.models.MarketplaceDetailsUpdate
- All Implemented Interfaces:
com.azure.json.JsonSerializable<MarketplaceDetailsUpdate>
public final class MarketplaceDetailsUpdate
extends Object
implements com.azure.json.JsonSerializable<MarketplaceDetailsUpdate>
Marketplace details.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MarketplaceDetailsUpdate class. -
Method Summary
Modifier and TypeMethodDescriptionstatic MarketplaceDetailsUpdatefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of MarketplaceDetailsUpdate from the JsonReader.Get the marketplaceSubscriptionId property: Marketplace Subscription Id.Get the offerDetails property: Marketplace offer details.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withMarketplaceSubscriptionId(String marketplaceSubscriptionId) Set the marketplaceSubscriptionId property: Marketplace Subscription Id.withOfferDetails(OfferDetailsUpdate offerDetails) Set the offerDetails property: Marketplace offer details.
-
Constructor Details
-
MarketplaceDetailsUpdate
public MarketplaceDetailsUpdate()Creates an instance of MarketplaceDetailsUpdate class.
-
-
Method Details
-
marketplaceSubscriptionId
Get the marketplaceSubscriptionId property: Marketplace Subscription Id.- Returns:
- the marketplaceSubscriptionId value.
-
withMarketplaceSubscriptionId
Set the marketplaceSubscriptionId property: Marketplace Subscription Id.- Parameters:
marketplaceSubscriptionId- the marketplaceSubscriptionId value to set.- Returns:
- the MarketplaceDetailsUpdate object itself.
-
offerDetails
Get the offerDetails property: Marketplace offer details.- Returns:
- the offerDetails value.
-
withOfferDetails
Set the offerDetails property: Marketplace offer details.- Parameters:
offerDetails- the offerDetails value to set.- Returns:
- the MarketplaceDetailsUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<MarketplaceDetailsUpdate>- Throws:
IOException
-
fromJson
public static MarketplaceDetailsUpdate fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of MarketplaceDetailsUpdate from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of MarketplaceDetailsUpdate if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the MarketplaceDetailsUpdate.
-