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 Details

    • SolutionProperties

      public SolutionProperties()
      Creates an instance of SolutionProperties class.
  • Method Details

    • solutionId

      public String solutionId()
      Get the solutionId property: Solution Id.
      Returns:
      the solutionId value.
    • partnerId

      public String partnerId()
      Get the partnerId property: Partner Id of the Solution.
      Returns:
      the partnerId value.
    • saasSubscriptionId

      public String saasSubscriptionId()
      Get the saasSubscriptionId property: SaaS subscriptionId of the installed SaaS application.
      Returns:
      the saasSubscriptionId value.
    • withSaasSubscriptionId

      public SolutionProperties withSaasSubscriptionId(String saasSubscriptionId)
      Set the saasSubscriptionId property: SaaS subscriptionId of the installed SaaS application.
      Parameters:
      saasSubscriptionId - the saasSubscriptionId value to set.
      Returns:
      the SolutionProperties object itself.
    • saasSubscriptionName

      public String saasSubscriptionName()
      Get the saasSubscriptionName property: SaaS subscription name of the installed SaaS application.
      Returns:
      the saasSubscriptionName value.
    • withSaasSubscriptionName

      public SolutionProperties withSaasSubscriptionName(String saasSubscriptionName)
      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

      public String marketplacePublisherId()
      Get the marketplacePublisherId property: SaaS application Publisher Id.
      Returns:
      the marketplacePublisherId value.
    • withMarketplacePublisherId

      public SolutionProperties withMarketplacePublisherId(String marketplacePublisherId)
      Set the marketplacePublisherId property: SaaS application Publisher Id.
      Parameters:
      marketplacePublisherId - the marketplacePublisherId value to set.
      Returns:
      the SolutionProperties object itself.
    • planId

      public String planId()
      Get the planId property: SaaS application Plan Id.
      Returns:
      the planId value.
    • withPlanId

      public SolutionProperties withPlanId(String planId)
      Set the planId property: SaaS application Plan Id.
      Parameters:
      planId - the planId value to set.
      Returns:
      the SolutionProperties object itself.
    • offerId

      public String offerId()
      Get the offerId property: SaaS application Offer Id.
      Returns:
      the offerId value.
    • withOfferId

      public SolutionProperties withOfferId(String offerId)
      Set the offerId property: SaaS application Offer Id.
      Parameters:
      offerId - the offerId value to set.
      Returns:
      the SolutionProperties object itself.
    • termId

      public String termId()
      Get the termId property: SaaS application Term Id.
      Returns:
      the termId value.
    • withTermId

      public SolutionProperties withTermId(String termId)
      Set the termId property: SaaS application Term Id.
      Parameters:
      termId - the termId value to set.
      Returns:
      the SolutionProperties object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: Solution resource properties.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public SolutionProperties withAdditionalProperties(Map<String,Object> additionalProperties)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SolutionProperties>
      Throws:
      IOException
    • fromJson

      public static SolutionProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.