Class PortalSettingsContractProperties


  • public final class PortalSettingsContractProperties
    extends Object
    Sign-in settings contract properties.
    • Constructor Detail

      • PortalSettingsContractProperties

        public PortalSettingsContractProperties()
    • Method Detail

      • url

        public String url()
        Get the url property: A delegation Url.
        Returns:
        the url value.
      • withUrl

        public PortalSettingsContractProperties withUrl​(String url)
        Set the url property: A delegation Url.
        Parameters:
        url - the url value to set.
        Returns:
        the PortalSettingsContractProperties object itself.
      • validationKey

        public String validationKey()
        Get the validationKey property: A base64-encoded validation key to validate, that a request is coming from Azure API Management.
        Returns:
        the validationKey value.
      • withValidationKey

        public PortalSettingsContractProperties withValidationKey​(String validationKey)
        Set the validationKey property: A base64-encoded validation key to validate, that a request is coming from Azure API Management.
        Parameters:
        validationKey - the validationKey value to set.
        Returns:
        the PortalSettingsContractProperties object itself.
      • enabled

        public Boolean enabled()
        Get the enabled property: Redirect Anonymous users to the Sign-In page.
        Returns:
        the enabled value.
      • withEnabled

        public PortalSettingsContractProperties withEnabled​(Boolean enabled)
        Set the enabled property: Redirect Anonymous users to the Sign-In page.
        Parameters:
        enabled - the enabled value to set.
        Returns:
        the PortalSettingsContractProperties object itself.
      • termsOfService

        public TermsOfServiceProperties termsOfService()
        Get the termsOfService property: Terms of service contract properties.
        Returns:
        the termsOfService value.
      • withTermsOfService

        public PortalSettingsContractProperties withTermsOfService​(TermsOfServiceProperties termsOfService)
        Set the termsOfService property: Terms of service contract properties.
        Parameters:
        termsOfService - the termsOfService value to set.
        Returns:
        the PortalSettingsContractProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.