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 Summary
ConstructorsConstructorDescriptionCreates an instance of OrganizationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionstatic OrganizationPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OrganizationProperties from the JsonReader.Get the marketplace property: Marketplace details of the resource.Get the partnerProperties property: partner properties.Get the provisioningState property: Provisioning state of the resource.Get the singleSignOnProperties property: Single sign-on properties.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) user()Get the user property: Details of the user.voidvalidate()Validates the instance.withMarketplace(MarketplaceDetails marketplace) Set the marketplace property: Marketplace details of the resource.withPartnerProperties(PartnerProperties partnerProperties) Set the partnerProperties property: partner properties.withSingleSignOnProperties(SingleSignOnPropertiesV2 singleSignOnProperties) Set the singleSignOnProperties property: Single sign-on properties.withUser(UserDetails user) Set the user property: Details of the user.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
-
OrganizationProperties
public OrganizationProperties()Creates an instance of OrganizationProperties class.
-
-
Method Details
-
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 OrganizationProperties object itself.
-
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 OrganizationProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
partnerProperties
Get the partnerProperties property: partner properties.- Returns:
- the partnerProperties value.
-
withPartnerProperties
Set the partnerProperties property: partner properties.- Parameters:
partnerProperties- the partnerProperties value to set.- Returns:
- the OrganizationProperties object itself.
-
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
- Specified by:
toJsonin interfacecom.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.
-