Class PostgresqlClient
- java.lang.Object
- 
- com.oracle.bmc.http.internal.BaseSyncClient
- 
- com.oracle.bmc.psql.PostgresqlClient
 
 
- 
- All Implemented Interfaces:
- Postgresql,- AutoCloseable
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220915") public class PostgresqlClient extends BaseSyncClient implements Postgresql
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPostgresqlClient.BuilderBuilder class for this client.
 - 
Field SummaryFields 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 Postgresql.
 - 
Constructor SummaryConstructors Constructor Description PostgresqlClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.PostgresqlClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.PostgresqlClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.PostgresqlClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.PostgresqlClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.PostgresqlClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.PostgresqlClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.PostgresqlClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupCopyResponsebackupCopy(BackupCopyRequest request)Backup Copy Request to copy back up in remote region.static PostgresqlClient.Builderbuilder()Create a builder for this client.ChangeBackupCompartmentResponsechangeBackupCompartment(ChangeBackupCompartmentRequest request)Moves a backup from one compartment to another.ChangeConfigurationCompartmentResponsechangeConfigurationCompartment(ChangeConfigurationCompartmentRequest request)Moves a configuration from one compartment to another.ChangeDbSystemCompartmentResponsechangeDbSystemCompartment(ChangeDbSystemCompartmentRequest request)Moves a database system from one compartment to another.voidclose()CreateBackupResponsecreateBackup(CreateBackupRequest request)Creates a new backup.CreateConfigurationResponsecreateConfiguration(CreateConfigurationRequest request)Creates a new configuration.CreateDbSystemResponsecreateDbSystem(CreateDbSystemRequest request)Creates a new database system.DeleteBackupResponsedeleteBackup(DeleteBackupRequest request)Deletes a backup by identifier.DeleteConfigurationResponsedeleteConfiguration(DeleteConfigurationRequest request)Deletes a configuration by identifier.DeleteDbSystemResponsedeleteDbSystem(DeleteDbSystemRequest request)Deletes a database system by identifier.FailoverDbSystemResponsefailoverDbSystem(FailoverDbSystemRequest request)Runs a failover operation.GetBackupResponsegetBackup(GetBackupRequest request)Gets a backup by identifier.StringgetClientCommonLibraryVersion()GetConfigurationResponsegetConfiguration(GetConfigurationRequest request)Gets a configuration by identifier.GetConnectionDetailsResponsegetConnectionDetails(GetConnectionDetailsRequest request)Gets the database system connection details.GetDbSystemResponsegetDbSystem(GetDbSystemRequest request)Gets a database system by identifier.GetDefaultConfigurationResponsegetDefaultConfiguration(GetDefaultConfigurationRequest request)Gets a default configuration by identifier.protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()Optional<String>getMinimumClientCommonLibraryVersionFromClient()PostgresqlPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetPrimaryDbInstanceResponsegetPrimaryDbInstance(GetPrimaryDbInstanceRequest request)Gets the primary database instance node details.PostgresqlWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets details of the work request with the given ID.ListBackupsResponselistBackups(ListBackupsRequest request)Returns a list of backups.ListConfigurationsResponselistConfigurations(ListConfigurationsRequest request)Returns a list of configurations.ListDbSystemsResponselistDbSystems(ListDbSystemsRequest request)Returns a list of database systems.ListDefaultConfigurationsResponselistDefaultConfigurations(ListDefaultConfigurationsRequest request)Returns a list of default configurations.ListShapesResponselistShapes(ListShapesRequest request)Returns the list of shapes allowed in the region.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Returns a (paginated) list of errors for the work request with the given ID.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Returns a (paginated) list of logs for the work request with the given ID.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.PatchDbSystemResponsepatchDbSystem(PatchDbSystemRequest request)Modifies the database system by adding or removing database instance nodes.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.voidrefreshClient()Rebuild the backingHttpClient.ResetMasterUserPasswordResponseresetMasterUserPassword(ResetMasterUserPasswordRequest request)Resets the database system’s master password.RestartDbInstanceInDbSystemResponserestartDbInstanceInDbSystem(RestartDbInstanceInDbSystemRequest request)Restarts the running database instance node.RestoreDbSystemResponserestoreDbSystem(RestoreDbSystemRequest request)Restore the database system.voidsetEndpoint(String endpoint)voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).UpdateBackupResponseupdateBackup(UpdateBackupRequest request)Updates the backup.voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdateConfigurationResponseupdateConfiguration(UpdateConfigurationRequest request)Updates a display name or description of the configuration.UpdateDbSystemResponseupdateDbSystem(UpdateDbSystemRequest request)Updates the database system.UpdateDbSystemDbInstanceResponseupdateDbSystemDbInstance(UpdateDbSystemDbInstanceRequest request)Updates the database instance node.voiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.- 
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClientclientCall
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.AutoCloseableclose
 - 
Methods inherited from interface com.oracle.bmc.psql.PostgresqlgetEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
 
- 
 
