public class GranularReporterStub extends com.vmware.vapi.internal.bindings.Stub implements GranularReporter
GranularReporter
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
GranularReporterStub(ApiProvider apiProvider,
StubConfigurationBase config) |
GranularReporterStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
void |
createUsageReport(java.lang.String org,
ReportPeriodConfig reportPeriodConfig)
Create granular usage report for specific time period
|
void |
createUsageReport(java.lang.String org,
ReportPeriodConfig reportPeriodConfig,
AsyncCallback<java.lang.Void> asyncCallback)
Create granular usage report for specific time period
|
void |
createUsageReport(java.lang.String org,
ReportPeriodConfig reportPeriodConfig,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Create granular usage report for specific time period
|
void |
createUsageReport(java.lang.String org,
ReportPeriodConfig reportPeriodConfig,
InvocationConfig invocationConfig)
Create granular usage report for specific time period
|
public GranularReporterStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public GranularReporterStub(ApiProvider apiProvider, StubConfigurationBase config)
public void createUsageReport(java.lang.String org, ReportPeriodConfig reportPeriodConfig)
GranularReporter
Synchronous method overload. Result of the invocation will be reported as a method return value.
createUsageReport
in interface GranularReporter
org
- Organization identifier (required)reportPeriodConfig
- Report period configurations (optional)public void createUsageReport(java.lang.String org, ReportPeriodConfig reportPeriodConfig, InvocationConfig invocationConfig)
GranularReporter
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
createUsageReport
in interface GranularReporter
org
- Organization identifier (required)reportPeriodConfig
- Report period configurations (optional)invocationConfig
- Configuration for the method invocation.public void createUsageReport(java.lang.String org, ReportPeriodConfig reportPeriodConfig, AsyncCallback<java.lang.Void> asyncCallback)
GranularReporter
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request
Unauthorized
- Forbidden
createUsageReport
in interface GranularReporter
org
- Organization identifier (required)reportPeriodConfig
- Report period configurations (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void createUsageReport(java.lang.String org, ReportPeriodConfig reportPeriodConfig, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
GranularReporter
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- Unauthorized
InvalidRequest
- Bad Request
Unauthorized
- Forbidden
createUsageReport
in interface GranularReporter
org
- Organization identifier (required)reportPeriodConfig
- Report period configurations (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.