Interface FleetAppsManagementAsync

  • All Superinterfaces:
    AutoCloseable
    All Known Implementing Classes:
    FleetAppsManagementAsyncClient

    @Generated(value="OracleSDKGenerator",
               comments="API Version: 20230831")
    public interface FleetAppsManagementAsync
    extends AutoCloseable
    Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise.
    • Method Detail

      • refreshClient

        void refreshClient()
        Rebuilds the client from scratch.

        Useful to refresh certificates.

      • setEndpoint

        void setEndpoint​(String endpoint)
        Sets the endpoint to call (ex, https://www.example.com).
        Parameters:
        endpoint - The endpoint of the serice.
      • getEndpoint

        String getEndpoint()
        Gets the set endpoint for REST call (ex, https://www.example.com)
      • setRegion

        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.

        Parameters:
        region - The region of the service.
      • setRegion

        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.

        Parameters:
        regionId - The public region ID.
      • useRealmSpecificEndpointTemplate

        void 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
      • checkResourceTagging

        Future<CheckResourceTaggingResponse> checkResourceTagging​(CheckResourceTaggingRequest request,
                                                                  AsyncHandler<CheckResourceTaggingRequest,​CheckResourceTaggingResponse> handler)
        Check if Fleet Application Management tags can be added to the resources.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • confirmTargets

        Future<ConfirmTargetsResponse> confirmTargets​(ConfirmTargetsRequest request,
                                                      AsyncHandler<ConfirmTargetsRequest,​ConfirmTargetsResponse> handler)
        Confirm targets to be managed for a Fleet.

        Only targets that are confirmed will be managed by Fleet Application Management

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • createFleet

        Future<CreateFleetResponse> createFleet​(CreateFleetRequest request,
                                                AsyncHandler<CreateFleetRequest,​CreateFleetResponse> handler)
        Create a product, environment, group, or generic type of fleet in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • createFleetCredential

        Future<CreateFleetCredentialResponse> createFleetCredential​(CreateFleetCredentialRequest request,
                                                                    AsyncHandler<CreateFleetCredentialRequest,​CreateFleetCredentialResponse> handler)
        Add credentials to a fleet in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • createFleetProperty

        Future<CreateFleetPropertyResponse> createFleetProperty​(CreateFleetPropertyRequest request,
                                                                AsyncHandler<CreateFleetPropertyRequest,​CreateFleetPropertyResponse> handler)
        Add an existing global property to a fleet in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • createFleetResource

        Future<CreateFleetResourceResponse> createFleetResource​(CreateFleetResourceRequest request,
                                                                AsyncHandler<CreateFleetResourceRequest,​CreateFleetResourceResponse> handler)
        Add resource to a fleet in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • deleteFleet

        Future<DeleteFleetResponse> deleteFleet​(DeleteFleetRequest request,
                                                AsyncHandler<DeleteFleetRequest,​DeleteFleetResponse> handler)
        Delete a fleet in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • deleteFleetCredential

        Future<DeleteFleetCredentialResponse> deleteFleetCredential​(DeleteFleetCredentialRequest request,
                                                                    AsyncHandler<DeleteFleetCredentialRequest,​DeleteFleetCredentialResponse> handler)
        Delete a credential associated with a fleet product or application in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • deleteFleetProperty

        Future<DeleteFleetPropertyResponse> deleteFleetProperty​(DeleteFleetPropertyRequest request,
                                                                AsyncHandler<DeleteFleetPropertyRequest,​DeleteFleetPropertyResponse> handler)
        Delete a property associated with a fleet in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • deleteFleetResource

        Future<DeleteFleetResourceResponse> deleteFleetResource​(DeleteFleetResourceRequest request,
                                                                AsyncHandler<DeleteFleetResourceRequest,​DeleteFleetResourceResponse> handler)
        Removes a resource from the fleet in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getComplianceReport

        Future<GetComplianceReportResponse> getComplianceReport​(GetComplianceReportRequest request,
                                                                AsyncHandler<GetComplianceReportRequest,​GetComplianceReportResponse> handler)
        Retrieve compliance report for a fleet.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getFleet

        Future<GetFleetResponse> getFleet​(GetFleetRequest request,
                                          AsyncHandler<GetFleetRequest,​GetFleetResponse> handler)
        Get the details of a fleet in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getFleetCredential

        Future<GetFleetCredentialResponse> getFleetCredential​(GetFleetCredentialRequest request,
                                                              AsyncHandler<GetFleetCredentialRequest,​GetFleetCredentialResponse> handler)
        Gets a FleetCredential by identifier.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getFleetProperty

        Future<GetFleetPropertyResponse> getFleetProperty​(GetFleetPropertyRequest request,
                                                          AsyncHandler<GetFleetPropertyRequest,​GetFleetPropertyResponse> handler)
        Gets a Fleet Property by identifier.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getFleetResource

        Future<GetFleetResourceResponse> getFleetResource​(GetFleetResourceRequest request,
                                                          AsyncHandler<GetFleetResourceRequest,​GetFleetResourceResponse> handler)
        Gets a Fleet Resource by identifier.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • getWorkRequest

        Future<GetWorkRequestResponse> getWorkRequest​(GetWorkRequestRequest request,
                                                      AsyncHandler<GetWorkRequestRequest,​GetWorkRequestResponse> handler)
        Gets details of the work request with the given ID.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listAnnouncements

        Future<ListAnnouncementsResponse> listAnnouncements​(ListAnnouncementsRequest request,
                                                            AsyncHandler<ListAnnouncementsRequest,​ListAnnouncementsResponse> handler)
        Return a list of AnnouncementSummary items.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listFleetCredentials

        Future<ListFleetCredentialsResponse> listFleetCredentials​(ListFleetCredentialsRequest request,
                                                                  AsyncHandler<ListFleetCredentialsRequest,​ListFleetCredentialsResponse> handler)
        List credentials in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listFleetProducts

        Future<ListFleetProductsResponse> listFleetProducts​(ListFleetProductsRequest request,
                                                            AsyncHandler<ListFleetProductsRequest,​ListFleetProductsResponse> handler)
        Returns a list of products associated with the confirmed targets.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listFleetProperties

        Future<ListFleetPropertiesResponse> listFleetProperties​(ListFleetPropertiesRequest request,
                                                                AsyncHandler<ListFleetPropertiesRequest,​ListFleetPropertiesResponse> handler)
        List fleet properties in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listFleetResources

        Future<ListFleetResourcesResponse> listFleetResources​(ListFleetResourcesRequest request,
                                                              AsyncHandler<ListFleetResourcesRequest,​ListFleetResourcesResponse> handler)
        List resources for a fleet in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listFleetTargets

        Future<ListFleetTargetsResponse> listFleetTargets​(ListFleetTargetsRequest request,
                                                          AsyncHandler<ListFleetTargetsRequest,​ListFleetTargetsResponse> handler)
        Returns the list of all confirmed targets within a fleet.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listFleets

        Future<ListFleetsResponse> listFleets​(ListFleetsRequest request,
                                              AsyncHandler<ListFleetsRequest,​ListFleetsResponse> handler)
        Returns a list of Fleets in the specified Tenancy.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listInventoryResources

        Future<ListInventoryResourcesResponse> listInventoryResources​(ListInventoryResourcesRequest request,
                                                                      AsyncHandler<ListInventoryResourcesRequest,​ListInventoryResourcesResponse> handler)
        Returns a list of InventoryResources.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listTargets

        Future<ListTargetsResponse> listTargets​(ListTargetsRequest request,
                                                AsyncHandler<ListTargetsRequest,​ListTargetsResponse> handler)
        Return all targets belonging to the resources within a fleet.

        It will include both confirmed and unconfirmed targets.

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listWorkRequestErrors

        Future<ListWorkRequestErrorsResponse> listWorkRequestErrors​(ListWorkRequestErrorsRequest request,
                                                                    AsyncHandler<ListWorkRequestErrorsRequest,​ListWorkRequestErrorsResponse> handler)
        Returns a (paginated) list of errors for the work request with the given ID.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listWorkRequestLogs

        Future<ListWorkRequestLogsResponse> listWorkRequestLogs​(ListWorkRequestLogsRequest request,
                                                                AsyncHandler<ListWorkRequestLogsRequest,​ListWorkRequestLogsResponse> handler)
        Returns a (paginated) list of logs for the work request with the given ID.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • listWorkRequests

        Future<ListWorkRequestsResponse> listWorkRequests​(ListWorkRequestsRequest request,
                                                          AsyncHandler<ListWorkRequestsRequest,​ListWorkRequestsResponse> handler)
        Lists the work requests in a compartment.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • requestTargetDiscovery

        Future<RequestTargetDiscoveryResponse> requestTargetDiscovery​(RequestTargetDiscoveryRequest request,
                                                                      AsyncHandler<RequestTargetDiscoveryRequest,​RequestTargetDiscoveryResponse> handler)
        Confirm targets to be managed for a Fleet.

        Only targets that are confirmed will be managed by Fleet Application Management

        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • updateFleet

        Future<UpdateFleetResponse> updateFleet​(UpdateFleetRequest request,
                                                AsyncHandler<UpdateFleetRequest,​UpdateFleetResponse> handler)
        Update fleet information in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • updateFleetCredential

        Future<UpdateFleetCredentialResponse> updateFleetCredential​(UpdateFleetCredentialRequest request,
                                                                    AsyncHandler<UpdateFleetCredentialRequest,​UpdateFleetCredentialResponse> handler)
        Edit credentials associated with a product or application in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • updateFleetProperty

        Future<UpdateFleetPropertyResponse> updateFleetProperty​(UpdateFleetPropertyRequest request,
                                                                AsyncHandler<UpdateFleetPropertyRequest,​UpdateFleetPropertyResponse> handler)
        Edit a property associated with a fleet in Fleet Application Management.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
      • updateFleetResource

        Future<UpdateFleetResourceResponse> updateFleetResource​(UpdateFleetResourceRequest request,
                                                                AsyncHandler<UpdateFleetResourceRequest,​UpdateFleetResourceResponse> handler)
        Updates the FleetResource.
        Parameters:
        request - The request object containing the details to send
        handler - The request handler to invoke upon completion, may be null.
        Returns:
        A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.