Class SingleSignOnPropertiesV2
java.lang.Object
com.azure.resourcemanager.pineconevectordb.models.SingleSignOnPropertiesV2
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SingleSignOnPropertiesV2>
public final class SingleSignOnPropertiesV2
extends Object
implements com.azure.json.JsonSerializable<SingleSignOnPropertiesV2>
Properties specific to Single Sign On Resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SingleSignOnPropertiesV2 class. -
Method Summary
Modifier and TypeMethodDescriptionGet the aadDomains property: List of AAD domains fetched from Microsoft Graph for user.Get the enterpriseAppId property: AAD enterprise application Id used to setup SSO.static SingleSignOnPropertiesV2fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SingleSignOnPropertiesV2 from the JsonReader.state()Get the state property: State of the Single Sign On for the resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Type of Single Sign-On mechanism being used.url()Get the url property: URL for SSO to be used by the partner to redirect the user to their system.voidvalidate()Validates the instance.withAadDomains(List<String> aadDomains) Set the aadDomains property: List of AAD domains fetched from Microsoft Graph for user.withEnterpriseAppId(String enterpriseAppId) Set the enterpriseAppId property: AAD enterprise application Id used to setup SSO.withState(SingleSignOnStates state) Set the state property: State of the Single Sign On for the resource.withType(SingleSignOnType type) Set the type property: Type of Single Sign-On mechanism being used.Set the url property: URL for SSO to be used by the partner to redirect the user to their system.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
-
SingleSignOnPropertiesV2
public SingleSignOnPropertiesV2()Creates an instance of SingleSignOnPropertiesV2 class.
-
-
Method Details
-
type
Get the type property: Type of Single Sign-On mechanism being used.- Returns:
- the type value.
-
withType
Set the type property: Type of Single Sign-On mechanism being used.- Parameters:
type- the type value to set.- Returns:
- the SingleSignOnPropertiesV2 object itself.
-
state
Get the state property: State of the Single Sign On for the resource.- Returns:
- the state value.
-
withState
Set the state property: State of the Single Sign On for the resource.- Parameters:
state- the state value to set.- Returns:
- the SingleSignOnPropertiesV2 object itself.
-
enterpriseAppId
Get the enterpriseAppId property: AAD enterprise application Id used to setup SSO.- Returns:
- the enterpriseAppId value.
-
withEnterpriseAppId
Set the enterpriseAppId property: AAD enterprise application Id used to setup SSO.- Parameters:
enterpriseAppId- the enterpriseAppId value to set.- Returns:
- the SingleSignOnPropertiesV2 object itself.
-
url
Get the url property: URL for SSO to be used by the partner to redirect the user to their system.- Returns:
- the url value.
-
withUrl
Set the url property: URL for SSO to be used by the partner to redirect the user to their system.- Parameters:
url- the url value to set.- Returns:
- the SingleSignOnPropertiesV2 object itself.
-
aadDomains
Get the aadDomains property: List of AAD domains fetched from Microsoft Graph for user.- Returns:
- the aadDomains value.
-
withAadDomains
Set the aadDomains property: List of AAD domains fetched from Microsoft Graph for user.- Parameters:
aadDomains- the aadDomains value to set.- Returns:
- the SingleSignOnPropertiesV2 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<SingleSignOnPropertiesV2>- Throws:
IOException
-
fromJson
public static SingleSignOnPropertiesV2 fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SingleSignOnPropertiesV2 from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SingleSignOnPropertiesV2 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 SingleSignOnPropertiesV2.
-