Interface VbInstance
- 
- All Superinterfaces:
- AutoCloseable
 - All Known Implementing Classes:
- VbInstanceClient
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210601") public interface VbInstance extends AutoCloseableOracle Visual Builder enables developers to quickly build web and mobile applications.With a visual development environment that makes it easy to connect to Oracle data and third-party REST services, developers can build modern, consumer-grade applications in a fraction of the time it would take in other tools. The Visual Builder Instance Management API allows users to create and manage a Visual Builder instance. This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user. 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ChangeVbInstanceCompartmentResponsechangeVbInstanceCompartment(ChangeVbInstanceCompartmentRequest request)Change the compartment for an vb instanceCreateVbInstanceResponsecreateVbInstance(CreateVbInstanceRequest request)Creates a new Vb Instance.DeleteVbInstanceResponsedeleteVbInstance(DeleteVbInstanceRequest request)Deletes an Vb Instance resource by identifier.StringgetEndpoint()Gets the set endpoint for REST call (ex, https://www.example.com)VbInstancePaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetVbInstanceResponsegetVbInstance(GetVbInstanceRequest request)Gets a VbInstance by identifierVbInstanceWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the status of the work request with the given ID.ListVbInstancesResponselistVbInstances(ListVbInstancesRequest request)Returns a list of Vb Instances.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Get the errors of a work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Get the logs of a work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.ReconfigurePrivateEndpointVbInstanceResponsereconfigurePrivateEndpointVbInstance(ReconfigurePrivateEndpointVbInstanceRequest request)Reconfigures the Private Endpoint associated with the private visual builder instance.voidrefreshClient()Rebuilds the client from scratch.RequestSummarizedApplicationsResponserequestSummarizedApplications(RequestSummarizedApplicationsRequest request)Summarizes the applications for a vb instance.voidsetEndpoint(String endpoint)Sets the endpoint to call (ex, https://www.example.com).voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).StartVbInstanceResponsestartVbInstance(StartVbInstanceRequest request)Start an vb instance that was previously in an INACTIVE state.StopVbInstanceResponsestopVbInstance(StopVbInstanceRequest request)Stop an vb instance that was previously in an ACTIVE state.UpdateVbInstanceResponseupdateVbInstance(UpdateVbInstanceRequest request)Updates the Vb Instance.voiduseRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)Determines whether realm specific endpoint should be used or not.- 
Methods inherited from interface java.lang.AutoCloseableclose
 
- 
 
- 
- 
- 
Method Detail- 
refreshClientvoid refreshClient() Rebuilds the client from scratch.Useful to refresh certificates. 
 - 
setEndpointvoid setEndpoint(String endpoint) Sets the endpoint to call (ex, https://www.example.com).- Parameters:
- endpoint- The endpoint of the service.
 
 - 
getEndpointString getEndpoint() Gets the set endpoint for REST call (ex, https://www.example.com)
 - 
setRegionvoid setRegion(Region region) Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Parameters:
- region- The region of the service.
 
 - 
setRegionvoid 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 callsetEndpoint.- Parameters:
- regionId- The public region ID.
 
 - 
useRealmSpecificEndpointTemplatevoid useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled) Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false” - Parameters:
- realmSpecificEndpointTemplateEnabled- flag to enable the use of realm specific endpoint template
 
 - 
changeVbInstanceCompartmentChangeVbInstanceCompartmentResponse changeVbInstanceCompartment(ChangeVbInstanceCompartmentRequest request) Change the compartment for an vb instance- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/ChangeVbInstanceCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeVbInstanceCompartment API. 
 
 - 
createVbInstanceCreateVbInstanceResponse createVbInstance(CreateVbInstanceRequest request) Creates a new Vb Instance.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/CreateVbInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateVbInstance API. 
 
 - 
deleteVbInstanceDeleteVbInstanceResponse deleteVbInstance(DeleteVbInstanceRequest request) Deletes an Vb Instance resource by identifier.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/DeleteVbInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteVbInstance API. 
 
 - 
getVbInstanceGetVbInstanceResponse getVbInstance(GetVbInstanceRequest request) Gets a VbInstance by identifier- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/GetVbInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetVbInstance API. 
 
 - 
getWorkRequestGetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) Gets the status of the work request with the given ID.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API. 
 
 - 
listVbInstancesListVbInstancesResponse listVbInstances(ListVbInstancesRequest request) Returns a list of Vb Instances.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/ListVbInstancesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListVbInstances API. 
 
 - 
listWorkRequestErrorsListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request) Get the errors of a work request.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API. 
 
 - 
listWorkRequestLogsListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request) Get the logs of a work request.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API. 
 
 - 
listWorkRequestsListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request) Lists the work requests in a compartment.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API. 
 
 - 
reconfigurePrivateEndpointVbInstanceReconfigurePrivateEndpointVbInstanceResponse reconfigurePrivateEndpointVbInstance(ReconfigurePrivateEndpointVbInstanceRequest request) Reconfigures the Private Endpoint associated with the private visual builder instance.Use this action in case the Private Endpoint is not working and needs to be reset. The VB instance has to be in ACTIVE state and should be a private instance to perform this operation. If the previous state is not ACTIVE, then the state of the vbInstance will not be changed and a 409 response returned. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/ReconfigurePrivateEndpointVbInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ReconfigurePrivateEndpointVbInstance API. 
 
 - 
requestSummarizedApplicationsRequestSummarizedApplicationsResponse requestSummarizedApplications(RequestSummarizedApplicationsRequest request) Summarizes the applications for a vb instance.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/RequestSummarizedApplicationsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RequestSummarizedApplications API. 
 
 - 
startVbInstanceStartVbInstanceResponse startVbInstance(StartVbInstanceRequest request) Start an vb instance that was previously in an INACTIVE state.If the previous state is not INACTIVE, then the state of the vbInstance will not be changed and a 409 response returned. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/StartVbInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use StartVbInstance API. 
 
 - 
stopVbInstanceStopVbInstanceResponse stopVbInstance(StopVbInstanceRequest request) Stop an vb instance that was previously in an ACTIVE state.If the previous state is not ACTIVE, then the state of the vbInstance will not be changed and a 409 response returned. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/StopVbInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use StopVbInstance API. 
 
 - 
updateVbInstanceUpdateVbInstanceResponse updateVbInstance(UpdateVbInstanceRequest request) Updates the Vb Instance.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/visualbuilder/UpdateVbInstanceExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateVbInstance API. 
 
 - 
getWaitersVbInstanceWaiters getWaiters() Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
 
 - 
getPaginatorsVbInstancePaginators getPaginators() Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Returns:
- The service paginators.
 
 
- 
 
-