- 
- 
- 
Constructor Detail- 
PostgresqlClient@Deprecated public PostgresqlClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- PostgresqlClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
 
 - 
PostgresqlClient@Deprecated public PostgresqlClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- PostgresqlClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
 
 - 
PostgresqlClient@Deprecated public PostgresqlClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- PostgresqlClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
 
 - 
PostgresqlClient@Deprecated public PostgresqlClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- PostgresqlClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
 
 - 
PostgresqlClient@Deprecated public PostgresqlClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- PostgresqlClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
 
 - 
PostgresqlClient@Deprecated public PostgresqlClient(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 (see- PostgresqlClient.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)
 
 - 
PostgresqlClient@Deprecated public PostgresqlClient(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 (see- PostgresqlClient.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
 
 - 
PostgresqlClient@Deprecated public PostgresqlClient(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 (see- PostgresqlClient.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-- PostgresqlClient.Builder.executorService
 
 
- 
 - 
Method Detail- 
builderpublic static PostgresqlClient.Builder builder() Create a builder for this client.- Returns:
- builder
 
 - 
setRegionpublic void setRegion(Region region) Description copied from interface:PostgresqlSets 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 interface- Postgresql
- Parameters:
- region- The region of the service.
 
 - 
setRegionpublic void setRegion(String regionId) Description copied from interface:PostgresqlSets 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 interface- Postgresql
- Parameters:
- regionId- The public region ID.
 
 - 
backupCopypublic BackupCopyResponse backupCopy(BackupCopyRequest request) Description copied from interface:PostgresqlBackup Copy Request to copy back up in remote region.When provided, If-Match is checked against ETag values of the resource. - Specified by:
- backupCopyin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeBackupCompartmentpublic ChangeBackupCompartmentResponse changeBackupCompartment(ChangeBackupCompartmentRequest request) Description copied from interface:PostgresqlMoves a backup from one compartment to another.When provided, If-Match is checked against ETag values of the resource. - Specified by:
- changeBackupCompartmentin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeConfigurationCompartmentpublic ChangeConfigurationCompartmentResponse changeConfigurationCompartment(ChangeConfigurationCompartmentRequest request) Description copied from interface:PostgresqlMoves a configuration from one compartment to another.When provided, If-Match is checked against ETag values of the resource. - Specified by:
- changeConfigurationCompartmentin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeDbSystemCompartmentpublic ChangeDbSystemCompartmentResponse changeDbSystemCompartment(ChangeDbSystemCompartmentRequest request) Description copied from interface:PostgresqlMoves a database system from one compartment to another.When provided, If-Match is checked against ETag values of the resource. - Specified by:
- changeDbSystemCompartmentin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createBackuppublic CreateBackupResponse createBackup(CreateBackupRequest request) Description copied from interface:PostgresqlCreates a new backup.- Specified by:
- createBackupin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createConfigurationpublic CreateConfigurationResponse createConfiguration(CreateConfigurationRequest request) Description copied from interface:PostgresqlCreates a new configuration.- Specified by:
- createConfigurationin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createDbSystempublic CreateDbSystemResponse createDbSystem(CreateDbSystemRequest request) Description copied from interface:PostgresqlCreates a new database system.- Specified by:
- createDbSystemin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteBackuppublic DeleteBackupResponse deleteBackup(DeleteBackupRequest request) Description copied from interface:PostgresqlDeletes a backup by identifier.- Specified by:
- deleteBackupin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteConfigurationpublic DeleteConfigurationResponse deleteConfiguration(DeleteConfigurationRequest request) Description copied from interface:PostgresqlDeletes a configuration by identifier.- Specified by:
- deleteConfigurationin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteDbSystempublic DeleteDbSystemResponse deleteDbSystem(DeleteDbSystemRequest request) Description copied from interface:PostgresqlDeletes a database system by identifier.- Specified by:
- deleteDbSystemin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
failoverDbSystempublic FailoverDbSystemResponse failoverDbSystem(FailoverDbSystemRequest request) Description copied from interface:PostgresqlRuns a failover operation.Optionally, specify the desired AD for regions with three ADs. - Specified by:
- failoverDbSystemin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getBackuppublic GetBackupResponse getBackup(GetBackupRequest request) Description copied from interface:PostgresqlGets a backup by identifier.- Specified by:
- getBackupin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getConfigurationpublic GetConfigurationResponse getConfiguration(GetConfigurationRequest request) Description copied from interface:PostgresqlGets a configuration by identifier.- Specified by:
- getConfigurationin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getConnectionDetailspublic GetConnectionDetailsResponse getConnectionDetails(GetConnectionDetailsRequest request) Description copied from interface:PostgresqlGets the database system connection details.- Specified by:
- getConnectionDetailsin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getDbSystempublic GetDbSystemResponse getDbSystem(GetDbSystemRequest request) Description copied from interface:PostgresqlGets a database system by identifier.- Specified by:
- getDbSystemin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getDefaultConfigurationpublic GetDefaultConfigurationResponse getDefaultConfiguration(GetDefaultConfigurationRequest request) Description copied from interface:PostgresqlGets a default configuration by identifier.- Specified by:
- getDefaultConfigurationin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getPrimaryDbInstancepublic GetPrimaryDbInstanceResponse getPrimaryDbInstance(GetPrimaryDbInstanceRequest request) Description copied from interface:PostgresqlGets the primary database instance node details.- Specified by:
- getPrimaryDbInstancein interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWorkRequestpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) Description copied from interface:PostgresqlGets details of the work request with the given ID.- Specified by:
- getWorkRequestin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listBackupspublic ListBackupsResponse listBackups(ListBackupsRequest request) Description copied from interface:PostgresqlReturns a list of backups.- Specified by:
- listBackupsin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listConfigurationspublic ListConfigurationsResponse listConfigurations(ListConfigurationsRequest request) Description copied from interface:PostgresqlReturns a list of configurations.- Specified by:
- listConfigurationsin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listDbSystemspublic ListDbSystemsResponse listDbSystems(ListDbSystemsRequest request) Description copied from interface:PostgresqlReturns a list of database systems.- Specified by:
- listDbSystemsin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listDefaultConfigurationspublic ListDefaultConfigurationsResponse listDefaultConfigurations(ListDefaultConfigurationsRequest request) Description copied from interface:PostgresqlReturns a list of default configurations.- Specified by:
- listDefaultConfigurationsin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listShapespublic ListShapesResponse listShapes(ListShapesRequest request) Description copied from interface:PostgresqlReturns the list of shapes allowed in the region.- Specified by:
- listShapesin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestErrorspublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request) Description copied from interface:PostgresqlReturns a (paginated) list of errors for the work request with the given ID.- Specified by:
- listWorkRequestErrorsin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestLogspublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request) Description copied from interface:PostgresqlReturns a (paginated) list of logs for the work request with the given ID.- Specified by:
- listWorkRequestLogsin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestspublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request) Description copied from interface:PostgresqlLists the work requests in a compartment.- Specified by:
- listWorkRequestsin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
patchDbSystempublic PatchDbSystemResponse patchDbSystem(PatchDbSystemRequest request) Description copied from interface:PostgresqlModifies the database system by adding or removing database instance nodes.- Specified by:
- patchDbSystemin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
resetMasterUserPasswordpublic ResetMasterUserPasswordResponse resetMasterUserPassword(ResetMasterUserPasswordRequest request) Description copied from interface:PostgresqlResets the database system’s master password.- Specified by:
- resetMasterUserPasswordin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
restartDbInstanceInDbSystempublic RestartDbInstanceInDbSystemResponse restartDbInstanceInDbSystem(RestartDbInstanceInDbSystemRequest request) Description copied from interface:PostgresqlRestarts the running database instance node.- Specified by:
- restartDbInstanceInDbSystemin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
restoreDbSystempublic RestoreDbSystemResponse restoreDbSystem(RestoreDbSystemRequest request) Description copied from interface:PostgresqlRestore the database system.- Specified by:
- restoreDbSystemin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateBackuppublic UpdateBackupResponse updateBackup(UpdateBackupRequest request) Description copied from interface:PostgresqlUpdates the backup.- Specified by:
- updateBackupin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateConfigurationpublic UpdateConfigurationResponse updateConfiguration(UpdateConfigurationRequest request) Description copied from interface:PostgresqlUpdates a display name or description of the configuration.- Specified by:
- updateConfigurationin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateDbSystempublic UpdateDbSystemResponse updateDbSystem(UpdateDbSystemRequest request) Description copied from interface:PostgresqlUpdates the database system.- Specified by:
- updateDbSystemin interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateDbSystemDbInstancepublic UpdateDbSystemDbInstanceResponse updateDbSystemDbInstance(UpdateDbSystemDbInstanceRequest request) Description copied from interface:PostgresqlUpdates the database instance node.- Specified by:
- updateDbSystemDbInstancein interface- Postgresql
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWaiterspublic PostgresqlWaiters getWaiters() Description copied from interface:PostgresqlGets the pre-configured waiters available for resources for this service.- Specified by:
- getWaitersin interface- Postgresql
- Returns:
- The service waiters.
 
 - 
getPaginatorspublic PostgresqlPaginators getPaginators() Description copied from interface:PostgresqlGets 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 interface- Postgresql
- Returns:
- The service paginators.
 
 - 
getDefaultConfiguratorprotected ClientConfigurator getDefaultConfigurator() 
 - 
useRealmSpecificEndpointTemplatepublic 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
 
 - 
populateServiceParametersInEndpointpublic 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 use
- requiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
 
 - 
updateBaseEndpointpublic 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
 
 - 
setEndpointpublic final void setEndpoint(String endpoint) 
 - 
getEndpointpublic final String getEndpoint() 
 - 
refreshClientpublic final void refreshClient() Rebuild the backingHttpClient.This will call ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
 - 
closepublic final void close() - Specified by:
- closein interface- AutoCloseable
 
 - 
getClientCommonLibraryVersionpublic String getClientCommonLibraryVersion() 
 
- 
 
-