@Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public class DisasterRecoveryClient extends BaseSyncClient implements DisasterRecovery
Modifier and Type | Class and Description |
---|---|
static class |
DisasterRecoveryClient.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 DisasterRecovery.
|
Constructor and Description |
---|
DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
DisasterRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
DisasterRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
DisasterRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
Modifier and Type | Method and Description |
---|---|
AssociateDrProtectionGroupResponse |
associateDrProtectionGroup(AssociateDrProtectionGroupRequest request)
Create an association between the DR protection group identified by drProtectionGroupId and
another DR protection group.
|
static DisasterRecoveryClient.Builder |
builder()
Create a builder for this client.
|
CancelDrPlanExecutionResponse |
cancelDrPlanExecution(CancelDrPlanExecutionRequest request)
Cancel the DR plan execution identified by drPlanExecutionId.
|
CancelWorkRequestResponse |
cancelWorkRequest(CancelWorkRequestRequest request)
Cancel the work request identified by workRequestId.
|
ChangeDrProtectionGroupCompartmentResponse |
changeDrProtectionGroupCompartment(ChangeDrProtectionGroupCompartmentRequest request)
Move the DR protection group identified by drProtectionGroupId to a different compartment.
|
void |
close() |
CreateDrPlanResponse |
createDrPlan(CreateDrPlanRequest request)
Create a DR plan of the specified DR plan type.
|
CreateDrPlanExecutionResponse |
createDrPlanExecution(CreateDrPlanExecutionRequest request)
Execute a DR plan for a DR protection group.
|
CreateDrProtectionGroupResponse |
createDrProtectionGroup(CreateDrProtectionGroupRequest request)
Create a DR protection group.
|
DeleteDrPlanResponse |
deleteDrPlan(DeleteDrPlanRequest request)
Delete the DR plan identified by drPlanId.
|
DeleteDrPlanExecutionResponse |
deleteDrPlanExecution(DeleteDrPlanExecutionRequest request)
Delete the DR plan execution identified by drPlanExecutionId.
|
DeleteDrProtectionGroupResponse |
deleteDrProtectionGroup(DeleteDrProtectionGroupRequest request)
Delete the DR protection group identified by drProtectionGroupId.
|
DisassociateDrProtectionGroupResponse |
disassociateDrProtectionGroup(DisassociateDrProtectionGroupRequest request)
Delete the association between the DR protection group identified by drProtectionGroupId.
|
String |
getClientCommonLibraryVersion() |
protected ClientConfigurator |
getDefaultConfigurator() |
GetDrPlanResponse |
getDrPlan(GetDrPlanRequest request)
Get details for the DR plan identified by drPlanId.
|
GetDrPlanExecutionResponse |
getDrPlanExecution(GetDrPlanExecutionRequest request)
Get details for the DR plan execution identified by drPlanExecutionId.
|
GetDrProtectionGroupResponse |
getDrProtectionGroup(GetDrProtectionGroupRequest request)
Get the DR protection group identified by drProtectionGroupId.
|
String |
getEndpoint() |
Optional<String> |
getMinimumClientCommonLibraryVersionFromClient() |
DisasterRecoveryPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data.
|
DisasterRecoveryWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
GetWorkRequestResponse |
getWorkRequest(GetWorkRequestRequest request)
Get the status of the work request identified by workRequestId.
|
IgnoreDrPlanExecutionResponse |
ignoreDrPlanExecution(IgnoreDrPlanExecutionRequest request)
Ignore the failed group or step in DR plan execution identified by drPlanExecutionId and
resume execution.
|
ListDrPlanExecutionsResponse |
listDrPlanExecutions(ListDrPlanExecutionsRequest request)
Get a summary list of all DR plan executions for a DR protection group.
|
ListDrPlansResponse |
listDrPlans(ListDrPlansRequest request)
Get a summary list of all DR plans for a DR protection group.
|
ListDrProtectionGroupsResponse |
listDrProtectionGroups(ListDrProtectionGroupsRequest request)
Get a summary list of all DR protection groups in a compartment.
|
ListWorkRequestErrorsResponse |
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Get a list of work request errors for the work request identified by workRequestId.
|
ListWorkRequestLogsResponse |
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Get a list of logs for the work request identified by workRequestId.
|
ListWorkRequestsResponse |
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.
|
PauseDrPlanExecutionResponse |
pauseDrPlanExecution(PauseDrPlanExecutionRequest request)
Pause the DR plan execution identified by drPlanExecutionId.
|
void |
populateServiceParametersInEndpoint(String endpoint,
Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base
endpoint.
|
void |
refreshClient()
Rebuild the backing
HttpClient . |
RefreshDrPlanResponse |
refreshDrPlan(RefreshDrPlanRequest request)
Refresh DR Plan identified by drPlanId.
|
ResumeDrPlanExecutionResponse |
resumeDrPlanExecution(ResumeDrPlanExecutionRequest request)
Resume the DR plan execution identified by drPlanExecutionId.
|
RetryDrPlanExecutionResponse |
retryDrPlanExecution(RetryDrPlanExecutionRequest request)
Retry the failed group or step in DR plan execution identified by drPlanExecutionId and
resume execution.
|
void |
setEndpoint(String endpoint) |
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
void |
updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.
|
UpdateDrPlanResponse |
updateDrPlan(UpdateDrPlanRequest request)
Update the DR plan identified by drPlanId.
|
UpdateDrPlanExecutionResponse |
updateDrPlanExecution(UpdateDrPlanExecutionRequest request)
Update the DR plan execution identified by drPlanExecutionId.
|
UpdateDrProtectionGroupResponse |
updateDrProtectionGroup(UpdateDrProtectionGroupRequest request)
Update the DR protection group identified by drProtectionGroupId.
|
UpdateDrProtectionGroupRoleResponse |
updateDrProtectionGroupRole(UpdateDrProtectionGroupRoleRequest request)
Update the role of the DR protection group identified by drProtectionGroupId.
|
void |
useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.
|
VerifyDrPlanResponse |
verifyDrPlan(VerifyDrPlanRequest request)
Verify DR Plan identified by drPlanId.
|
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for DisasterRecovery.
public final String clientCommonLibraryVersion
@Deprecated public DisasterRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DisasterRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public DisasterRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DisasterRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public DisasterRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DisasterRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DisasterRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DisasterRecoveryClient.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 DisasterRecoveryClient(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 DisasterRecoveryClient.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 DisasterRecoveryClient(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 DisasterRecoveryClient.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
@Deprecated public DisasterRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DisasterRecoveryClient.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
executorService
- DisasterRecoveryClient.Builder.executorService
public static DisasterRecoveryClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
DisasterRecovery
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 DisasterRecovery
region
- The region of the service.public void setRegion(String regionId)
DisasterRecovery
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 DisasterRecovery
regionId
- The public region ID.public AssociateDrProtectionGroupResponse associateDrProtectionGroup(AssociateDrProtectionGroupRequest request)
DisasterRecovery
Create an association between the DR protection group identified by drProtectionGroupId and another DR protection group.
associateDrProtectionGroup
in interface DisasterRecovery
request
- The request object containing the details to sendpublic CancelDrPlanExecutionResponse cancelDrPlanExecution(CancelDrPlanExecutionRequest request)
DisasterRecovery
Cancel the DR plan execution identified by drPlanExecutionId.
cancelDrPlanExecution
in interface DisasterRecovery
request
- The request object containing the details to sendpublic CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
DisasterRecovery
Cancel the work request identified by workRequestId.
cancelWorkRequest
in interface DisasterRecovery
request
- The request object containing the details to sendpublic ChangeDrProtectionGroupCompartmentResponse changeDrProtectionGroupCompartment(ChangeDrProtectionGroupCompartmentRequest request)
DisasterRecovery
Move the DR protection group identified by drProtectionGroupId to a different compartment.
changeDrProtectionGroupCompartment
in interface DisasterRecovery
request
- The request object containing the details to sendpublic CreateDrPlanResponse createDrPlan(CreateDrPlanRequest request)
DisasterRecovery
Create a DR plan of the specified DR plan type.
createDrPlan
in interface DisasterRecovery
request
- The request object containing the details to sendpublic CreateDrPlanExecutionResponse createDrPlanExecution(CreateDrPlanExecutionRequest request)
DisasterRecovery
Execute a DR plan for a DR protection group.
createDrPlanExecution
in interface DisasterRecovery
request
- The request object containing the details to sendpublic CreateDrProtectionGroupResponse createDrProtectionGroup(CreateDrProtectionGroupRequest request)
DisasterRecovery
Create a DR protection group.
createDrProtectionGroup
in interface DisasterRecovery
request
- The request object containing the details to sendpublic DeleteDrPlanResponse deleteDrPlan(DeleteDrPlanRequest request)
DisasterRecovery
Delete the DR plan identified by drPlanId.
deleteDrPlan
in interface DisasterRecovery
request
- The request object containing the details to sendpublic DeleteDrPlanExecutionResponse deleteDrPlanExecution(DeleteDrPlanExecutionRequest request)
DisasterRecovery
Delete the DR plan execution identified by drPlanExecutionId.
deleteDrPlanExecution
in interface DisasterRecovery
request
- The request object containing the details to sendpublic DeleteDrProtectionGroupResponse deleteDrProtectionGroup(DeleteDrProtectionGroupRequest request)
DisasterRecovery
Delete the DR protection group identified by drProtectionGroupId.
deleteDrProtectionGroup
in interface DisasterRecovery
request
- The request object containing the details to sendpublic DisassociateDrProtectionGroupResponse disassociateDrProtectionGroup(DisassociateDrProtectionGroupRequest request)
DisasterRecovery
Delete the association between the DR protection group identified by drProtectionGroupId. and its peer DR protection group.
disassociateDrProtectionGroup
in interface DisasterRecovery
request
- The request object containing the details to sendpublic GetDrPlanResponse getDrPlan(GetDrPlanRequest request)
DisasterRecovery
Get details for the DR plan identified by drPlanId.
getDrPlan
in interface DisasterRecovery
request
- The request object containing the details to sendpublic GetDrPlanExecutionResponse getDrPlanExecution(GetDrPlanExecutionRequest request)
DisasterRecovery
Get details for the DR plan execution identified by drPlanExecutionId.
getDrPlanExecution
in interface DisasterRecovery
request
- The request object containing the details to sendpublic GetDrProtectionGroupResponse getDrProtectionGroup(GetDrProtectionGroupRequest request)
DisasterRecovery
Get the DR protection group identified by drProtectionGroupId.
getDrProtectionGroup
in interface DisasterRecovery
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
DisasterRecovery
Get the status of the work request identified by workRequestId.
getWorkRequest
in interface DisasterRecovery
request
- The request object containing the details to sendpublic IgnoreDrPlanExecutionResponse ignoreDrPlanExecution(IgnoreDrPlanExecutionRequest request)
DisasterRecovery
Ignore the failed group or step in DR plan execution identified by drPlanExecutionId and resume execution.
ignoreDrPlanExecution
in interface DisasterRecovery
request
- The request object containing the details to sendpublic ListDrPlanExecutionsResponse listDrPlanExecutions(ListDrPlanExecutionsRequest request)
DisasterRecovery
Get a summary list of all DR plan executions for a DR protection group.
listDrPlanExecutions
in interface DisasterRecovery
request
- The request object containing the details to sendpublic ListDrPlansResponse listDrPlans(ListDrPlansRequest request)
DisasterRecovery
Get a summary list of all DR plans for a DR protection group.
listDrPlans
in interface DisasterRecovery
request
- The request object containing the details to sendpublic ListDrProtectionGroupsResponse listDrProtectionGroups(ListDrProtectionGroupsRequest request)
DisasterRecovery
Get a summary list of all DR protection groups in a compartment.
listDrProtectionGroups
in interface DisasterRecovery
request
- The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
DisasterRecovery
Get a list of work request errors for the work request identified by workRequestId.
listWorkRequestErrors
in interface DisasterRecovery
request
- The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
DisasterRecovery
Get a list of logs for the work request identified by workRequestId.
listWorkRequestLogs
in interface DisasterRecovery
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
DisasterRecovery
Lists the work requests in a compartment.
listWorkRequests
in interface DisasterRecovery
request
- The request object containing the details to sendpublic PauseDrPlanExecutionResponse pauseDrPlanExecution(PauseDrPlanExecutionRequest request)
DisasterRecovery
Pause the DR plan execution identified by drPlanExecutionId.
pauseDrPlanExecution
in interface DisasterRecovery
request
- The request object containing the details to sendpublic RefreshDrPlanResponse refreshDrPlan(RefreshDrPlanRequest request)
DisasterRecovery
Refresh DR Plan identified by drPlanId.
refreshDrPlan
in interface DisasterRecovery
request
- The request object containing the details to sendpublic ResumeDrPlanExecutionResponse resumeDrPlanExecution(ResumeDrPlanExecutionRequest request)
DisasterRecovery
Resume the DR plan execution identified by drPlanExecutionId.
resumeDrPlanExecution
in interface DisasterRecovery
request
- The request object containing the details to sendpublic RetryDrPlanExecutionResponse retryDrPlanExecution(RetryDrPlanExecutionRequest request)
DisasterRecovery
Retry the failed group or step in DR plan execution identified by drPlanExecutionId and resume execution.
retryDrPlanExecution
in interface DisasterRecovery
request
- The request object containing the details to sendpublic UpdateDrPlanResponse updateDrPlan(UpdateDrPlanRequest request)
DisasterRecovery
Update the DR plan identified by drPlanId.
updateDrPlan
in interface DisasterRecovery
request
- The request object containing the details to sendpublic UpdateDrPlanExecutionResponse updateDrPlanExecution(UpdateDrPlanExecutionRequest request)
DisasterRecovery
Update the DR plan execution identified by drPlanExecutionId.
updateDrPlanExecution
in interface DisasterRecovery
request
- The request object containing the details to sendpublic UpdateDrProtectionGroupResponse updateDrProtectionGroup(UpdateDrProtectionGroupRequest request)
DisasterRecovery
Update the DR protection group identified by drProtectionGroupId.
updateDrProtectionGroup
in interface DisasterRecovery
request
- The request object containing the details to sendpublic UpdateDrProtectionGroupRoleResponse updateDrProtectionGroupRole(UpdateDrProtectionGroupRoleRequest request)
DisasterRecovery
Update the role of the DR protection group identified by drProtectionGroupId.
updateDrProtectionGroupRole
in interface DisasterRecovery
request
- The request object containing the details to sendpublic VerifyDrPlanResponse verifyDrPlan(VerifyDrPlanRequest request)
DisasterRecovery
Verify DR Plan identified by drPlanId.
verifyDrPlan
in interface DisasterRecovery
request
- The request object containing the details to sendpublic DisasterRecoveryWaiters getWaiters()
DisasterRecovery
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface DisasterRecovery
public DisasterRecoveryPaginators getPaginators()
DisasterRecovery
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without
having to manually deal with pagination and page tokens.
getPaginators
in interface DisasterRecovery
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()
Copyright © 2016–2024. All rights reserved.