@Generated(value="OracleSDKGenerator", comments="API Version: 20220528") public class FleetSoftwareUpdateAsyncClient extends BaseAsyncClient implements FleetSoftwareUpdateAsync
Async client implementation for FleetSoftwareUpdate service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response
to the call is an InputStream
, like getObject Api in object storage service,
developers need to process the stream in AsyncHandler, and not anywhere else, because the stream
will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done
with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or
the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the
AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine
whether or not the request was completed via Future.isDone/isCancelled.
Please refer to
https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
Modifier and Type | Class and Description |
---|---|
static class |
FleetSoftwareUpdateAsyncClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for FleetSoftwareUpdate.
|
Constructor and Description |
---|
FleetSoftwareUpdateAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
FleetSoftwareUpdateAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
FleetSoftwareUpdateAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
FleetSoftwareUpdateAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
FleetSoftwareUpdateAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
FleetSoftwareUpdateAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
FleetSoftwareUpdateAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for FleetSoftwareUpdate.
public final String clientCommonLibraryVersion
@Deprecated public FleetSoftwareUpdateAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see FleetSoftwareUpdateAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public FleetSoftwareUpdateAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see FleetSoftwareUpdateAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public FleetSoftwareUpdateAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see FleetSoftwareUpdateAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public FleetSoftwareUpdateAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see FleetSoftwareUpdateAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public FleetSoftwareUpdateAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see FleetSoftwareUpdateAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public FleetSoftwareUpdateAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see FleetSoftwareUpdateAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public FleetSoftwareUpdateAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see FleetSoftwareUpdateAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
public static FleetSoftwareUpdateAsyncClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
FleetSoftwareUpdateAsync
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.
setRegion
in interface FleetSoftwareUpdateAsync
region
- The region of the service.public void setRegion(String regionId)
FleetSoftwareUpdateAsync
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
.
setRegion
in interface FleetSoftwareUpdateAsync
regionId
- The public region ID.public Future<AbortFsuDiscoveryResponse> abortFsuDiscovery(AbortFsuDiscoveryRequest request, AsyncHandler<AbortFsuDiscoveryRequest,AbortFsuDiscoveryResponse> handler)
FleetSoftwareUpdateAsync
Aborts Exadata Fleet Update Discovery in progress.
abortFsuDiscovery
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AddFsuCollectionTargetsResponse> addFsuCollectionTargets(AddFsuCollectionTargetsRequest request, AsyncHandler<AddFsuCollectionTargetsRequest,AddFsuCollectionTargetsResponse> handler)
FleetSoftwareUpdateAsync
Adds targets to an existing Exadata Fleet Update Collection. Targets that are already part of a different Collection with an active Fleet Software Update Cycle cannot be added. This operation can only be performed on Collections that do not have an Action executing under an active Fleet Software Update Cycle. Additionally, during an active Fleet Software Update Cycle, targets can be added only prior to executing an Apply Action. This will require running a new Stage Action for the active Cycle.
addFsuCollectionTargets
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CancelFsuActionResponse> cancelFsuAction(CancelFsuActionRequest request, AsyncHandler<CancelFsuActionRequest,CancelFsuActionResponse> handler)
FleetSoftwareUpdateAsync
Cancels a scheduled Action. Only applicable for Actions that have not started executing.
cancelFsuAction
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeFsuActionCompartmentResponse> changeFsuActionCompartment(ChangeFsuActionCompartmentRequest request, AsyncHandler<ChangeFsuActionCompartmentRequest,ChangeFsuActionCompartmentResponse> handler)
FleetSoftwareUpdateAsync
Moves a Exadata Fleet Update Action resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
changeFsuActionCompartment
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeFsuCollectionCompartmentResponse> changeFsuCollectionCompartment(ChangeFsuCollectionCompartmentRequest request, AsyncHandler<ChangeFsuCollectionCompartmentRequest,ChangeFsuCollectionCompartmentResponse> handler)
FleetSoftwareUpdateAsync
Moves a Exadata Fleet Update Collection resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
changeFsuCollectionCompartment
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeFsuCycleCompartmentResponse> changeFsuCycleCompartment(ChangeFsuCycleCompartmentRequest request, AsyncHandler<ChangeFsuCycleCompartmentRequest,ChangeFsuCycleCompartmentResponse> handler)
FleetSoftwareUpdateAsync
Moves a Exadata Fleet Update Cycle resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
changeFsuCycleCompartment
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeFsuDiscoveryCompartmentResponse> changeFsuDiscoveryCompartment(ChangeFsuDiscoveryCompartmentRequest request, AsyncHandler<ChangeFsuDiscoveryCompartmentRequest,ChangeFsuDiscoveryCompartmentResponse> handler)
FleetSoftwareUpdateAsync
Moves a Exadata Fleet Update Discovery resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.
changeFsuDiscoveryCompartment
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CloneFsuCycleResponse> cloneFsuCycle(CloneFsuCycleRequest request, AsyncHandler<CloneFsuCycleRequest,CloneFsuCycleResponse> handler)
FleetSoftwareUpdateAsync
Clones existing Exadata Fleet Update Cycle details into a new Exadata Fleet Update Cycle resource.
cloneFsuCycle
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateFsuActionResponse> createFsuAction(CreateFsuActionRequest request, AsyncHandler<CreateFsuActionRequest,CreateFsuActionResponse> handler)
FleetSoftwareUpdateAsync
Creates a new Exadata Fleet Update Action.
createFsuAction
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateFsuCollectionResponse> createFsuCollection(CreateFsuCollectionRequest request, AsyncHandler<CreateFsuCollectionRequest,CreateFsuCollectionResponse> handler)
FleetSoftwareUpdateAsync
Creates a new Exadata Fleet Update Collection.
createFsuCollection
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateFsuCycleResponse> createFsuCycle(CreateFsuCycleRequest request, AsyncHandler<CreateFsuCycleRequest,CreateFsuCycleResponse> handler)
FleetSoftwareUpdateAsync
Creates a new Exadata Fleet Update Cycle.
createFsuCycle
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateFsuDiscoveryResponse> createFsuDiscovery(CreateFsuDiscoveryRequest request, AsyncHandler<CreateFsuDiscoveryRequest,CreateFsuDiscoveryResponse> handler)
FleetSoftwareUpdateAsync
Creates a new Exadata Fleet Update Discovery.
createFsuDiscovery
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteFsuActionResponse> deleteFsuAction(DeleteFsuActionRequest request, AsyncHandler<DeleteFsuActionRequest,DeleteFsuActionResponse> handler)
FleetSoftwareUpdateAsync
Deletes a Exadata Fleet Update Action resource by identifier.
deleteFsuAction
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteFsuCollectionResponse> deleteFsuCollection(DeleteFsuCollectionRequest request, AsyncHandler<DeleteFsuCollectionRequest,DeleteFsuCollectionResponse> handler)
FleetSoftwareUpdateAsync
Deletes a Exadata Fleet Update Collection resource by identifier.
deleteFsuCollection
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteFsuCollectionTargetResponse> deleteFsuCollectionTarget(DeleteFsuCollectionTargetRequest request, AsyncHandler<DeleteFsuCollectionTargetRequest,DeleteFsuCollectionTargetResponse> handler)
FleetSoftwareUpdateAsync
Removes a target from an existing Exadata Fleet Update Collection. This operation can only be performed on Collections that do not have an Action executing under an active Fleet Software Update Cycle. Additionally, during an active Fleet Software Update Cycle, a target can be removed only prior to executing an Apply Action.
deleteFsuCollectionTarget
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteFsuCycleResponse> deleteFsuCycle(DeleteFsuCycleRequest request, AsyncHandler<DeleteFsuCycleRequest,DeleteFsuCycleResponse> handler)
FleetSoftwareUpdateAsync
Deletes a Exadata Fleet Update Cycle resource by identifier.
deleteFsuCycle
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteFsuDiscoveryResponse> deleteFsuDiscovery(DeleteFsuDiscoveryRequest request, AsyncHandler<DeleteFsuDiscoveryRequest,DeleteFsuDiscoveryResponse> handler)
FleetSoftwareUpdateAsync
Deletes a Exadata Fleet Update Discovery resource by identifier.
deleteFsuDiscovery
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteFsuJobResponse> deleteFsuJob(DeleteFsuJobRequest request, AsyncHandler<DeleteFsuJobRequest,DeleteFsuJobResponse> handler)
FleetSoftwareUpdateAsync
Deletes the Exadata Fleet Update Job resource by identifier.
deleteFsuJob
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFsuActionResponse> getFsuAction(GetFsuActionRequest request, AsyncHandler<GetFsuActionRequest,GetFsuActionResponse> handler)
FleetSoftwareUpdateAsync
Gets a Exadata Fleet Update Action by identifier.
getFsuAction
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFsuActionOutputContentResponse> getFsuActionOutputContent(GetFsuActionOutputContentRequest request, AsyncHandler<GetFsuActionOutputContentRequest,GetFsuActionOutputContentResponse> handler)
FleetSoftwareUpdateAsync
Gets the Exadata Fleet Update Action Output content as a binary file (string). This will only include the output from FAILED Exadata Fleet Update Jobs. No content in case there are no FAILED jobs.
getFsuActionOutputContent
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFsuCollectionResponse> getFsuCollection(GetFsuCollectionRequest request, AsyncHandler<GetFsuCollectionRequest,GetFsuCollectionResponse> handler)
FleetSoftwareUpdateAsync
Gets a Exadata Fleet Update Collection by identifier.
getFsuCollection
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFsuCollectionTargetResponse> getFsuCollectionTarget(GetFsuCollectionTargetRequest request, AsyncHandler<GetFsuCollectionTargetRequest,GetFsuCollectionTargetResponse> handler)
FleetSoftwareUpdateAsync
Gets a Exadata Fleet Update Collection Target by identifier.
getFsuCollectionTarget
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFsuCycleResponse> getFsuCycle(GetFsuCycleRequest request, AsyncHandler<GetFsuCycleRequest,GetFsuCycleResponse> handler)
FleetSoftwareUpdateAsync
Gets a Exadata Fleet Update Cycle by identifier.
getFsuCycle
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFsuDiscoveryResponse> getFsuDiscovery(GetFsuDiscoveryRequest request, AsyncHandler<GetFsuDiscoveryRequest,GetFsuDiscoveryResponse> handler)
FleetSoftwareUpdateAsync
Gets a Exadata Fleet Update Discovery by identifier.
getFsuDiscovery
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFsuJobResponse> getFsuJob(GetFsuJobRequest request, AsyncHandler<GetFsuJobRequest,GetFsuJobResponse> handler)
FleetSoftwareUpdateAsync
Gets a Exadata Fleet Update Job by identifier.
getFsuJob
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFsuJobOutputContentResponse> getFsuJobOutputContent(GetFsuJobOutputContentRequest request, AsyncHandler<GetFsuJobOutputContentRequest,GetFsuJobOutputContentResponse> handler)
FleetSoftwareUpdateAsync
Get the Exadata Fleet Update Job Output content as a binary file (string).
getFsuJobOutputContent
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
FleetSoftwareUpdateAsync
Gets the status of the work request with the specified ID.
getWorkRequest
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFsuActionsResponse> listFsuActions(ListFsuActionsRequest request, AsyncHandler<ListFsuActionsRequest,ListFsuActionsResponse> handler)
FleetSoftwareUpdateAsync
Gets a list of all Exadata Fleet Update Actions in a compartment.
listFsuActions
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFsuCollectionTargetsResponse> listFsuCollectionTargets(ListFsuCollectionTargetsRequest request, AsyncHandler<ListFsuCollectionTargetsRequest,ListFsuCollectionTargetsResponse> handler)
FleetSoftwareUpdateAsync
Gets a list of all Targets that are members of a specific Exadata Fleet Update Collection.
listFsuCollectionTargets
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFsuCollectionsResponse> listFsuCollections(ListFsuCollectionsRequest request, AsyncHandler<ListFsuCollectionsRequest,ListFsuCollectionsResponse> handler)
FleetSoftwareUpdateAsync
Gets a list of all Exadata Fleet Update Collections in a compartment.
listFsuCollections
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFsuCyclesResponse> listFsuCycles(ListFsuCyclesRequest request, AsyncHandler<ListFsuCyclesRequest,ListFsuCyclesResponse> handler)
FleetSoftwareUpdateAsync
Gets a list of all Exadata Fleet Update Cycles in a compartment.
listFsuCycles
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFsuDiscoveriesResponse> listFsuDiscoveries(ListFsuDiscoveriesRequest request, AsyncHandler<ListFsuDiscoveriesRequest,ListFsuDiscoveriesResponse> handler)
FleetSoftwareUpdateAsync
Returns a list of Exadata Fleet Update Discoveries resources in the specified compartment.
listFsuDiscoveries
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFsuDiscoveryTargetsResponse> listFsuDiscoveryTargets(ListFsuDiscoveryTargetsRequest request, AsyncHandler<ListFsuDiscoveryTargetsRequest,ListFsuDiscoveryTargetsResponse> handler)
FleetSoftwareUpdateAsync
Gets a list of all Targets in the results of a Exadata Fleet Update Discovery.
listFsuDiscoveryTargets
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFsuJobOutputsResponse> listFsuJobOutputs(ListFsuJobOutputsRequest request, AsyncHandler<ListFsuJobOutputsRequest,ListFsuJobOutputsResponse> handler)
FleetSoftwareUpdateAsync
Lists the Exadata Fleet Update Job Output messages, if any.
listFsuJobOutputs
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFsuJobsResponse> listFsuJobs(ListFsuJobsRequest request, AsyncHandler<ListFsuJobsRequest,ListFsuJobsResponse> handler)
FleetSoftwareUpdateAsync
Lists all the Exadata Fleet Update Jobs associated to the specified Exadata Fleet Update Action.
listFsuJobs
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
FleetSoftwareUpdateAsync
Returns a paginated list of errors for a specified Work Request..
listWorkRequestErrors
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
FleetSoftwareUpdateAsync
Returns a paginated list of logs for a specified Work Request.
listWorkRequestLogs
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
FleetSoftwareUpdateAsync
Lists the work requests in a compartment.
listWorkRequests
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveFsuCollectionTargetsResponse> removeFsuCollectionTargets(RemoveFsuCollectionTargetsRequest request, AsyncHandler<RemoveFsuCollectionTargetsRequest,RemoveFsuCollectionTargetsResponse> handler)
FleetSoftwareUpdateAsync
Removes targets from an existing Exadata Fleet Update Collection. This operation can only be performed on Collections that do not have an Action executing under an active Fleet Software Update Cycle. Additionally, during an active Fleet Software Update Cycle, targets can be removed only prior to executing an Apply Action.
removeFsuCollectionTargets
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ResumeFsuActionResponse> resumeFsuAction(ResumeFsuActionRequest request, AsyncHandler<ResumeFsuActionRequest,ResumeFsuActionResponse> handler)
FleetSoftwareUpdateAsync
Resumes an Action that has batches of targets waiting to execute.
resumeFsuAction
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RetryFsuJobResponse> retryFsuJob(RetryFsuJobRequest request, AsyncHandler<RetryFsuJobRequest,RetryFsuJobResponse> handler)
FleetSoftwareUpdateAsync
Retry a failed Job, only while the current Action is being executed. After the Action reaches a terminal state, a new Action of the same kind is required to retry on failed targets.
retryFsuJob
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateFsuActionResponse> updateFsuAction(UpdateFsuActionRequest request, AsyncHandler<UpdateFsuActionRequest,UpdateFsuActionResponse> handler)
FleetSoftwareUpdateAsync
Updates the Exadata Fleet Update Action identified by the ID.
updateFsuAction
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateFsuCollectionResponse> updateFsuCollection(UpdateFsuCollectionRequest request, AsyncHandler<UpdateFsuCollectionRequest,UpdateFsuCollectionResponse> handler)
FleetSoftwareUpdateAsync
Updates the Exadata Fleet Update Collection identified by the ID.
updateFsuCollection
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateFsuCycleResponse> updateFsuCycle(UpdateFsuCycleRequest request, AsyncHandler<UpdateFsuCycleRequest,UpdateFsuCycleResponse> handler)
FleetSoftwareUpdateAsync
Updates the Exadata Fleet Update Cycle identified by the ID.
updateFsuCycle
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateFsuDiscoveryResponse> updateFsuDiscovery(UpdateFsuDiscoveryRequest request, AsyncHandler<UpdateFsuDiscoveryRequest,UpdateFsuDiscoveryResponse> handler)
FleetSoftwareUpdateAsync
Updates the Exadata Fleet Update Discovery identified by the ID.
updateFsuDiscovery
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateFsuJobResponse> updateFsuJob(UpdateFsuJobRequest request, AsyncHandler<UpdateFsuJobRequest,UpdateFsuJobResponse> handler)
FleetSoftwareUpdateAsync
Updates Exadata Fleet Update Job resource details.
updateFsuJob
in interface FleetSoftwareUpdateAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
Copyright © 2016–2024. All rights reserved.