Class GoldenGateClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.goldengate.GoldenGateClient
-
- All Implemented Interfaces:
GoldenGate
,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20200407") public class GoldenGateClient extends BaseSyncClient implements GoldenGate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GoldenGateClient.Builder
Builder class for this client.
-
Field Summary
Fields Modifier and Type Field 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 GoldenGate.
-
Constructor Summary
Constructors Constructor Description GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
Method Summary
-
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.goldengate.GoldenGate
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
GoldenGateClient
@Deprecated public GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeGoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)
-
GoldenGateClient
@Deprecated public GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeGoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
-
GoldenGateClient
@Deprecated public GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeGoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
GoldenGateClient
@Deprecated public GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeGoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
-
GoldenGateClient
@Deprecated public GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeGoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
GoldenGateClient
@Deprecated public GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeGoldenGateClient.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)
-
GoldenGateClient
@Deprecated public GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeGoldenGateClient.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
-
GoldenGateClient
@Deprecated public GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeGoldenGateClient.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
-
-
Method Detail
-
builder
public static GoldenGateClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface: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.- Specified by:
setRegion
in interfaceGoldenGate
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface: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 callsetEndpoint
.- Specified by:
setRegion
in interfaceGoldenGate
- Parameters:
regionId
- The public region ID.
-
addConnectionLock
public AddConnectionLockResponse addConnectionLock(AddConnectionLockRequest request)
Description copied from interface:GoldenGate
Adds a lock to a Connection resource.- Specified by:
addConnectionLock
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
addDeploymentBackupLock
public AddDeploymentBackupLockResponse addDeploymentBackupLock(AddDeploymentBackupLockRequest request)
Description copied from interface:GoldenGate
Adds a lock to a DeploymentBackup resource.- Specified by:
addDeploymentBackupLock
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
addDeploymentLocalPeer
public AddDeploymentLocalPeerResponse addDeploymentLocalPeer(AddDeploymentLocalPeerRequest request)
Description copied from interface:GoldenGate
Adds a new local peer to the deployment, this will add the given placement to deployment placement attribute.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
addDeploymentLocalPeer
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
addDeploymentLock
public AddDeploymentLockResponse addDeploymentLock(AddDeploymentLockRequest request)
Description copied from interface:GoldenGate
Adds a lock to a Deployment resource.- Specified by:
addDeploymentLock
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cancelDeploymentBackup
public CancelDeploymentBackupResponse cancelDeploymentBackup(CancelDeploymentBackupRequest request)
Description copied from interface:GoldenGate
Cancels a Deployment Backup creation process.- Specified by:
cancelDeploymentBackup
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cancelDeploymentUpgrade
public CancelDeploymentUpgradeResponse cancelDeploymentUpgrade(CancelDeploymentUpgradeRequest request)
Description copied from interface:GoldenGate
Cancels a DeploymentUpgrade, applicable only for DeploymentUpgrade in Waiting state.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
cancelDeploymentUpgrade
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cancelSnoozeDeploymentUpgrade
public CancelSnoozeDeploymentUpgradeResponse cancelSnoozeDeploymentUpgrade(CancelSnoozeDeploymentUpgradeRequest request)
Description copied from interface:GoldenGate
Cancel snooze of a DeploymentUpgrade.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
cancelSnoozeDeploymentUpgrade
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeConnectionCompartment
public ChangeConnectionCompartmentResponse changeConnectionCompartment(ChangeConnectionCompartmentRequest request)
Description copied from interface: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.
- Specified by:
changeConnectionCompartment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeDatabaseRegistrationCompartment
public ChangeDatabaseRegistrationCompartmentResponse changeDatabaseRegistrationCompartment(ChangeDatabaseRegistrationCompartmentRequest request)
Description copied from interface: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.
- Specified by:
changeDatabaseRegistrationCompartment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeDeploymentBackupCompartment
public ChangeDeploymentBackupCompartmentResponse changeDeploymentBackupCompartment(ChangeDeploymentBackupCompartmentRequest request)
Description copied from interface: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.
- Specified by:
changeDeploymentBackupCompartment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeDeploymentCompartment
public ChangeDeploymentCompartmentResponse changeDeploymentCompartment(ChangeDeploymentCompartmentRequest request)
Description copied from interface: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.
- Specified by:
changeDeploymentCompartment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changePipelineCompartment
public ChangePipelineCompartmentResponse changePipelineCompartment(ChangePipelineCompartmentRequest request)
Description copied from interface:GoldenGate
Moves the Pipeline 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.
- Specified by:
changePipelineCompartment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
collectDeploymentDiagnostic
public CollectDeploymentDiagnosticResponse collectDeploymentDiagnostic(CollectDeploymentDiagnosticRequest request)
Description copied from interface:GoldenGate
Collects the diagnostic of a Deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
collectDeploymentDiagnostic
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
collectPipelineDiagnostic
public CollectPipelineDiagnosticResponse collectPipelineDiagnostic(CollectPipelineDiagnosticRequest request)
Description copied from interface:GoldenGate
Collects diagnostics for the pipeline- Specified by:
collectPipelineDiagnostic
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
copyDeploymentBackup
public CopyDeploymentBackupResponse copyDeploymentBackup(CopyDeploymentBackupRequest request)
Description copied from interface:GoldenGate
Creates a copy of a Deployment Backup.- Specified by:
copyDeploymentBackup
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createCertificate
public CreateCertificateResponse createCertificate(CreateCertificateRequest request)
Description copied from interface:GoldenGate
Creates a new certificate to truststore.- Specified by:
createCertificate
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createConnection
public CreateConnectionResponse createConnection(CreateConnectionRequest request)
Description copied from interface:GoldenGate
Creates a new Connection.- Specified by:
createConnection
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createConnectionAssignment
public CreateConnectionAssignmentResponse createConnectionAssignment(CreateConnectionAssignmentRequest request)
Description copied from interface:GoldenGate
Creates a new Connection Assignment.- Specified by:
createConnectionAssignment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDatabaseRegistration
public CreateDatabaseRegistrationResponse createDatabaseRegistration(CreateDatabaseRegistrationRequest request)
Description copied from interface:GoldenGate
Note: Deprecated.Use the /connections API instead. Creates a new DatabaseRegistration.
- Specified by:
createDatabaseRegistration
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDeployment
public CreateDeploymentResponse createDeployment(CreateDeploymentRequest request)
Description copied from interface:GoldenGate
Creates a new Deployment.- Specified by:
createDeployment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDeploymentBackup
public CreateDeploymentBackupResponse createDeploymentBackup(CreateDeploymentBackupRequest request)
Description copied from interface:GoldenGate
Creates a new DeploymentBackup.- Specified by:
createDeploymentBackup
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createPipeline
public CreatePipelineResponse createPipeline(CreatePipelineRequest request)
Description copied from interface:GoldenGate
Creates a new Pipeline.- Specified by:
createPipeline
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteCertificate
public DeleteCertificateResponse deleteCertificate(DeleteCertificateRequest request)
Description copied from interface:GoldenGate
Deletes the certificate from truststore.- Specified by:
deleteCertificate
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteConnection
public DeleteConnectionResponse deleteConnection(DeleteConnectionRequest request)
Description copied from interface:GoldenGate
Deletes a Connection.- Specified by:
deleteConnection
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteConnectionAssignment
public DeleteConnectionAssignmentResponse deleteConnectionAssignment(DeleteConnectionAssignmentRequest request)
Description copied from interface:GoldenGate
Deletes a Connection Assignment.- Specified by:
deleteConnectionAssignment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDatabaseRegistration
public DeleteDatabaseRegistrationResponse deleteDatabaseRegistration(DeleteDatabaseRegistrationRequest request)
Description copied from interface:GoldenGate
Note: Deprecated.Use the /connections API instead. Deletes a DatabaseRegistration.
- Specified by:
deleteDatabaseRegistration
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDeployment
public DeleteDeploymentResponse deleteDeployment(DeleteDeploymentRequest request)
Description copied from interface:GoldenGate
Deletes the Deployment.- Specified by:
deleteDeployment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDeploymentBackup
public DeleteDeploymentBackupResponse deleteDeploymentBackup(DeleteDeploymentBackupRequest request)
Description copied from interface:GoldenGate
Deletes a DeploymentBackup.- Specified by:
deleteDeploymentBackup
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deletePipeline
public DeletePipelineResponse deletePipeline(DeletePipelineRequest request)
Description copied from interface:GoldenGate
Deletes a Pipeline.- Specified by:
deletePipeline
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deploymentWalletExists
public DeploymentWalletExistsResponse deploymentWalletExists(DeploymentWalletExistsRequest request)
Description copied from interface:GoldenGate
Checks if a wallet is already present in the deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
deploymentWalletExists
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
exportDeploymentWallet
public ExportDeploymentWalletResponse exportDeploymentWallet(ExportDeploymentWalletRequest request)
Description copied from interface:GoldenGate
Export the OGG wallet from the deployment to OCI vault.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
exportDeploymentWallet
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
generateLibraryUrl
public GenerateLibraryUrlResponse generateLibraryUrl(GenerateLibraryUrlRequest request)
Description copied from interface:GoldenGate
Generates a Pre-Authenticated Request Object URL to a DB2 for z/OS library that needs to be uploaded to your DB2 for z/OS server in order to establish GoldenGate connections to it.For licensing reasons, the URL is accessible for 10 minutes only.
- Specified by:
generateLibraryUrl
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getCertificate
public GetCertificateResponse getCertificate(GetCertificateRequest request)
Description copied from interface:GoldenGate
Retrieves a Certificate.- Specified by:
getCertificate
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getConnection
public GetConnectionResponse getConnection(GetConnectionRequest request)
Description copied from interface:GoldenGate
Retrieves a Connection.- Specified by:
getConnection
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getConnectionAssignment
public GetConnectionAssignmentResponse getConnectionAssignment(GetConnectionAssignmentRequest request)
Description copied from interface:GoldenGate
Retrieves a Connection Assignment.- Specified by:
getConnectionAssignment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDatabaseRegistration
public GetDatabaseRegistrationResponse getDatabaseRegistration(GetDatabaseRegistrationRequest request)
Description copied from interface:GoldenGate
Note: Deprecated.Use the /connections API instead. Retrieves a DatabaseRegistration.
- Specified by:
getDatabaseRegistration
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDeployment
public GetDeploymentResponse getDeployment(GetDeploymentRequest request)
Description copied from interface:GoldenGate
Retrieves a deployment.- Specified by:
getDeployment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDeploymentBackup
public GetDeploymentBackupResponse getDeploymentBackup(GetDeploymentBackupRequest request)
Description copied from interface:GoldenGate
Retrieves a DeploymentBackup.- Specified by:
getDeploymentBackup
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDeploymentUpgrade
public GetDeploymentUpgradeResponse getDeploymentUpgrade(GetDeploymentUpgradeRequest request)
Description copied from interface:GoldenGate
Retrieves a deployment upgrade.- Specified by:
getDeploymentUpgrade
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPipeline
public GetPipelineResponse getPipeline(GetPipelineRequest request)
Description copied from interface:GoldenGate
Retrieves a Pipeline details.- Specified by:
getPipeline
in interfaceGoldenGate
- 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:GoldenGate
Retrieve the WorkRequest identified by the given OCID.- Specified by:
getWorkRequest
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
importDeploymentWallet
public ImportDeploymentWalletResponse importDeploymentWallet(ImportDeploymentWalletRequest request)
Description copied from interface:GoldenGate
Imports an OGG wallet from the OCI Vault to the Deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
importDeploymentWallet
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listCertificates
public ListCertificatesResponse listCertificates(ListCertificatesRequest request)
Description copied from interface:GoldenGate
Returns a list of certificates from truststore.- Specified by:
listCertificates
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listConnectionAssignments
public ListConnectionAssignmentsResponse listConnectionAssignments(ListConnectionAssignmentsRequest request)
Description copied from interface:GoldenGate
Lists the Connection Assignments in the compartment.- Specified by:
listConnectionAssignments
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listConnections
public ListConnectionsResponse listConnections(ListConnectionsRequest request)
Description copied from interface:GoldenGate
Lists the Connections in the compartment.- Specified by:
listConnections
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDatabaseRegistrations
public ListDatabaseRegistrationsResponse listDatabaseRegistrations(ListDatabaseRegistrationsRequest request)
Description copied from interface:GoldenGate
Note: Deprecated.Use the /connections API instead. Lists the DatabaseRegistrations in the compartment.
- Specified by:
listDatabaseRegistrations
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDeploymentBackups
public ListDeploymentBackupsResponse listDeploymentBackups(ListDeploymentBackupsRequest request)
Description copied from interface:GoldenGate
Lists the Backups in a compartment.- Specified by:
listDeploymentBackups
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDeploymentEnvironments
public ListDeploymentEnvironmentsResponse listDeploymentEnvironments(ListDeploymentEnvironmentsRequest request)
Description copied from interface:GoldenGate
Returns an array of DeploymentEnvironmentDescriptor- Specified by:
listDeploymentEnvironments
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDeploymentPeers
public ListDeploymentPeersResponse listDeploymentPeers(ListDeploymentPeersRequest request)
Description copied from interface:GoldenGate
Lists the local and remote peers in a deployment.- Specified by:
listDeploymentPeers
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDeploymentTypes
public ListDeploymentTypesResponse listDeploymentTypes(ListDeploymentTypesRequest request)
Description copied from interface:GoldenGate
Returns an array of DeploymentTypeDescriptor- Specified by:
listDeploymentTypes
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDeploymentUpgrades
public ListDeploymentUpgradesResponse listDeploymentUpgrades(ListDeploymentUpgradesRequest request)
Description copied from interface:GoldenGate
Lists the Deployment Upgrades in a compartment.- Specified by:
listDeploymentUpgrades
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDeploymentVersions
public ListDeploymentVersionsResponse listDeploymentVersions(ListDeploymentVersionsRequest request)
Description copied from interface:GoldenGate
Returns the list of available deployment versions.- Specified by:
listDeploymentVersions
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDeploymentWalletsOperations
public ListDeploymentWalletsOperationsResponse listDeploymentWalletsOperations(ListDeploymentWalletsOperationsRequest request)
Description copied from interface:GoldenGate
Lists the wallets export/import operations to/from a deployment.- Specified by:
listDeploymentWalletsOperations
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDeployments
public ListDeploymentsResponse listDeployments(ListDeploymentsRequest request)
Description copied from interface:GoldenGate
Lists the Deployments in a compartment.- Specified by:
listDeployments
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMessages
public ListMessagesResponse listMessages(ListMessagesRequest request)
Description copied from interface: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.
- Specified by:
listMessages
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPipelineInitializationSteps
public ListPipelineInitializationStepsResponse listPipelineInitializationSteps(ListPipelineInitializationStepsRequest request)
Description copied from interface:GoldenGate
Retrieves a Pipeline recipe steps and its progress details.- Specified by:
listPipelineInitializationSteps
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPipelineRunningProcesses
public ListPipelineRunningProcessesResponse listPipelineRunningProcesses(ListPipelineRunningProcessesRequest request)
Description copied from interface:GoldenGate
Retrieves a Pipeline’s running replication process’s status like Capture/Apply.- Specified by:
listPipelineRunningProcesses
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPipelineSchemaTables
public ListPipelineSchemaTablesResponse listPipelineSchemaTables(ListPipelineSchemaTablesRequest request)
Description copied from interface:GoldenGate
Returns an array of tables under the given schemas of the pipeline for given source and target schemas passed as query params.- Specified by:
listPipelineSchemaTables
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPipelineSchemas
public ListPipelineSchemasResponse listPipelineSchemas(ListPipelineSchemasRequest request)
Description copied from interface:GoldenGate
Returns an array of schemas based on mapping rules for a pipeline.- Specified by:
listPipelineSchemas
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPipelines
public ListPipelinesResponse listPipelines(ListPipelinesRequest request)
Description copied from interface:GoldenGate
Lists the Pipelines in the compartment.- Specified by:
listPipelines
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listRecipes
public ListRecipesResponse listRecipes(ListRecipesRequest request)
Description copied from interface:GoldenGate
Returns an array of Recipe Summary.- Specified by:
listRecipes
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listTrailFiles
public ListTrailFilesResponse listTrailFiles(ListTrailFilesRequest request)
Description copied from interface:GoldenGate
Lists the TrailFiles for a deployment.Deprecated: Please access trail file management functions directly on OGG console which are available since version Oracle GoldenGate 23c.
- Specified by:
listTrailFiles
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listTrailSequences
public ListTrailSequencesResponse listTrailSequences(ListTrailSequencesRequest request)
Description copied from interface:GoldenGate
Lists the Trail Sequences for a TrailFile in a given deployment.Deprecated: Please access trail file management functions directly on OGG console which are available since version Oracle GoldenGate 23c.
- Specified by:
listTrailSequences
in interfaceGoldenGate
- 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:GoldenGate
Lists work request errors.- Specified by:
listWorkRequestErrors
in interfaceGoldenGate
- 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:GoldenGate
Lists work request logs.- Specified by:
listWorkRequestLogs
in interfaceGoldenGate
- 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:GoldenGate
Lists the work requests in the compartment.- Specified by:
listWorkRequests
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
refreshConnection
public RefreshConnectionResponse refreshConnection(RefreshConnectionRequest request)
Description copied from interface:GoldenGate
Refresh the external Connection attributes.- Specified by:
refreshConnection
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removeConnectionLock
public RemoveConnectionLockResponse removeConnectionLock(RemoveConnectionLockRequest request)
Description copied from interface:GoldenGate
Removes a lock from a Connection resource.- Specified by:
removeConnectionLock
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removeDeploymentBackupLock
public RemoveDeploymentBackupLockResponse removeDeploymentBackupLock(RemoveDeploymentBackupLockRequest request)
Description copied from interface:GoldenGate
Removes a lock from a DeploymentBackup resource.- Specified by:
removeDeploymentBackupLock
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removeDeploymentLocalPeer
public RemoveDeploymentLocalPeerResponse removeDeploymentLocalPeer(RemoveDeploymentLocalPeerRequest request)
Description copied from interface:GoldenGate
Removes a local peer of the deployment, this will remove the given placement entry from the deployment placement attribute.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
removeDeploymentLocalPeer
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removeDeploymentLock
public RemoveDeploymentLockResponse removeDeploymentLock(RemoveDeploymentLockRequest request)
Description copied from interface:GoldenGate
Removes a lock from a Deployment resource.- Specified by:
removeDeploymentLock
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
rescheduleDeploymentUpgrade
public RescheduleDeploymentUpgradeResponse rescheduleDeploymentUpgrade(RescheduleDeploymentUpgradeRequest request)
Description copied from interface:GoldenGate
Reschedules a DeploymentUpgrade, applicable only for DeploymentUpgrade in Waiting state.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
rescheduleDeploymentUpgrade
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
restoreDeployment
public RestoreDeploymentResponse restoreDeployment(RestoreDeploymentRequest request)
Description copied from interface:GoldenGate
Restores a Deployment from a Deployment Backup created from the same Deployment.- Specified by:
restoreDeployment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
rollbackDeploymentUpgrade
public RollbackDeploymentUpgradeResponse rollbackDeploymentUpgrade(RollbackDeploymentUpgradeRequest request)
Description copied from interface:GoldenGate
Rollback a deployment to it’s previous version.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
rollbackDeploymentUpgrade
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
snoozeDeploymentUpgrade
public SnoozeDeploymentUpgradeResponse snoozeDeploymentUpgrade(SnoozeDeploymentUpgradeRequest request)
Description copied from interface:GoldenGate
Snooze a DeploymentUpgrade.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
snoozeDeploymentUpgrade
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
startDeployment
public StartDeploymentResponse startDeployment(StartDeploymentRequest request)
Description copied from interface:GoldenGate
Starts a Deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
startDeployment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
startPipeline
public StartPipelineResponse startPipeline(StartPipelineRequest request)
Description copied from interface:GoldenGate
Starts the pipeline for data replication.- Specified by:
startPipeline
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
stopDeployment
public StopDeploymentResponse stopDeployment(StopDeploymentRequest request)
Description copied from interface:GoldenGate
Stops a Deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
stopDeployment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
stopPipeline
public StopPipelineResponse stopPipeline(StopPipelineRequest request)
Description copied from interface:GoldenGate
Stops the pipeline for data replication.- Specified by:
stopPipeline
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
switchoverDeploymentPeer
public SwitchoverDeploymentPeerResponse switchoverDeploymentPeer(SwitchoverDeploymentPeerRequest request)
Description copied from interface:GoldenGate
Switchover to the selected standby peer, which can be a local placement or a standby deployment in different region.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
switchoverDeploymentPeer
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
testConnectionAssignment
public TestConnectionAssignmentResponse testConnectionAssignment(TestConnectionAssignmentRequest request)
Description copied from interface:GoldenGate
Tests the connectivity between given GoldenGate deployment and one of the associated database / service.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
testConnectionAssignment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
testPipelineConnection
public TestPipelineConnectionResponse testPipelineConnection(TestPipelineConnectionRequest request)
Description copied from interface:GoldenGate
Tests pipeline connections against pipeline to verify the connectivity.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
testPipelineConnection
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateConnection
public UpdateConnectionResponse updateConnection(UpdateConnectionRequest request)
Description copied from interface:GoldenGate
Updates the Connection.- Specified by:
updateConnection
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDatabaseRegistration
public UpdateDatabaseRegistrationResponse updateDatabaseRegistration(UpdateDatabaseRegistrationRequest request)
Description copied from interface:GoldenGate
Note: Deprecated.Use the /connections API instead. Updates the DatabaseRegistration.
- Specified by:
updateDatabaseRegistration
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDeployment
public UpdateDeploymentResponse updateDeployment(UpdateDeploymentRequest request)
Description copied from interface:GoldenGate
Modifies a Deployment.- Specified by:
updateDeployment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDeploymentBackup
public UpdateDeploymentBackupResponse updateDeploymentBackup(UpdateDeploymentBackupRequest request)
Description copied from interface:GoldenGate
Modifies a Deployment Backup.- Specified by:
updateDeploymentBackup
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updatePipeline
public UpdatePipelineResponse updatePipeline(UpdatePipelineRequest request)
Description copied from interface:GoldenGate
Updates the Pipeline.- Specified by:
updatePipeline
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
upgradeDeployment
public UpgradeDeploymentResponse upgradeDeployment(UpgradeDeploymentRequest request)
Description copied from interface:GoldenGate
Upgrade a Deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
upgradeDeployment
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
upgradeDeploymentUpgrade
public UpgradeDeploymentUpgradeResponse upgradeDeploymentUpgrade(UpgradeDeploymentUpgradeRequest request)
Description copied from interface:GoldenGate
Upgrade a deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
upgradeDeploymentUpgrade
in interfaceGoldenGate
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public GoldenGateWaiters getWaiters()
Description copied from interface:GoldenGate
Gets the pre-configured waiters available for resources for this service.- Specified by:
getWaiters
in interfaceGoldenGate
- Returns:
- The service waiters.
-
getPaginators
public GoldenGatePaginators getPaginators()
Description copied from interface: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.- Specified by:
getPaginators
in interfaceGoldenGate
- 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
ClientConfigurator
s again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-