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 classGoldenGateClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for GoldenGate.
-
Constructor Summary
Constructors Constructor Description GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.GoldenGateClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
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 thebuilderinstead.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 thebuilderinstead.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 thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeGoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
GoldenGateClient
@Deprecated public GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeGoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-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 thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeGoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
GoldenGateClient
@Deprecated public GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeGoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
GoldenGateClient
@Deprecated public GoldenGateClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeGoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
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 thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeGoldenGateClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactoriesexecutorService-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:GoldenGateSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceGoldenGate- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:GoldenGateSets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Specified by:
setRegionin interfaceGoldenGate- Parameters:
regionId- The public region ID.
-
addConnectionLock
public AddConnectionLockResponse addConnectionLock(AddConnectionLockRequest request)
Description copied from interface:GoldenGateAdds a lock to a Connection resource.- Specified by:
addConnectionLockin 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:GoldenGateAdds a lock to a DeploymentBackup resource.- Specified by:
addDeploymentBackupLockin 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:GoldenGateAdds 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:
addDeploymentLocalPeerin 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:GoldenGateAdds a lock to a Deployment resource.- Specified by:
addDeploymentLockin 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:GoldenGateCancels a Deployment Backup creation process.- Specified by:
cancelDeploymentBackupin 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:GoldenGateCancels a DeploymentUpgrade, applicable only for DeploymentUpgrade in Waiting state.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
cancelDeploymentUpgradein 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:GoldenGateCancel snooze of a DeploymentUpgrade.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
cancelSnoozeDeploymentUpgradein 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:GoldenGateMoves 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:
changeConnectionCompartmentin interfaceGoldenGate- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeConnectionSubscription
public ChangeConnectionSubscriptionResponse changeConnectionSubscription(ChangeConnectionSubscriptionRequest request)
Description copied from interface:GoldenGateAssociate a GoldanGate connection with a different subscription.- Specified by:
changeConnectionSubscriptionin 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:GoldenGateNote: 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:
changeDatabaseRegistrationCompartmentin 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:GoldenGateMoves 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:
changeDeploymentBackupCompartmentin 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:GoldenGateMoves 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:
changeDeploymentCompartmentin interfaceGoldenGate- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeDeploymentSubscription
public ChangeDeploymentSubscriptionResponse changeDeploymentSubscription(ChangeDeploymentSubscriptionRequest request)
Description copied from interface:GoldenGateAssociate a GoldanGate deployment with a different subscription.- Specified by:
changeDeploymentSubscriptionin 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:GoldenGateMoves 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:
changePipelineCompartmentin 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:GoldenGateCollects the diagnostic of a Deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
collectDeploymentDiagnosticin 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:GoldenGateCollects diagnostics for the pipeline- Specified by:
collectPipelineDiagnosticin 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:GoldenGateCreates a copy of a Deployment Backup.- Specified by:
copyDeploymentBackupin 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:GoldenGateCreates a new certificate to truststore.- Specified by:
createCertificatein 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:GoldenGateCreates a new Connection.- Specified by:
createConnectionin 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:GoldenGateCreates a new Connection Assignment.- Specified by:
createConnectionAssignmentin 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:GoldenGateNote: Deprecated.Use the /connections API instead. Creates a new DatabaseRegistration.
- Specified by:
createDatabaseRegistrationin 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:GoldenGateCreates a new Deployment.- Specified by:
createDeploymentin 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:GoldenGateCreates a new DeploymentBackup.- Specified by:
createDeploymentBackupin 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:GoldenGateCreates a new Pipeline.- Specified by:
createPipelinein 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:GoldenGateDeletes the certificate from truststore.- Specified by:
deleteCertificatein 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:GoldenGateDeletes a Connection.- Specified by:
deleteConnectionin 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:GoldenGateDeletes a Connection Assignment.- Specified by:
deleteConnectionAssignmentin 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:GoldenGateNote: Deprecated.Use the /connections API instead. Deletes a DatabaseRegistration.
- Specified by:
deleteDatabaseRegistrationin 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:GoldenGateDeletes the Deployment.- Specified by:
deleteDeploymentin 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:GoldenGateDeletes a DeploymentBackup.- Specified by:
deleteDeploymentBackupin 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:GoldenGateDeletes a Pipeline.- Specified by:
deletePipelinein 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:GoldenGateChecks if a wallet is already present in the deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
deploymentWalletExistsin 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:GoldenGateExport the OGG wallet from the deployment to OCI vault.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
exportDeploymentWalletin 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:GoldenGateGenerates 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:
generateLibraryUrlin 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:GoldenGateRetrieves a Certificate.- Specified by:
getCertificatein 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:GoldenGateRetrieves a Connection.- Specified by:
getConnectionin 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:GoldenGateRetrieves a Connection Assignment.- Specified by:
getConnectionAssignmentin 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:GoldenGateNote: Deprecated.Use the /connections API instead. Retrieves a DatabaseRegistration.
- Specified by:
getDatabaseRegistrationin 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:GoldenGateRetrieves a deployment.- Specified by:
getDeploymentin 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:GoldenGateRetrieves a DeploymentBackup.- Specified by:
getDeploymentBackupin 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:GoldenGateRetrieves a deployment upgrade.- Specified by:
getDeploymentUpgradein 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:GoldenGateRetrieves a Pipeline details.- Specified by:
getPipelinein 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:GoldenGateRetrieve the WorkRequest identified by the given OCID.- Specified by:
getWorkRequestin 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:GoldenGateImports an OGG wallet from the OCI Vault to the Deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
importDeploymentWalletin 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:GoldenGateReturns a list of certificates from truststore.- Specified by:
listCertificatesin 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:GoldenGateLists the Connection Assignments in the compartment.- Specified by:
listConnectionAssignmentsin 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:GoldenGateLists the Connections in the compartment.- Specified by:
listConnectionsin 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:GoldenGateNote: Deprecated.Use the /connections API instead. Lists the DatabaseRegistrations in the compartment.
- Specified by:
listDatabaseRegistrationsin 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:GoldenGateLists the Backups in a compartment.- Specified by:
listDeploymentBackupsin 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:GoldenGateReturns an array of DeploymentEnvironmentDescriptor- Specified by:
listDeploymentEnvironmentsin 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:GoldenGateLists the local and remote peers in a deployment.- Specified by:
listDeploymentPeersin 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:GoldenGateReturns an array of DeploymentTypeDescriptor- Specified by:
listDeploymentTypesin 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:GoldenGateLists the Deployment Upgrades in a compartment.- Specified by:
listDeploymentUpgradesin 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:GoldenGateReturns the list of available deployment versions.- Specified by:
listDeploymentVersionsin 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:GoldenGateLists the wallets export/import operations to/from a deployment.- Specified by:
listDeploymentWalletsOperationsin 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:GoldenGateLists the Deployments in a compartment.- Specified by:
listDeploymentsin 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:GoldenGateLists 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:
listMessagesin 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:GoldenGateRetrieves a Pipeline recipe steps and its progress details.- Specified by:
listPipelineInitializationStepsin 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:GoldenGateRetrieves a Pipeline’s running replication process’s status like Capture/Apply.- Specified by:
listPipelineRunningProcessesin 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:GoldenGateReturns an array of tables under the given schemas of the pipeline for given source and target schemas passed as query params.- Specified by:
listPipelineSchemaTablesin 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:GoldenGateReturns an array of schemas based on mapping rules for a pipeline.- Specified by:
listPipelineSchemasin 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:GoldenGateLists the Pipelines in the compartment.- Specified by:
listPipelinesin 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:GoldenGateReturns an array of Recipe Summary.- Specified by:
listRecipesin 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:GoldenGateLists 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:
listTrailFilesin 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:GoldenGateLists 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:
listTrailSequencesin 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:GoldenGateLists work request errors.- Specified by:
listWorkRequestErrorsin 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:GoldenGateLists work request logs.- Specified by:
listWorkRequestLogsin 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:GoldenGateLists the work requests in the compartment.- Specified by:
listWorkRequestsin 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:GoldenGateRefresh the external Connection attributes.- Specified by:
refreshConnectionin 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:GoldenGateRemoves a lock from a Connection resource.- Specified by:
removeConnectionLockin 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:GoldenGateRemoves a lock from a DeploymentBackup resource.- Specified by:
removeDeploymentBackupLockin 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:GoldenGateRemoves 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:
removeDeploymentLocalPeerin 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:GoldenGateRemoves a lock from a Deployment resource.- Specified by:
removeDeploymentLockin 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:GoldenGateReschedules a DeploymentUpgrade, applicable only for DeploymentUpgrade in Waiting state.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
rescheduleDeploymentUpgradein 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:GoldenGateRestores a Deployment from a Deployment Backup created from the same Deployment.- Specified by:
restoreDeploymentin 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:GoldenGateRollback a deployment to it’s previous version.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
rollbackDeploymentUpgradein 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:GoldenGateSnooze a DeploymentUpgrade.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
snoozeDeploymentUpgradein 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:GoldenGateStarts a Deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
startDeploymentin 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:GoldenGateStarts the pipeline for data replication.- Specified by:
startPipelinein 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:GoldenGateStops a Deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
stopDeploymentin 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:GoldenGateStops the pipeline for data replication.- Specified by:
stopPipelinein 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:GoldenGateSwitchover 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:
switchoverDeploymentPeerin 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:GoldenGateTests 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:
testConnectionAssignmentin 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:GoldenGateTests pipeline connections against pipeline to verify the connectivity.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
testPipelineConnectionin 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:GoldenGateUpdates the Connection.- Specified by:
updateConnectionin 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:GoldenGateNote: Deprecated.Use the /connections API instead. Updates the DatabaseRegistration.
- Specified by:
updateDatabaseRegistrationin 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:GoldenGateModifies a Deployment.- Specified by:
updateDeploymentin 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:GoldenGateModifies a Deployment Backup.- Specified by:
updateDeploymentBackupin 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:GoldenGateUpdates the Pipeline.- Specified by:
updatePipelinein 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:GoldenGateUpgrade a Deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
upgradeDeploymentin 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:GoldenGateUpgrade a deployment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
upgradeDeploymentUpgradein 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:GoldenGateGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceGoldenGate- Returns:
- The service waiters.
-
getPaginators
public GoldenGatePaginators getPaginators()
Description copied from interface:GoldenGateGets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginatorsin 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
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-