Class SingleSignOnPropertiesV2

java.lang.Object
com.azure.resourcemanager.weightsandbiases.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 Details

    • SingleSignOnPropertiesV2

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

    • type

      public SingleSignOnType 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

      public SingleSignOnStates state()
      Get the state property: State of the Single Sign On for the resource.
      Returns:
      the state value.
    • withState

      public SingleSignOnPropertiesV2 withState(SingleSignOnStates state)
      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

      public String enterpriseAppId()
      Get the enterpriseAppId property: AAD enterprise application Id used to setup SSO.
      Returns:
      the enterpriseAppId value.
    • withEnterpriseAppId

      public SingleSignOnPropertiesV2 withEnterpriseAppId(String enterpriseAppId)
      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

      public String 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

      public SingleSignOnPropertiesV2 withUrl(String url)
      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

      public List<String> aadDomains()
      Get the aadDomains property: List of AAD domains fetched from Microsoft Graph for user.
      Returns:
      the aadDomains value.
    • withAadDomains

      public SingleSignOnPropertiesV2 withAadDomains(List<String> aadDomains)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.