Class DisasterRecoveryClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.disasterrecovery.DisasterRecoveryClient
-
- All Implemented Interfaces:
DisasterRecovery,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public class DisasterRecoveryClient extends BaseSyncClient implements DisasterRecovery
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDisasterRecoveryClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for DisasterRecovery.
-
Constructor Summary
Constructors Constructor Description DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.DisasterRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.DisasterRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.DisasterRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociateDrProtectionGroupResponseassociateDrProtectionGroup(AssociateDrProtectionGroupRequest request)Create an association between the DR protection group identified by drProtectionGroupId and another DR protection group.static DisasterRecoveryClient.Builderbuilder()Create a builder for this client.CancelDrPlanExecutionResponsecancelDrPlanExecution(CancelDrPlanExecutionRequest request)Cancel the DR plan execution identified by drPlanExecutionId.CancelWorkRequestResponsecancelWorkRequest(CancelWorkRequestRequest request)Cancel the work request identified by workRequestId.ChangeDrProtectionGroupCompartmentResponsechangeDrProtectionGroupCompartment(ChangeDrProtectionGroupCompartmentRequest request)Move the DR protection group identified by drProtectionGroupId to a different compartment.voidclose()CreateDrPlanResponsecreateDrPlan(CreateDrPlanRequest request)Create a DR plan of the specified DR plan type.CreateDrPlanExecutionResponsecreateDrPlanExecution(CreateDrPlanExecutionRequest request)Execute a DR plan for a DR protection group.CreateDrProtectionGroupResponsecreateDrProtectionGroup(CreateDrProtectionGroupRequest request)Create a DR protection group.DeleteDrPlanResponsedeleteDrPlan(DeleteDrPlanRequest request)Delete the DR plan identified by drPlanId.DeleteDrPlanExecutionResponsedeleteDrPlanExecution(DeleteDrPlanExecutionRequest request)Delete the DR plan execution identified by drPlanExecutionId.DeleteDrProtectionGroupResponsedeleteDrProtectionGroup(DeleteDrProtectionGroupRequest request)Delete the DR protection group identified by drProtectionGroupId.DisassociateDrProtectionGroupResponsedisassociateDrProtectionGroup(DisassociateDrProtectionGroupRequest request)Delete the association between the DR protection group identified by drProtectionGroupId.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()GetDrPlanResponsegetDrPlan(GetDrPlanRequest request)Get details for the DR plan identified by drPlanId.GetDrPlanExecutionResponsegetDrPlanExecution(GetDrPlanExecutionRequest request)Get details for the DR plan execution identified by drPlanExecutionId.GetDrProtectionGroupResponsegetDrProtectionGroup(GetDrProtectionGroupRequest request)Get the DR protection group identified by drProtectionGroupId.StringgetEndpoint()Optional<String>getMinimumClientCommonLibraryVersionFromClient()DisasterRecoveryPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.DisasterRecoveryWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Get the status of the work request identified by workRequestId.IgnoreDrPlanExecutionResponseignoreDrPlanExecution(IgnoreDrPlanExecutionRequest request)Ignore the failed group or step in DR plan execution identified by drPlanExecutionId and resume execution.ListDrPlanExecutionsResponselistDrPlanExecutions(ListDrPlanExecutionsRequest request)Get a summary list of all DR plan executions for a DR protection group.ListDrPlansResponselistDrPlans(ListDrPlansRequest request)Get a summary list of all DR plans for a DR protection group.ListDrProtectionGroupsResponselistDrProtectionGroups(ListDrProtectionGroupsRequest request)Get a summary list of all DR protection groups in a compartment.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Get a list of work request errors for the work request identified by workRequestId.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Get a list of logs for the work request identified by workRequestId.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.PauseDrPlanExecutionResponsepauseDrPlanExecution(PauseDrPlanExecutionRequest request)Pause the DR plan execution identified by drPlanExecutionId.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.voidrefreshClient()Rebuild the backingHttpClient.RefreshDrPlanResponserefreshDrPlan(RefreshDrPlanRequest request)Refresh DR Plan identified by drPlanId.ResumeDrPlanExecutionResponseresumeDrPlanExecution(ResumeDrPlanExecutionRequest request)Resume the DR plan execution identified by drPlanExecutionId.RetryDrPlanExecutionResponseretryDrPlanExecution(RetryDrPlanExecutionRequest request)Retry the failed group or step in DR plan execution identified by drPlanExecutionId and resume execution.voidsetEndpoint(String endpoint)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’).voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdateDrPlanResponseupdateDrPlan(UpdateDrPlanRequest request)Update the DR plan identified by drPlanId.UpdateDrPlanExecutionResponseupdateDrPlanExecution(UpdateDrPlanExecutionRequest request)Update the DR plan execution identified by drPlanExecutionId.UpdateDrProtectionGroupResponseupdateDrProtectionGroup(UpdateDrProtectionGroupRequest request)Update the DR protection group identified by drProtectionGroupId.UpdateDrProtectionGroupRoleResponseupdateDrProtectionGroupRole(UpdateDrProtectionGroupRoleRequest request)Update the role of the DR protection group identified by drProtectionGroupId.voiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.VerifyDrPlanResponseverifyDrPlan(VerifyDrPlanRequest request)Verify DR Plan identified by drPlanId.-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.disasterrecovery.DisasterRecovery
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
DisasterRecoveryClient
@Deprecated public DisasterRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDisasterRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
DisasterRecoveryClient
@Deprecated public DisasterRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDisasterRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
DisasterRecoveryClient
@Deprecated public DisasterRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDisasterRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
DisasterRecoveryClient
@Deprecated public DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDisasterRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
DisasterRecoveryClient
@Deprecated public DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDisasterRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
DisasterRecoveryClient
@Deprecated public DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDisasterRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
DisasterRecoveryClient
@Deprecated public DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDisasterRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
DisasterRecoveryClient
@Deprecated public DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDisasterRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactoriesexecutorService-DisasterRecoveryClient.Builder.executorService
-
-
Method Detail
-
builder
public static DisasterRecoveryClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:DisasterRecoverySets 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.- Specified by:
setRegionin interfaceDisasterRecovery- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:DisasterRecoverySets 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.- Specified by:
setRegionin interfaceDisasterRecovery- Parameters:
regionId- The public region ID.
-
associateDrProtectionGroup
public AssociateDrProtectionGroupResponse associateDrProtectionGroup(AssociateDrProtectionGroupRequest request)
Description copied from interface:DisasterRecoveryCreate an association between the DR protection group identified by drProtectionGroupId and another DR protection group.- Specified by:
associateDrProtectionGroupin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cancelDrPlanExecution
public CancelDrPlanExecutionResponse cancelDrPlanExecution(CancelDrPlanExecutionRequest request)
Description copied from interface:DisasterRecoveryCancel the DR plan execution identified by drPlanExecutionId.- Specified by:
cancelDrPlanExecutionin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cancelWorkRequest
public CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
Description copied from interface:DisasterRecoveryCancel the work request identified by workRequestId.- Specified by:
cancelWorkRequestin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeDrProtectionGroupCompartment
public ChangeDrProtectionGroupCompartmentResponse changeDrProtectionGroupCompartment(ChangeDrProtectionGroupCompartmentRequest request)
Description copied from interface:DisasterRecoveryMove the DR protection group identified by drProtectionGroupId to a different compartment.- Specified by:
changeDrProtectionGroupCompartmentin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDrPlan
public CreateDrPlanResponse createDrPlan(CreateDrPlanRequest request)
Description copied from interface:DisasterRecoveryCreate a DR plan of the specified DR plan type.- Specified by:
createDrPlanin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDrPlanExecution
public CreateDrPlanExecutionResponse createDrPlanExecution(CreateDrPlanExecutionRequest request)
Description copied from interface:DisasterRecoveryExecute a DR plan for a DR protection group.- Specified by:
createDrPlanExecutionin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDrProtectionGroup
public CreateDrProtectionGroupResponse createDrProtectionGroup(CreateDrProtectionGroupRequest request)
Description copied from interface:DisasterRecoveryCreate a DR protection group.- Specified by:
createDrProtectionGroupin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDrPlan
public DeleteDrPlanResponse deleteDrPlan(DeleteDrPlanRequest request)
Description copied from interface:DisasterRecoveryDelete the DR plan identified by drPlanId.- Specified by:
deleteDrPlanin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDrPlanExecution
public DeleteDrPlanExecutionResponse deleteDrPlanExecution(DeleteDrPlanExecutionRequest request)
Description copied from interface:DisasterRecoveryDelete the DR plan execution identified by drPlanExecutionId.- Specified by:
deleteDrPlanExecutionin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDrProtectionGroup
public DeleteDrProtectionGroupResponse deleteDrProtectionGroup(DeleteDrProtectionGroupRequest request)
Description copied from interface:DisasterRecoveryDelete the DR protection group identified by drProtectionGroupId.- Specified by:
deleteDrProtectionGroupin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
disassociateDrProtectionGroup
public DisassociateDrProtectionGroupResponse disassociateDrProtectionGroup(DisassociateDrProtectionGroupRequest request)
Description copied from interface:DisasterRecoveryDelete the association between the DR protection group identified by drProtectionGroupId.and its peer DR protection group.
- Specified by:
disassociateDrProtectionGroupin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDrPlan
public GetDrPlanResponse getDrPlan(GetDrPlanRequest request)
Description copied from interface:DisasterRecoveryGet details for the DR plan identified by drPlanId.- Specified by:
getDrPlanin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDrPlanExecution
public GetDrPlanExecutionResponse getDrPlanExecution(GetDrPlanExecutionRequest request)
Description copied from interface:DisasterRecoveryGet details for the DR plan execution identified by drPlanExecutionId.- Specified by:
getDrPlanExecutionin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDrProtectionGroup
public GetDrProtectionGroupResponse getDrProtectionGroup(GetDrProtectionGroupRequest request)
Description copied from interface:DisasterRecoveryGet the DR protection group identified by drProtectionGroupId.- Specified by:
getDrProtectionGroupin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWorkRequest
public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Description copied from interface:DisasterRecoveryGet the status of the work request identified by workRequestId.- Specified by:
getWorkRequestin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
ignoreDrPlanExecution
public IgnoreDrPlanExecutionResponse ignoreDrPlanExecution(IgnoreDrPlanExecutionRequest request)
Description copied from interface:DisasterRecoveryIgnore the failed group or step in DR plan execution identified by drPlanExecutionId and resume execution.- Specified by:
ignoreDrPlanExecutionin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDrPlanExecutions
public ListDrPlanExecutionsResponse listDrPlanExecutions(ListDrPlanExecutionsRequest request)
Description copied from interface:DisasterRecoveryGet a summary list of all DR plan executions for a DR protection group.- Specified by:
listDrPlanExecutionsin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDrPlans
public ListDrPlansResponse listDrPlans(ListDrPlansRequest request)
Description copied from interface:DisasterRecoveryGet a summary list of all DR plans for a DR protection group.- Specified by:
listDrPlansin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDrProtectionGroups
public ListDrProtectionGroupsResponse listDrProtectionGroups(ListDrProtectionGroupsRequest request)
Description copied from interface:DisasterRecoveryGet a summary list of all DR protection groups in a compartment.- Specified by:
listDrProtectionGroupsin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestErrors
public ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Description copied from interface:DisasterRecoveryGet a list of work request errors for the work request identified by workRequestId.- Specified by:
listWorkRequestErrorsin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestLogs
public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Description copied from interface:DisasterRecoveryGet a list of logs for the work request identified by workRequestId.- Specified by:
listWorkRequestLogsin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequests
public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Description copied from interface:DisasterRecoveryLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
pauseDrPlanExecution
public PauseDrPlanExecutionResponse pauseDrPlanExecution(PauseDrPlanExecutionRequest request)
Description copied from interface:DisasterRecoveryPause the DR plan execution identified by drPlanExecutionId.- Specified by:
pauseDrPlanExecutionin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
refreshDrPlan
public RefreshDrPlanResponse refreshDrPlan(RefreshDrPlanRequest request)
Description copied from interface:DisasterRecoveryRefresh DR Plan identified by drPlanId.- Specified by:
refreshDrPlanin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
resumeDrPlanExecution
public ResumeDrPlanExecutionResponse resumeDrPlanExecution(ResumeDrPlanExecutionRequest request)
Description copied from interface:DisasterRecoveryResume the DR plan execution identified by drPlanExecutionId.- Specified by:
resumeDrPlanExecutionin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
retryDrPlanExecution
public RetryDrPlanExecutionResponse retryDrPlanExecution(RetryDrPlanExecutionRequest request)
Description copied from interface:DisasterRecoveryRetry the failed group or step in DR plan execution identified by drPlanExecutionId and resume execution.- Specified by:
retryDrPlanExecutionin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDrPlan
public UpdateDrPlanResponse updateDrPlan(UpdateDrPlanRequest request)
Description copied from interface:DisasterRecoveryUpdate the DR plan identified by drPlanId.- Specified by:
updateDrPlanin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDrPlanExecution
public UpdateDrPlanExecutionResponse updateDrPlanExecution(UpdateDrPlanExecutionRequest request)
Description copied from interface:DisasterRecoveryUpdate the DR plan execution identified by drPlanExecutionId.- Specified by:
updateDrPlanExecutionin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDrProtectionGroup
public UpdateDrProtectionGroupResponse updateDrProtectionGroup(UpdateDrProtectionGroupRequest request)
Description copied from interface:DisasterRecoveryUpdate the DR protection group identified by drProtectionGroupId.- Specified by:
updateDrProtectionGroupin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDrProtectionGroupRole
public UpdateDrProtectionGroupRoleResponse updateDrProtectionGroupRole(UpdateDrProtectionGroupRoleRequest request)
Description copied from interface:DisasterRecoveryUpdate the role of the DR protection group identified by drProtectionGroupId.- Specified by:
updateDrProtectionGroupRolein interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
verifyDrPlan
public VerifyDrPlanResponse verifyDrPlan(VerifyDrPlanRequest request)
Description copied from interface:DisasterRecoveryVerify DR Plan identified by drPlanId.- Specified by:
verifyDrPlanin interfaceDisasterRecovery- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public DisasterRecoveryWaiters getWaiters()
Description copied from interface:DisasterRecoveryGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceDisasterRecovery- Returns:
- The service waiters.
-
getPaginators
public DisasterRecoveryPaginators getPaginators()
Description copied from interface:DisasterRecoveryGets 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.- Specified by:
getPaginatorsin interfaceDisasterRecovery- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-