Class OrganizationProperties

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

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

    • OrganizationProperties

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

    • marketplace

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

      public OrganizationProperties withMarketplace(MarketplaceDetails marketplace)
      Set the marketplace property: Marketplace details of the resource.
      Parameters:
      marketplace - the marketplace value to set.
      Returns:
      the OrganizationProperties object itself.
    • user

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

      public OrganizationProperties withUser(UserDetails user)
      Set the user property: Details of the user.
      Parameters:
      user - the user value to set.
      Returns:
      the OrganizationProperties object itself.
    • provisioningState

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

      public PartnerProperties partnerProperties()
      Get the partnerProperties property: partner properties.
      Returns:
      the partnerProperties value.
    • withPartnerProperties

      public OrganizationProperties withPartnerProperties(PartnerProperties partnerProperties)
      Set the partnerProperties property: partner properties.
      Parameters:
      partnerProperties - the partnerProperties value to set.
      Returns:
      the OrganizationProperties object itself.
    • singleSignOnProperties

      public SingleSignOnPropertiesV2 singleSignOnProperties()
      Get the singleSignOnProperties property: Single sign-on properties.
      Returns:
      the singleSignOnProperties value.
    • withSingleSignOnProperties

      public OrganizationProperties withSingleSignOnProperties(SingleSignOnPropertiesV2 singleSignOnProperties)
      Set the singleSignOnProperties property: Single sign-on properties.
      Parameters:
      singleSignOnProperties - the singleSignOnProperties value to set.
      Returns:
      the OrganizationProperties 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<OrganizationProperties>
      Throws:
      IOException
    • fromJson

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