@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public class GoldenGateClient extends BaseSyncClient implements GoldenGate
Modifier and Type | Class and Description |
---|---|
static class |
GoldenGateClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
static Service |
SERVICE
Service instance for GoldenGate.
|
Constructor and Description |
---|
GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint
close
public static final Service SERVICE
Service instance for GoldenGate.
@Deprecated public GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see GoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see GoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see GoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see GoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see GoldenGateClient.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 GoldenGateClient(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 GoldenGateClient.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 GoldenGateClient(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 GoldenGateClient.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 GoldenGateClient(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 GoldenGateClient.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
- GoldenGateClient.Builder.executorService
public static GoldenGateClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
GoldenGate
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 GoldenGate
region
- The region of the service.public void setRegion(String regionId)
GoldenGate
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 GoldenGate
regionId
- The public region ID.public CancelDeploymentBackupResponse cancelDeploymentBackup(CancelDeploymentBackupRequest request)
GoldenGate
Cancels a Deployment Backup creation process.
cancelDeploymentBackup
in interface GoldenGate
request
- The request object containing the details to sendpublic CancelSnoozeDeploymentUpgradeResponse cancelSnoozeDeploymentUpgrade(CancelSnoozeDeploymentUpgradeRequest request)
GoldenGate
Cancel snooze of a DeploymentUpgrade. When provided, If-Match is checked against ETag values of the resource.
cancelSnoozeDeploymentUpgrade
in interface GoldenGate
request
- The request object containing the details to sendpublic ChangeConnectionCompartmentResponse changeConnectionCompartment(ChangeConnectionCompartmentRequest request)
GoldenGate
Moves the Connection into a different compartment within the same tenancy. When provided, If-Match is checked against ETag values of the resource. For information about moving resources between compartments, see Moving Resources Between Compartments.
changeConnectionCompartment
in interface GoldenGate
request
- The request object containing the details to sendpublic ChangeDatabaseRegistrationCompartmentResponse changeDatabaseRegistrationCompartment(ChangeDatabaseRegistrationCompartmentRequest request)
GoldenGate
Note: Deprecated. Use the /connections API instead. Moves the DatabaseRegistration into a different compartment within the same tenancy. When provided, If-Match is checked against ETag values of the resource. For information about moving resources between compartments, see Moving Resources Between Compartments.
changeDatabaseRegistrationCompartment
in interface GoldenGate
request
- The request object containing the details to sendpublic ChangeDeploymentBackupCompartmentResponse changeDeploymentBackupCompartment(ChangeDeploymentBackupCompartmentRequest request)
GoldenGate
Moves a DeploymentBackup into a different compartment within the same tenancy. When provided, If-Match is checked against ETag values of the resource. For information about moving resources between compartments, see Moving Resources Between Compartments.
changeDeploymentBackupCompartment
in interface GoldenGate
request
- The request object containing the details to sendpublic ChangeDeploymentCompartmentResponse changeDeploymentCompartment(ChangeDeploymentCompartmentRequest request)
GoldenGate
Moves the Deployment into a different compartment within the same tenancy. When provided, If-Match is checked against ETag values of the resource. For information about moving resources between compartments, see Moving Resources Between Compartments.
changeDeploymentCompartment
in interface GoldenGate
request
- The request object containing the details to sendpublic CollectDeploymentDiagnosticResponse collectDeploymentDiagnostic(CollectDeploymentDiagnosticRequest request)
GoldenGate
Collects the diagnostic of a Deployment. When provided, If-Match is checked against ETag values of the resource.
collectDeploymentDiagnostic
in interface GoldenGate
request
- The request object containing the details to sendpublic CreateConnectionResponse createConnection(CreateConnectionRequest request)
GoldenGate
Creates a new Connection.
createConnection
in interface GoldenGate
request
- The request object containing the details to sendpublic CreateConnectionAssignmentResponse createConnectionAssignment(CreateConnectionAssignmentRequest request)
GoldenGate
Creates a new Connection Assignment.
createConnectionAssignment
in interface GoldenGate
request
- The request object containing the details to sendpublic CreateDatabaseRegistrationResponse createDatabaseRegistration(CreateDatabaseRegistrationRequest request)
GoldenGate
Note: Deprecated. Use the /connections API instead. Creates a new DatabaseRegistration.
createDatabaseRegistration
in interface GoldenGate
request
- The request object containing the details to sendpublic CreateDeploymentResponse createDeployment(CreateDeploymentRequest request)
GoldenGate
Creates a new Deployment.
createDeployment
in interface GoldenGate
request
- The request object containing the details to sendpublic CreateDeploymentBackupResponse createDeploymentBackup(CreateDeploymentBackupRequest request)
GoldenGate
Creates a new DeploymentBackup.
createDeploymentBackup
in interface GoldenGate
request
- The request object containing the details to sendpublic DeleteConnectionResponse deleteConnection(DeleteConnectionRequest request)
GoldenGate
Deletes a Connection.
deleteConnection
in interface GoldenGate
request
- The request object containing the details to sendpublic DeleteConnectionAssignmentResponse deleteConnectionAssignment(DeleteConnectionAssignmentRequest request)
GoldenGate
Deletes a Connection Assignment.
deleteConnectionAssignment
in interface GoldenGate
request
- The request object containing the details to sendpublic DeleteDatabaseRegistrationResponse deleteDatabaseRegistration(DeleteDatabaseRegistrationRequest request)
GoldenGate
Note: Deprecated. Use the /connections API instead. Deletes a DatabaseRegistration.
deleteDatabaseRegistration
in interface GoldenGate
request
- The request object containing the details to sendpublic DeleteDeploymentResponse deleteDeployment(DeleteDeploymentRequest request)
GoldenGate
Deletes the Deployment.
deleteDeployment
in interface GoldenGate
request
- The request object containing the details to sendpublic DeleteDeploymentBackupResponse deleteDeploymentBackup(DeleteDeploymentBackupRequest request)
GoldenGate
Deletes a DeploymentBackup.
deleteDeploymentBackup
in interface GoldenGate
request
- The request object containing the details to sendpublic DeploymentWalletExistsResponse deploymentWalletExists(DeploymentWalletExistsRequest request)
GoldenGate
Checks if a wallet is already present in the deployment. When provided, If-Match is checked against ETag values of the resource.
deploymentWalletExists
in interface GoldenGate
request
- The request object containing the details to sendpublic ExportDeploymentWalletResponse exportDeploymentWallet(ExportDeploymentWalletRequest request)
GoldenGate
Export the OGG wallet from the deployment to OCI vault. When provided, If-Match is checked against ETag values of the resource.
exportDeploymentWallet
in interface GoldenGate
request
- The request object containing the details to sendpublic GetConnectionResponse getConnection(GetConnectionRequest request)
GoldenGate
Retrieves a Connection.
getConnection
in interface GoldenGate
request
- The request object containing the details to sendpublic GetConnectionAssignmentResponse getConnectionAssignment(GetConnectionAssignmentRequest request)
GoldenGate
Retrieves a Connection Assignment.
getConnectionAssignment
in interface GoldenGate
request
- The request object containing the details to sendpublic GetDatabaseRegistrationResponse getDatabaseRegistration(GetDatabaseRegistrationRequest request)
GoldenGate
Note: Deprecated. Use the /connections API instead. Retrieves a DatabaseRegistration.
getDatabaseRegistration
in interface GoldenGate
request
- The request object containing the details to sendpublic GetDeploymentResponse getDeployment(GetDeploymentRequest request)
GoldenGate
Retrieves a deployment.
getDeployment
in interface GoldenGate
request
- The request object containing the details to sendpublic GetDeploymentBackupResponse getDeploymentBackup(GetDeploymentBackupRequest request)
GoldenGate
Retrieves a DeploymentBackup.
getDeploymentBackup
in interface GoldenGate
request
- The request object containing the details to sendpublic GetDeploymentUpgradeResponse getDeploymentUpgrade(GetDeploymentUpgradeRequest request)
GoldenGate
Retrieves a deployment upgrade.
getDeploymentUpgrade
in interface GoldenGate
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
GoldenGate
Retrieve the WorkRequest identified by the given OCID.
getWorkRequest
in interface GoldenGate
request
- The request object containing the details to sendpublic ImportDeploymentWalletResponse importDeploymentWallet(ImportDeploymentWalletRequest request)
GoldenGate
Imports an OGG wallet from the OCI Vault to the Deployment. When provided, If-Match is checked against ETag values of the resource.
importDeploymentWallet
in interface GoldenGate
request
- The request object containing the details to sendpublic ListConnectionAssignmentsResponse listConnectionAssignments(ListConnectionAssignmentsRequest request)
GoldenGate
Lists the Connection Assignments in the compartment.
listConnectionAssignments
in interface GoldenGate
request
- The request object containing the details to sendpublic ListConnectionsResponse listConnections(ListConnectionsRequest request)
GoldenGate
Lists the Connections in the compartment.
listConnections
in interface GoldenGate
request
- The request object containing the details to sendpublic ListDatabaseRegistrationsResponse listDatabaseRegistrations(ListDatabaseRegistrationsRequest request)
GoldenGate
Note: Deprecated. Use the /connections API instead. Lists the DatabaseRegistrations in the compartment.
listDatabaseRegistrations
in interface GoldenGate
request
- The request object containing the details to sendpublic ListDeploymentBackupsResponse listDeploymentBackups(ListDeploymentBackupsRequest request)
GoldenGate
Lists the Backups in a compartment.
listDeploymentBackups
in interface GoldenGate
request
- The request object containing the details to sendpublic ListDeploymentTypesResponse listDeploymentTypes(ListDeploymentTypesRequest request)
GoldenGate
Returns an array of DeploymentTypeDescriptor
listDeploymentTypes
in interface GoldenGate
request
- The request object containing the details to sendpublic ListDeploymentUpgradesResponse listDeploymentUpgrades(ListDeploymentUpgradesRequest request)
GoldenGate
Lists the Deployment Upgrades in a compartment.
listDeploymentUpgrades
in interface GoldenGate
request
- The request object containing the details to sendpublic ListDeploymentVersionsResponse listDeploymentVersions(ListDeploymentVersionsRequest request)
GoldenGate
Returns the list of available deployment versions.
listDeploymentVersions
in interface GoldenGate
request
- The request object containing the details to sendpublic ListDeploymentWalletsOperationsResponse listDeploymentWalletsOperations(ListDeploymentWalletsOperationsRequest request)
GoldenGate
Lists the wallets export/import operations to/from a deployment.
listDeploymentWalletsOperations
in interface GoldenGate
request
- The request object containing the details to sendpublic ListDeploymentsResponse listDeployments(ListDeploymentsRequest request)
GoldenGate
Lists the Deployments in a compartment.
listDeployments
in interface GoldenGate
request
- The request object containing the details to sendpublic ListMessagesResponse listMessages(ListMessagesRequest request)
GoldenGate
Lists the DeploymentMessages for a deployment. The sorting order is not important. By default first will be Upgrade message, next Exception message and then Storage Utilization message.
listMessages
in interface GoldenGate
request
- The request object containing the details to sendpublic ListTrailFilesResponse listTrailFiles(ListTrailFilesRequest request)
GoldenGate
Lists the TrailFiles for a deployment.
listTrailFiles
in interface GoldenGate
request
- The request object containing the details to sendpublic ListTrailSequencesResponse listTrailSequences(ListTrailSequencesRequest request)
GoldenGate
Lists the Trail Sequences for a TrailFile in a given deployment.
listTrailSequences
in interface GoldenGate
request
- The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
GoldenGate
Lists work request errors.
listWorkRequestErrors
in interface GoldenGate
request
- The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
GoldenGate
Lists work request logs.
listWorkRequestLogs
in interface GoldenGate
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
GoldenGate
Lists the work requests in the compartment.
listWorkRequests
in interface GoldenGate
request
- The request object containing the details to sendpublic RestoreDeploymentResponse restoreDeployment(RestoreDeploymentRequest request)
GoldenGate
Restores a Deployment from a Deployment Backup created from the same Deployment.
restoreDeployment
in interface GoldenGate
request
- The request object containing the details to sendpublic RollbackDeploymentUpgradeResponse rollbackDeploymentUpgrade(RollbackDeploymentUpgradeRequest request)
GoldenGate
Rollback a deployment to it’s previous version. When provided, If-Match is checked against ETag values of the resource.
rollbackDeploymentUpgrade
in interface GoldenGate
request
- The request object containing the details to sendpublic SnoozeDeploymentUpgradeResponse snoozeDeploymentUpgrade(SnoozeDeploymentUpgradeRequest request)
GoldenGate
Snooze a DeploymentUpgrade. When provided, If-Match is checked against ETag values of the resource.
snoozeDeploymentUpgrade
in interface GoldenGate
request
- The request object containing the details to sendpublic StartDeploymentResponse startDeployment(StartDeploymentRequest request)
GoldenGate
Starts a Deployment. When provided, If-Match is checked against ETag values of the resource.
startDeployment
in interface GoldenGate
request
- The request object containing the details to sendpublic StopDeploymentResponse stopDeployment(StopDeploymentRequest request)
GoldenGate
Stops a Deployment. When provided, If-Match is checked against ETag values of the resource.
stopDeployment
in interface GoldenGate
request
- The request object containing the details to sendpublic UpdateConnectionResponse updateConnection(UpdateConnectionRequest request)
GoldenGate
Updates the Connection.
updateConnection
in interface GoldenGate
request
- The request object containing the details to sendpublic UpdateDatabaseRegistrationResponse updateDatabaseRegistration(UpdateDatabaseRegistrationRequest request)
GoldenGate
Note: Deprecated. Use the /connections API instead. Updates the DatabaseRegistration.
updateDatabaseRegistration
in interface GoldenGate
request
- The request object containing the details to sendpublic UpdateDeploymentResponse updateDeployment(UpdateDeploymentRequest request)
GoldenGate
Modifies a Deployment.
updateDeployment
in interface GoldenGate
request
- The request object containing the details to sendpublic UpdateDeploymentBackupResponse updateDeploymentBackup(UpdateDeploymentBackupRequest request)
GoldenGate
Modifies a Deployment Backup.
updateDeploymentBackup
in interface GoldenGate
request
- The request object containing the details to sendpublic UpgradeDeploymentResponse upgradeDeployment(UpgradeDeploymentRequest request)
GoldenGate
Upgrade a Deployment. When provided, If-Match is checked against ETag values of the resource.
upgradeDeployment
in interface GoldenGate
request
- The request object containing the details to sendpublic UpgradeDeploymentUpgradeResponse upgradeDeploymentUpgrade(UpgradeDeploymentUpgradeRequest request)
GoldenGate
Upgrade a deployment. When provided, If-Match is checked against ETag values of the resource.
upgradeDeploymentUpgrade
in interface GoldenGate
request
- The request object containing the details to sendpublic GoldenGateWaiters getWaiters()
GoldenGate
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface GoldenGate
public GoldenGatePaginators getPaginators()
GoldenGate
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 GoldenGate
protected ClientConfigurator getDefaultConfigurator()
public 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
Copyright © 2016–2023. All rights reserved.