Class LiftrBaseDataOrganizationProperties

java.lang.Object
com.azure.resourcemanager.astro.models.LiftrBaseDataOrganizationProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<LiftrBaseDataOrganizationProperties>

public final class LiftrBaseDataOrganizationProperties extends Object implements com.azure.json.JsonSerializable<LiftrBaseDataOrganizationProperties>
Properties specific to Data Organization resource.
  • Constructor Details

    • LiftrBaseDataOrganizationProperties

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

    • marketplace

      public LiftrBaseMarketplaceDetails marketplace()
      Get the marketplace property: Marketplace details of the resource.
      Returns:
      the marketplace value.
    • withMarketplace

      Set the marketplace property: Marketplace details of the resource.
      Parameters:
      marketplace - the marketplace value to set.
      Returns:
      the LiftrBaseDataOrganizationProperties object itself.
    • user

      public LiftrBaseUserDetails user()
      Get the user property: Details of the user.
      Returns:
      the user value.
    • withUser

      Set the user property: Details of the user.
      Parameters:
      user - the user value to set.
      Returns:
      the LiftrBaseDataOrganizationProperties object itself.
    • provisioningState

      public ResourceProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the resource.
      Returns:
      the provisioningState value.
    • partnerOrganizationProperties

      public LiftrBaseDataPartnerOrganizationProperties partnerOrganizationProperties()
      Get the partnerOrganizationProperties property: Organization properties.
      Returns:
      the partnerOrganizationProperties value.
    • withPartnerOrganizationProperties

      public LiftrBaseDataOrganizationProperties withPartnerOrganizationProperties(LiftrBaseDataPartnerOrganizationProperties partnerOrganizationProperties)
      Set the partnerOrganizationProperties property: Organization properties.
      Parameters:
      partnerOrganizationProperties - the partnerOrganizationProperties value to set.
      Returns:
      the LiftrBaseDataOrganizationProperties 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<LiftrBaseDataOrganizationProperties>
      Throws:
      IOException
    • fromJson

      public static LiftrBaseDataOrganizationProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of LiftrBaseDataOrganizationProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of LiftrBaseDataOrganizationProperties 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 LiftrBaseDataOrganizationProperties.