public class EnterpriseUsageReports
extends com.ibm.cloud.sdk.core.service.BaseService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_SERVICE_NAME |
static java.lang.String |
DEFAULT_SERVICE_URL |
| Constructor and Description |
|---|
EnterpriseUsageReports(java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `EnterpriseUsageReports` client.
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<Reports> |
getResourceUsageReport()
Get usage reports for enterprise entities.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Reports> |
getResourceUsageReport(GetResourceUsageReportOptions getResourceUsageReportOptions)
Get usage reports for enterprise entities.
|
static EnterpriseUsageReports |
newInstance()
Class method which constructs an instance of the `EnterpriseUsageReports` client.
|
static EnterpriseUsageReports |
newInstance(java.lang.String serviceName)
Class method which constructs an instance of the `EnterpriseUsageReports` client.
|
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toStringpublic static final java.lang.String DEFAULT_SERVICE_NAME
public static final java.lang.String DEFAULT_SERVICE_URL
public EnterpriseUsageReports(java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
serviceName - the service name to be used when configuring the client instanceauthenticator - the Authenticator instance to be configured for this clientpublic static EnterpriseUsageReports newInstance()
public static EnterpriseUsageReports newInstance(java.lang.String serviceName)
serviceName - the service name to be used when configuring the client instancepublic com.ibm.cloud.sdk.core.http.ServiceCall<Reports> getResourceUsageReport(GetResourceUsageReportOptions getResourceUsageReportOptions)
getResourceUsageReportOptions - the GetResourceUsageReportOptions containing the options for the callServiceCall with a result of type Reportspublic com.ibm.cloud.sdk.core.http.ServiceCall<Reports> getResourceUsageReport()
ServiceCall with a result of type ReportsCopyright © 2022 IBM Cloud Platform Services. All rights reserved.