Class LiftrBaseSingleSignOnProperties

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

public final class LiftrBaseSingleSignOnProperties extends Object implements com.azure.json.JsonSerializable<LiftrBaseSingleSignOnProperties>
Properties specific to Single Sign On Resource.
  • Constructor Details

    • LiftrBaseSingleSignOnProperties

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

    • singleSignOnState

      public SingleSignOnStates singleSignOnState()
      Get the singleSignOnState property: State of the Single Sign On for the organization.
      Returns:
      the singleSignOnState value.
    • withSingleSignOnState

      public LiftrBaseSingleSignOnProperties withSingleSignOnState(SingleSignOnStates singleSignOnState)
      Set the singleSignOnState property: State of the Single Sign On for the organization.
      Parameters:
      singleSignOnState - the singleSignOnState value to set.
      Returns:
      the LiftrBaseSingleSignOnProperties object itself.
    • enterpriseAppId

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

      public LiftrBaseSingleSignOnProperties withEnterpriseAppId(String enterpriseAppId)
      Set the enterpriseAppId property: AAD enterprise application Id used to setup SSO.
      Parameters:
      enterpriseAppId - the enterpriseAppId value to set.
      Returns:
      the LiftrBaseSingleSignOnProperties object itself.
    • singleSignOnUrl

      public String singleSignOnUrl()
      Get the singleSignOnUrl property: URL for SSO to be used by the partner to redirect the user to their system.
      Returns:
      the singleSignOnUrl value.
    • withSingleSignOnUrl

      public LiftrBaseSingleSignOnProperties withSingleSignOnUrl(String singleSignOnUrl)
      Set the singleSignOnUrl property: URL for SSO to be used by the partner to redirect the user to their system.
      Parameters:
      singleSignOnUrl - the singleSignOnUrl value to set.
      Returns:
      the LiftrBaseSingleSignOnProperties 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 LiftrBaseSingleSignOnProperties 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 LiftrBaseSingleSignOnProperties object itself.
    • provisioningState

      public ResourceProvisioningState provisioningState()
      Get the provisioningState property: Provisioning State of the resource.
      Returns:
      the provisioningState value.
    • 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<LiftrBaseSingleSignOnProperties>
      Throws:
      IOException
    • fromJson

      public static LiftrBaseSingleSignOnProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of LiftrBaseSingleSignOnProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of LiftrBaseSingleSignOnProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the LiftrBaseSingleSignOnProperties.