Interface FunctionsManagement
- 
- All Superinterfaces:
- AutoCloseable
 - All Known Implementing Classes:
- FunctionsManagementClient
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public interface FunctionsManagement extends AutoCloseableAPI for the Functions service.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 ChangeApplicationCompartmentResponsechangeApplicationCompartment(ChangeApplicationCompartmentRequest request)Moves an application into a different compartment within the same tenancy.CreateApplicationResponsecreateApplication(CreateApplicationRequest request)Creates a new application.CreateFunctionResponsecreateFunction(CreateFunctionRequest request)Creates a new function.DeleteApplicationResponsedeleteApplication(DeleteApplicationRequest request)Deletes an application.DeleteFunctionResponsedeleteFunction(DeleteFunctionRequest request)Deletes a function.GetApplicationResponsegetApplication(GetApplicationRequest request)Retrieves an application.StringgetEndpoint()Gets the set endpoint for REST call (ex, https://www.example.com)GetFunctionResponsegetFunction(GetFunctionRequest request)Retrieves a function.FunctionsManagementPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetPbfListingResponsegetPbfListing(GetPbfListingRequest request)Fetches a Pre-built Function(PBF) Listing.GetPbfListingVersionResponsegetPbfListingVersion(GetPbfListingVersionRequest request)Gets a PbfListingVersion by identifier for a PbfListing.FunctionsManagementWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.ListApplicationsResponselistApplications(ListApplicationsRequest request)Lists applications for a compartment.ListFunctionsResponselistFunctions(ListFunctionsRequest request)Lists functions for an application.ListPbfListingsResponselistPbfListings(ListPbfListingsRequest request)Fetches a wrapped list of all Pre-built Function(PBF) Listings.ListPbfListingVersionsResponselistPbfListingVersions(ListPbfListingVersionsRequest request)Fetches a wrapped list of all Pre-built Function(PBF) Listing versions.ListTriggersResponselistTriggers(ListTriggersRequest request)Returns a list of Triggers.voidrefreshClient()Rebuilds the client from scratch.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’).UpdateApplicationResponseupdateApplication(UpdateApplicationRequest request)Modifies an applicationUpdateFunctionResponseupdateFunction(UpdateFunctionRequest request)Modifies a functionvoiduseRealmSpecificEndpointTemplate(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
 
 - 
changeApplicationCompartmentChangeApplicationCompartmentResponse changeApplicationCompartment(ChangeApplicationCompartmentRequest request) Moves an application into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources Between Compartments. - 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/functions/ChangeApplicationCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeApplicationCompartment API. 
 
 - 
createApplicationCreateApplicationResponse createApplication(CreateApplicationRequest request) Creates a new application.- 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/functions/CreateApplicationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateApplication API. 
 
 - 
createFunctionCreateFunctionResponse createFunction(CreateFunctionRequest request) Creates a new function.- 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/functions/CreateFunctionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateFunction API. 
 
 - 
deleteApplicationDeleteApplicationResponse deleteApplication(DeleteApplicationRequest request) Deletes an application.- 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/functions/DeleteApplicationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteApplication API. 
 
 - 
deleteFunctionDeleteFunctionResponse deleteFunction(DeleteFunctionRequest request) Deletes a function.- 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/functions/DeleteFunctionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteFunction API. 
 
 - 
getApplicationGetApplicationResponse getApplication(GetApplicationRequest request) Retrieves an application.- 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/functions/GetApplicationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetApplication API. 
 
 - 
getFunctionGetFunctionResponse getFunction(GetFunctionRequest request) Retrieves a function.- 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/functions/GetFunctionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetFunction API. 
 
 - 
getPbfListingGetPbfListingResponse getPbfListing(GetPbfListingRequest request) Fetches a Pre-built Function(PBF) Listing.Returns a PbfListing response model. - 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/functions/GetPbfListingExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetPbfListing API. 
 
 - 
getPbfListingVersionGetPbfListingVersionResponse getPbfListingVersion(GetPbfListingVersionRequest request) Gets a PbfListingVersion by identifier for a PbfListing.- 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/functions/GetPbfListingVersionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetPbfListingVersion API. 
 
 - 
listApplicationsListApplicationsResponse listApplications(ListApplicationsRequest request) Lists applications for 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/functions/ListApplicationsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListApplications API. 
 
 - 
listFunctionsListFunctionsResponse listFunctions(ListFunctionsRequest request) Lists functions for an application.- 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/functions/ListFunctionsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListFunctions API. 
 
 - 
listPbfListingVersionsListPbfListingVersionsResponse listPbfListingVersions(ListPbfListingVersionsRequest request) Fetches a wrapped list of all Pre-built Function(PBF) Listing versions.Returns a PbfListingVersionCollection containing an array of PbfListingVersionSummary response models. Note that the PbfListingIdentifier must be provided as a query parameter, otherwise an exception shall be thrown. - 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/functions/ListPbfListingVersionsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListPbfListingVersions API. 
 
 - 
listPbfListingsListPbfListingsResponse listPbfListings(ListPbfListingsRequest request) Fetches a wrapped list of all Pre-built Function(PBF) Listings.Returns a PbfListingCollection containing an array of PbfListingSummary response models. - 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/functions/ListPbfListingsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListPbfListings API. 
 
 - 
listTriggersListTriggersResponse listTriggers(ListTriggersRequest request) Returns a list of Triggers.- 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/functions/ListTriggersExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListTriggers API. 
 
 - 
updateApplicationUpdateApplicationResponse updateApplication(UpdateApplicationRequest request) Modifies an application- 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/functions/UpdateApplicationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateApplication API. 
 
 - 
updateFunctionUpdateFunctionResponse updateFunction(UpdateFunctionRequest request) Modifies a function- 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/functions/UpdateFunctionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateFunction API. 
 
 - 
getWaitersFunctionsManagementWaiters getWaiters() Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
 
 - 
getPaginatorsFunctionsManagementPaginators 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.
 
 
- 
 
-