@Generated(value="OracleSDKGenerator", comments="API Version: 20211201") public class FusionApplicationsAsyncClient extends BaseAsyncClient implements FusionApplicationsAsync
Async client implementation for FusionApplications 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 |
FusionApplicationsAsyncClient.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 FusionApplications.
|
Constructor and Description |
---|
FusionApplicationsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
FusionApplicationsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
FusionApplicationsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
FusionApplicationsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
FusionApplicationsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
FusionApplicationsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
FusionApplicationsAsyncClient(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 FusionApplications.
public final String clientCommonLibraryVersion
@Deprecated public FusionApplicationsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see FusionApplicationsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public FusionApplicationsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see FusionApplicationsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public FusionApplicationsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see FusionApplicationsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public FusionApplicationsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see FusionApplicationsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public FusionApplicationsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see FusionApplicationsAsyncClient.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 FusionApplicationsAsyncClient(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 FusionApplicationsAsyncClient.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 FusionApplicationsAsyncClient(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 FusionApplicationsAsyncClient.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 FusionApplicationsAsyncClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
FusionApplicationsAsync
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 FusionApplicationsAsync
region
- The region of the service.public void setRegion(String regionId)
FusionApplicationsAsync
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 FusionApplicationsAsync
regionId
- The public region ID.public Future<ChangeFusionEnvironmentCompartmentResponse> changeFusionEnvironmentCompartment(ChangeFusionEnvironmentCompartmentRequest request, AsyncHandler<ChangeFusionEnvironmentCompartmentRequest,ChangeFusionEnvironmentCompartmentResponse> handler)
FusionApplicationsAsync
Moves a FusionEnvironment into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeFusionEnvironmentCompartment
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeFusionEnvironmentFamilyCompartmentResponse> changeFusionEnvironmentFamilyCompartment(ChangeFusionEnvironmentFamilyCompartmentRequest request, AsyncHandler<ChangeFusionEnvironmentFamilyCompartmentRequest,ChangeFusionEnvironmentFamilyCompartmentResponse> handler)
FusionApplicationsAsync
Moves a FusionEnvironmentFamily into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changeFusionEnvironmentFamilyCompartment
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateDataMaskingActivityResponse> createDataMaskingActivity(CreateDataMaskingActivityRequest request, AsyncHandler<CreateDataMaskingActivityRequest,CreateDataMaskingActivityResponse> handler)
FusionApplicationsAsync
Creates a new DataMaskingActivity.
createDataMaskingActivity
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateFusionEnvironmentResponse> createFusionEnvironment(CreateFusionEnvironmentRequest request, AsyncHandler<CreateFusionEnvironmentRequest,CreateFusionEnvironmentResponse> handler)
FusionApplicationsAsync
Creates a new FusionEnvironment.
createFusionEnvironment
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateFusionEnvironmentAdminUserResponse> createFusionEnvironmentAdminUser(CreateFusionEnvironmentAdminUserRequest request, AsyncHandler<CreateFusionEnvironmentAdminUserRequest,CreateFusionEnvironmentAdminUserResponse> handler)
FusionApplicationsAsync
Create a FusionEnvironment admin user
createFusionEnvironmentAdminUser
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateFusionEnvironmentFamilyResponse> createFusionEnvironmentFamily(CreateFusionEnvironmentFamilyRequest request, AsyncHandler<CreateFusionEnvironmentFamilyRequest,CreateFusionEnvironmentFamilyResponse> handler)
FusionApplicationsAsync
Creates a new FusionEnvironmentFamily.
createFusionEnvironmentFamily
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateRefreshActivityResponse> createRefreshActivity(CreateRefreshActivityRequest request, AsyncHandler<CreateRefreshActivityRequest,CreateRefreshActivityResponse> handler)
FusionApplicationsAsync
Creates a new RefreshActivity.
createRefreshActivity
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateServiceAttachmentResponse> createServiceAttachment(CreateServiceAttachmentRequest request, AsyncHandler<CreateServiceAttachmentRequest,CreateServiceAttachmentResponse> handler)
FusionApplicationsAsync
Attaches a service instance to the fusion pod.
createServiceAttachment
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteFusionEnvironmentResponse> deleteFusionEnvironment(DeleteFusionEnvironmentRequest request, AsyncHandler<DeleteFusionEnvironmentRequest,DeleteFusionEnvironmentResponse> handler)
FusionApplicationsAsync
Deletes the Fusion environment identified by it’s OCID.
deleteFusionEnvironment
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteFusionEnvironmentAdminUserResponse> deleteFusionEnvironmentAdminUser(DeleteFusionEnvironmentAdminUserRequest request, AsyncHandler<DeleteFusionEnvironmentAdminUserRequest,DeleteFusionEnvironmentAdminUserResponse> handler)
FusionApplicationsAsync
Deletes the FusionEnvironment administrator user identified by the username.
deleteFusionEnvironmentAdminUser
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteFusionEnvironmentFamilyResponse> deleteFusionEnvironmentFamily(DeleteFusionEnvironmentFamilyRequest request, AsyncHandler<DeleteFusionEnvironmentFamilyRequest,DeleteFusionEnvironmentFamilyResponse> handler)
FusionApplicationsAsync
Deletes a FusionEnvironmentFamily resource by identifier
deleteFusionEnvironmentFamily
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteRefreshActivityResponse> deleteRefreshActivity(DeleteRefreshActivityRequest request, AsyncHandler<DeleteRefreshActivityRequest,DeleteRefreshActivityResponse> handler)
FusionApplicationsAsync
Deletes a scheduled RefreshActivity resource by identifier
deleteRefreshActivity
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteServiceAttachmentResponse> deleteServiceAttachment(DeleteServiceAttachmentRequest request, AsyncHandler<DeleteServiceAttachmentRequest,DeleteServiceAttachmentResponse> handler)
FusionApplicationsAsync
Delete a service attachment by identifier
deleteServiceAttachment
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateExtractDetailsResponse> generateExtractDetails(GenerateExtractDetailsRequest request, AsyncHandler<GenerateExtractDetailsRequest,GenerateExtractDetailsResponse> handler)
FusionApplicationsAsync
Begin the process of showing the details about where to retrieve data extract for a Fusion environment.
generateExtractDetails
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetDataMaskingActivityResponse> getDataMaskingActivity(GetDataMaskingActivityRequest request, AsyncHandler<GetDataMaskingActivityRequest,GetDataMaskingActivityResponse> handler)
FusionApplicationsAsync
Gets a DataMaskingActivity by identifier
getDataMaskingActivity
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFusionEnvironmentResponse> getFusionEnvironment(GetFusionEnvironmentRequest request, AsyncHandler<GetFusionEnvironmentRequest,GetFusionEnvironmentResponse> handler)
FusionApplicationsAsync
Gets a FusionEnvironment by identifier
getFusionEnvironment
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFusionEnvironmentFamilyResponse> getFusionEnvironmentFamily(GetFusionEnvironmentFamilyRequest request, AsyncHandler<GetFusionEnvironmentFamilyRequest,GetFusionEnvironmentFamilyResponse> handler)
FusionApplicationsAsync
Retrieves a fusion environment family identified by its OCID.
getFusionEnvironmentFamily
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFusionEnvironmentFamilyLimitsAndUsageResponse> getFusionEnvironmentFamilyLimitsAndUsage(GetFusionEnvironmentFamilyLimitsAndUsageRequest request, AsyncHandler<GetFusionEnvironmentFamilyLimitsAndUsageRequest,GetFusionEnvironmentFamilyLimitsAndUsageResponse> handler)
FusionApplicationsAsync
Gets the number of environments (usage) of each type in the fusion environment family, as well as the limit that’s allowed to be created based on the group’s associated subscriptions.
getFusionEnvironmentFamilyLimitsAndUsage
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFusionEnvironmentFamilySubscriptionDetailResponse> getFusionEnvironmentFamilySubscriptionDetail(GetFusionEnvironmentFamilySubscriptionDetailRequest request, AsyncHandler<GetFusionEnvironmentFamilySubscriptionDetailRequest,GetFusionEnvironmentFamilySubscriptionDetailResponse> handler)
FusionApplicationsAsync
Gets the subscription details of an fusion environment family.
getFusionEnvironmentFamilySubscriptionDetail
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetFusionEnvironmentStatusResponse> getFusionEnvironmentStatus(GetFusionEnvironmentStatusRequest request, AsyncHandler<GetFusionEnvironmentStatusRequest,GetFusionEnvironmentStatusResponse> handler)
FusionApplicationsAsync
Gets the status of a Fusion environment identified by its OCID.
getFusionEnvironmentStatus
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetRefreshActivityResponse> getRefreshActivity(GetRefreshActivityRequest request, AsyncHandler<GetRefreshActivityRequest,GetRefreshActivityResponse> handler)
FusionApplicationsAsync
Gets a RefreshActivity by identifier
getRefreshActivity
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetScheduledActivityResponse> getScheduledActivity(GetScheduledActivityRequest request, AsyncHandler<GetScheduledActivityRequest,GetScheduledActivityResponse> handler)
FusionApplicationsAsync
Gets a ScheduledActivity by identifier
getScheduledActivity
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetServiceAttachmentResponse> getServiceAttachment(GetServiceAttachmentRequest request, AsyncHandler<GetServiceAttachmentRequest,GetServiceAttachmentResponse> handler)
FusionApplicationsAsync
Gets a Service Attachment by identifier
getServiceAttachment
in interface FusionApplicationsAsync
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)
FusionApplicationsAsync
Gets the status of the work request with the given ID.
getWorkRequest
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<InitiateExtractResponse> initiateExtract(InitiateExtractRequest request, AsyncHandler<InitiateExtractRequest,InitiateExtractResponse> handler)
FusionApplicationsAsync
Begin the process of generating the data extract for a Fusion environment.
initiateExtract
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAdminUsersResponse> listAdminUsers(ListAdminUsersRequest request, AsyncHandler<ListAdminUsersRequest,ListAdminUsersResponse> handler)
FusionApplicationsAsync
List all FusionEnvironment admin users
listAdminUsers
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListDataMaskingActivitiesResponse> listDataMaskingActivities(ListDataMaskingActivitiesRequest request, AsyncHandler<ListDataMaskingActivitiesRequest,ListDataMaskingActivitiesResponse> handler)
FusionApplicationsAsync
Returns a list of DataMaskingActivities.
listDataMaskingActivities
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFusionEnvironmentFamiliesResponse> listFusionEnvironmentFamilies(ListFusionEnvironmentFamiliesRequest request, AsyncHandler<ListFusionEnvironmentFamiliesRequest,ListFusionEnvironmentFamiliesResponse> handler)
FusionApplicationsAsync
Returns a list of FusionEnvironmentFamilies.
listFusionEnvironmentFamilies
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListFusionEnvironmentsResponse> listFusionEnvironments(ListFusionEnvironmentsRequest request, AsyncHandler<ListFusionEnvironmentsRequest,ListFusionEnvironmentsResponse> handler)
FusionApplicationsAsync
Returns a list of FusionEnvironments.
listFusionEnvironments
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListRefreshActivitiesResponse> listRefreshActivities(ListRefreshActivitiesRequest request, AsyncHandler<ListRefreshActivitiesRequest,ListRefreshActivitiesResponse> handler)
FusionApplicationsAsync
Returns a list of RefreshActivities.
listRefreshActivities
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListScheduledActivitiesResponse> listScheduledActivities(ListScheduledActivitiesRequest request, AsyncHandler<ListScheduledActivitiesRequest,ListScheduledActivitiesResponse> handler)
FusionApplicationsAsync
Returns a list of ScheduledActivities.
listScheduledActivities
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListServiceAttachmentsResponse> listServiceAttachments(ListServiceAttachmentsRequest request, AsyncHandler<ListServiceAttachmentsRequest,ListServiceAttachmentsResponse> handler)
FusionApplicationsAsync
Returns a list of service attachments.
listServiceAttachments
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTimeAvailableForRefreshesResponse> listTimeAvailableForRefreshes(ListTimeAvailableForRefreshesRequest request, AsyncHandler<ListTimeAvailableForRefreshesRequest,ListTimeAvailableForRefreshesResponse> handler)
FusionApplicationsAsync
Gets available refresh time for this fusion environment
listTimeAvailableForRefreshes
in interface FusionApplicationsAsync
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)
FusionApplicationsAsync
Return a (paginated) list of errors for a given work request.
listWorkRequestErrors
in interface FusionApplicationsAsync
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)
FusionApplicationsAsync
Return a (paginated) list of logs for a given work request.
listWorkRequestLogs
in interface FusionApplicationsAsync
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)
FusionApplicationsAsync
Lists the work requests in a compartment.
listWorkRequests
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ResetFusionEnvironmentPasswordResponse> resetFusionEnvironmentPassword(ResetFusionEnvironmentPasswordRequest request, AsyncHandler<ResetFusionEnvironmentPasswordRequest,ResetFusionEnvironmentPasswordResponse> handler)
FusionApplicationsAsync
Reset FusionEnvironment admin password. This API will be deprecated on Mon, 15 Jan 2024 01:00:00 GMT. Users can reset password themselves, FAaaS will no longer provide an API for this.
resetFusionEnvironmentPassword
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateFusionEnvironmentResponse> updateFusionEnvironment(UpdateFusionEnvironmentRequest request, AsyncHandler<UpdateFusionEnvironmentRequest,UpdateFusionEnvironmentResponse> handler)
FusionApplicationsAsync
Updates the FusionEnvironment
updateFusionEnvironment
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateFusionEnvironmentFamilyResponse> updateFusionEnvironmentFamily(UpdateFusionEnvironmentFamilyRequest request, AsyncHandler<UpdateFusionEnvironmentFamilyRequest,UpdateFusionEnvironmentFamilyResponse> handler)
FusionApplicationsAsync
Updates the FusionEnvironmentFamily
updateFusionEnvironmentFamily
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateRefreshActivityResponse> updateRefreshActivity(UpdateRefreshActivityRequest request, AsyncHandler<UpdateRefreshActivityRequest,UpdateRefreshActivityResponse> handler)
FusionApplicationsAsync
Updates a scheduled RefreshActivity.
updateRefreshActivity
in interface FusionApplicationsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<VerifyServiceAttachmentResponse> verifyServiceAttachment(VerifyServiceAttachmentRequest request, AsyncHandler<VerifyServiceAttachmentRequest,VerifyServiceAttachmentResponse> handler)
FusionApplicationsAsync
Verify whether a service instance can be attached to the fusion pod
verifyServiceAttachment
in interface FusionApplicationsAsync
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.