Class SolutionProperties
java.lang.Object
com.azure.resourcemanager.agrifood.models.SolutionProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SolutionProperties>
public final class SolutionProperties
extends Object
implements com.azure.json.JsonSerializable<SolutionProperties>
Solution resource properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: Solution resource properties.static SolutionPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SolutionProperties from the JsonReader.Get the marketplacePublisherId property: SaaS application Publisher Id.offerId()Get the offerId property: SaaS application Offer Id.Get the partnerId property: Partner Id of the Solution.planId()Get the planId property: SaaS application Plan Id.Get the saasSubscriptionId property: SaaS subscriptionId of the installed SaaS application.Get the saasSubscriptionName property: SaaS subscription name of the installed SaaS application.Get the solutionId property: Solution Id.termId()Get the termId property: SaaS application Term Id.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Solution resource properties.withMarketplacePublisherId(String marketplacePublisherId) Set the marketplacePublisherId property: SaaS application Publisher Id.withOfferId(String offerId) Set the offerId property: SaaS application Offer Id.withPlanId(String planId) Set the planId property: SaaS application Plan Id.withSaasSubscriptionId(String saasSubscriptionId) Set the saasSubscriptionId property: SaaS subscriptionId of the installed SaaS application.withSaasSubscriptionName(String saasSubscriptionName) Set the saasSubscriptionName property: SaaS subscription name of the installed SaaS application.withTermId(String termId) Set the termId property: SaaS application Term Id.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SolutionProperties
public SolutionProperties()Creates an instance of SolutionProperties class.
-
-
Method Details
-
solutionId
Get the solutionId property: Solution Id.- Returns:
- the solutionId value.
-
partnerId
Get the partnerId property: Partner Id of the Solution.- Returns:
- the partnerId value.
-
saasSubscriptionId
Get the saasSubscriptionId property: SaaS subscriptionId of the installed SaaS application.- Returns:
- the saasSubscriptionId value.
-
withSaasSubscriptionId
Set the saasSubscriptionId property: SaaS subscriptionId of the installed SaaS application.- Parameters:
saasSubscriptionId- the saasSubscriptionId value to set.- Returns:
- the SolutionProperties object itself.
-
saasSubscriptionName
Get the saasSubscriptionName property: SaaS subscription name of the installed SaaS application.- Returns:
- the saasSubscriptionName value.
-
withSaasSubscriptionName
Set the saasSubscriptionName property: SaaS subscription name of the installed SaaS application.- Parameters:
saasSubscriptionName- the saasSubscriptionName value to set.- Returns:
- the SolutionProperties object itself.
-
marketplacePublisherId
Get the marketplacePublisherId property: SaaS application Publisher Id.- Returns:
- the marketplacePublisherId value.
-
withMarketplacePublisherId
Set the marketplacePublisherId property: SaaS application Publisher Id.- Parameters:
marketplacePublisherId- the marketplacePublisherId value to set.- Returns:
- the SolutionProperties object itself.
-
planId
Get the planId property: SaaS application Plan Id.- Returns:
- the planId value.
-
withPlanId
Set the planId property: SaaS application Plan Id.- Parameters:
planId- the planId value to set.- Returns:
- the SolutionProperties object itself.
-
offerId
Get the offerId property: SaaS application Offer Id.- Returns:
- the offerId value.
-
withOfferId
Set the offerId property: SaaS application Offer Id.- Parameters:
offerId- the offerId value to set.- Returns:
- the SolutionProperties object itself.
-
termId
Get the termId property: SaaS application Term Id.- Returns:
- the termId value.
-
withTermId
Set the termId property: SaaS application Term Id.- Parameters:
termId- the termId value to set.- Returns:
- the SolutionProperties object itself.
-
additionalProperties
Get the additionalProperties property: Solution resource properties.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: Solution resource properties.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the SolutionProperties 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<SolutionProperties>- Throws:
IOException
-
fromJson
Reads an instance of SolutionProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SolutionProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the SolutionProperties.
-