Class Configuration


  • public class Configuration
    extends Object
    Represents a set of configuration settings.
    • Field Detail

      • ClientSecret

        public String ClientSecret
        Gets or sets the Client Secret.
      • ClientId

        public String ClientId
        Gets or sets the Client ID.
      • OnPremise

        public Boolean OnPremise
        If API service uses on-premise deployment with metered license
    • Constructor Detail

      • Configuration

        public Configuration()
    • Method Detail

      • getApiBaseUrl

        public String getApiBaseUrl()
        Get Aspose Cloud API base URL.
        Returns:
        Aspose Cloud API base URL.
      • setApiBaseUrl

        public void setApiBaseUrl​(String value)
        Set Aspose Cloud API base URL.
        Parameters:
        value -
      • getApiVersion

        public String getApiVersion()
        Get Aspose Cloud API version.
        Returns:
        Aspose Cloud API version.
      • setApiVersion

        public void setApiVersion​(String value)
                           throws Exception
        Set Aspose Cloud API base URL.
        Parameters:
        value -
        Throws:
        Exception
      • getDebugMode

        public Boolean getDebugMode()
        Get Aspose Cloud API debug mode value.
        Returns:
        Aspose Cloud API debug mode value.
      • setDebugMode

        public void setDebugMode​(Boolean value)
        Set Aspose Cloud API debug mode value.
        Parameters:
        value -
      • getApiRootUrl

        public String getApiRootUrl()
        Gets the API root URL.
        Returns:
        API root URL.