@Generated(value="OracleSDKGenerator", comments="API Version: 20190912") public interface OceInstance extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
ChangeOceInstanceCompartmentResponse |
changeOceInstanceCompartment(ChangeOceInstanceCompartmentRequest request)
Moves a OceInstance into a different compartment
|
CreateOceInstanceResponse |
createOceInstance(CreateOceInstanceRequest request)
Creates a new OceInstance.
|
DeleteOceInstanceResponse |
deleteOceInstance(DeleteOceInstanceRequest request)
Deletes a OceInstance resource by identifier
|
GetOceInstanceResponse |
getOceInstance(GetOceInstanceRequest request)
Gets a OceInstance by identifier
|
OceInstancePaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.
|
OceInstanceWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
GetWorkRequestResponse |
getWorkRequest(GetWorkRequestRequest request)
Gets the status of the work request with the given ID.
|
ListOceInstancesResponse |
listOceInstances(ListOceInstancesRequest request)
Returns a list of OceInstances.
|
ListWorkRequestErrorsResponse |
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Return a (paginated) list of errors for a given work request.
|
ListWorkRequestLogsResponse |
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Return a (paginated) list of logs for a given work request.
|
ListWorkRequestsResponse |
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.
|
void |
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
|
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
UpdateOceInstanceResponse |
updateOceInstance(UpdateOceInstanceRequest request)
Updates the OceInstance
|
closevoid 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.ChangeOceInstanceCompartmentResponse changeOceInstanceCompartment(ChangeOceInstanceCompartmentRequest request)
Moves a OceInstance into a different compartment
request - The request object containing the details to sendBmcException - when an error occurs.CreateOceInstanceResponse createOceInstance(CreateOceInstanceRequest request)
Creates a new OceInstance.
request - The request object containing the details to sendBmcException - when an error occurs.DeleteOceInstanceResponse deleteOceInstance(DeleteOceInstanceRequest request)
Deletes a OceInstance resource by identifier
request - The request object containing the details to sendBmcException - when an error occurs.GetOceInstanceResponse getOceInstance(GetOceInstanceRequest request)
Gets a OceInstance by identifier
request - The request object containing the details to sendBmcException - when an error occurs.GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Gets the status of the work request with the given ID.
request - The request object containing the details to sendBmcException - when an error occurs.ListOceInstancesResponse listOceInstances(ListOceInstancesRequest request)
Returns a list of OceInstances.
request - The request object containing the details to sendBmcException - when an error occurs.ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Return a (paginated) list of errors for a given work request.
request - The request object containing the details to sendBmcException - when an error occurs.ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Return a (paginated) list of logs for a given work request.
request - The request object containing the details to sendBmcException - when an error occurs.ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.
request - The request object containing the details to sendBmcException - when an error occurs.UpdateOceInstanceResponse updateOceInstance(UpdateOceInstanceRequest request)
Updates the OceInstance
request - The request object containing the details to sendBmcException - when an error occurs.OceInstanceWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
OceInstancePaginators 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–2019. All rights reserved.