Package com.aspose.cad.cloud.invoker
Class Configuration
- java.lang.Object
-
- com.aspose.cad.cloud.invoker.Configuration
-
public class Configuration extends Object
Represents a set of configuration settings.
-
-
Field Summary
Fields Modifier and Type Field Description String
ClientId
Gets or sets the Client ID.String
ClientSecret
Gets or sets the Client Secret.String
DefaultApiVersion
The default API versionString
DefaultBaseUrl
The default base URLBoolean
OnPremise
If API service uses on-premise deployment with metered license
-
Constructor Summary
Constructors Constructor Description Configuration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApiBaseUrl()
Get Aspose Cloud API base URL.String
getApiRootUrl()
Gets the API root URL.String
getApiVersion()
Get Aspose Cloud API version.Boolean
getDebugMode()
Get Aspose Cloud API debug mode value.void
setApiBaseUrl(String value)
Set Aspose Cloud API base URL.void
setApiVersion(String value)
Set Aspose Cloud API base URL.void
setDebugMode(Boolean value)
Set Aspose Cloud API debug mode value.
-
-
-
Field Detail
-
DefaultBaseUrl
public final String DefaultBaseUrl
The default base URL- See Also:
- Constant Field Values
-
DefaultApiVersion
public final String DefaultApiVersion
The default API version- See Also:
- Constant Field Values
-
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
-
-
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.
-
-