@Generated(value="OracleSDKGenerator", comments="API Version: 20190331") public interface Analytics extends AutoCloseable
close
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the service.void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
region
- The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion
.
If no known Region could be determined, it will create an endpoint based on the default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
regionId
- The public region ID.ChangeAnalyticsInstanceCompartmentResponse changeAnalyticsInstanceCompartment(ChangeAnalyticsInstanceCompartmentRequest request)
Change the compartment of an Analytics instance. The operation is long-running and creates a new WorkRequest.
request
- The request object containing the details to sendBmcException
- when an error occurs.CreateAnalyticsInstanceResponse createAnalyticsInstance(CreateAnalyticsInstanceRequest request)
Create a new AnalyticsInstance in the specified compartment. The operation is long-running and creates a new WorkRequest.
request
- The request object containing the details to sendBmcException
- when an error occurs.DeleteAnalyticsInstanceResponse deleteAnalyticsInstance(DeleteAnalyticsInstanceRequest request)
Terminates the specified Analytics instance. The operation is long-running and creates a new WorkRequest.
request
- The request object containing the details to sendBmcException
- when an error occurs.DeleteWorkRequestResponse deleteWorkRequest(DeleteWorkRequestRequest request)
Cancel a work request that has not started yet.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetAnalyticsInstanceResponse getAnalyticsInstance(GetAnalyticsInstanceRequest request)
Info for a specific Analytics instance.
request
- The request object containing the details to sendBmcException
- when an error occurs.GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Get the details of a work request.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListAnalyticsInstancesResponse listAnalyticsInstances(ListAnalyticsInstancesRequest request)
List Analytics instances.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Get the errors of a work request.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Get the logs of a work request.
request
- The request object containing the details to sendBmcException
- when an error occurs.ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
List all work requests in a compartment.
request
- The request object containing the details to sendBmcException
- when an error occurs.ScaleAnalyticsInstanceResponse scaleAnalyticsInstance(ScaleAnalyticsInstanceRequest request)
Scale an Analytics instance up or down. The operation is long-running and creates a new WorkRequest.
request
- The request object containing the details to sendBmcException
- when an error occurs.StartAnalyticsInstanceResponse startAnalyticsInstance(StartAnalyticsInstanceRequest request)
Starts the specified Analytics instance. The operation is long-running and creates a new WorkRequest.
request
- The request object containing the details to sendBmcException
- when an error occurs.StopAnalyticsInstanceResponse stopAnalyticsInstance(StopAnalyticsInstanceRequest request)
Stop the specified Analytics instance. The operation is long-running and creates a new WorkRequest.
request
- The request object containing the details to sendBmcException
- when an error occurs.UpdateAnalyticsInstanceResponse updateAnalyticsInstance(UpdateAnalyticsInstanceRequest request)
Updates certain fields of an Analytics instance. Fields that are not provided in the request will not be updated.
request
- The request object containing the details to sendBmcException
- when an error occurs.AnalyticsWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
AnalyticsPaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.
Copyright © 2016–2020. All rights reserved.