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 Summary
Nested Classes Modifier and Type Class Description static classPostgresqlClient.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 Postgresql.
-
Constructor Summary
Constructors 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 Summary
All 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.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.psql.Postgresql
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
PostgresqlClient
@Deprecated public PostgresqlClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seePostgresqlClient.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 (seePostgresqlClient.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 (seePostgresqlClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-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 (seePostgresqlClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-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 (seePostgresqlClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-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 (seePostgresqlClient.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)
-
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 (seePostgresqlClient.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
-
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 (seePostgresqlClient.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-PostgresqlClient.Builder.executorService
-
-
Method Detail
-
builder
public static PostgresqlClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public 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 interfacePostgresql- Parameters:
region- The region of the service.
-
setRegion
public 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 interfacePostgresql- Parameters:
regionId- The public region ID.
-
backupCopy
public 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 interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeBackupCompartment
public 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 interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeConfigurationCompartment
public 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 interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeDbSystemCompartment
public 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 interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createBackup
public CreateBackupResponse createBackup(CreateBackupRequest request)
Description copied from interface:PostgresqlCreates a new backup.- Specified by:
createBackupin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createConfiguration
public CreateConfigurationResponse createConfiguration(CreateConfigurationRequest request)
Description copied from interface:PostgresqlCreates a new configuration.- Specified by:
createConfigurationin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDbSystem
public CreateDbSystemResponse createDbSystem(CreateDbSystemRequest request)
Description copied from interface:PostgresqlCreates a new database system.- Specified by:
createDbSystemin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteBackup
public DeleteBackupResponse deleteBackup(DeleteBackupRequest request)
Description copied from interface:PostgresqlDeletes a backup by identifier.- Specified by:
deleteBackupin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteConfiguration
public DeleteConfigurationResponse deleteConfiguration(DeleteConfigurationRequest request)
Description copied from interface:PostgresqlDeletes a configuration by identifier.- Specified by:
deleteConfigurationin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDbSystem
public DeleteDbSystemResponse deleteDbSystem(DeleteDbSystemRequest request)
Description copied from interface:PostgresqlDeletes a database system by identifier.- Specified by:
deleteDbSystemin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
failoverDbSystem
public 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 interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getBackup
public GetBackupResponse getBackup(GetBackupRequest request)
Description copied from interface:PostgresqlGets a backup by identifier.- Specified by:
getBackupin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getConfiguration
public GetConfigurationResponse getConfiguration(GetConfigurationRequest request)
Description copied from interface:PostgresqlGets a configuration by identifier.- Specified by:
getConfigurationin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getConnectionDetails
public GetConnectionDetailsResponse getConnectionDetails(GetConnectionDetailsRequest request)
Description copied from interface:PostgresqlGets the database system connection details.- Specified by:
getConnectionDetailsin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDbSystem
public GetDbSystemResponse getDbSystem(GetDbSystemRequest request)
Description copied from interface:PostgresqlGets a database system by identifier.- Specified by:
getDbSystemin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDefaultConfiguration
public GetDefaultConfigurationResponse getDefaultConfiguration(GetDefaultConfigurationRequest request)
Description copied from interface:PostgresqlGets a default configuration by identifier.- Specified by:
getDefaultConfigurationin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPrimaryDbInstance
public GetPrimaryDbInstanceResponse getPrimaryDbInstance(GetPrimaryDbInstanceRequest request)
Description copied from interface:PostgresqlGets the primary database instance node details.- Specified by:
getPrimaryDbInstancein interfacePostgresql- 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:PostgresqlGets details of the work request with the given ID.- Specified by:
getWorkRequestin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listBackups
public ListBackupsResponse listBackups(ListBackupsRequest request)
Description copied from interface:PostgresqlReturns a list of backups.- Specified by:
listBackupsin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listConfigurations
public ListConfigurationsResponse listConfigurations(ListConfigurationsRequest request)
Description copied from interface:PostgresqlReturns a list of configurations.- Specified by:
listConfigurationsin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDbSystems
public ListDbSystemsResponse listDbSystems(ListDbSystemsRequest request)
Description copied from interface:PostgresqlReturns a list of database systems.- Specified by:
listDbSystemsin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDefaultConfigurations
public ListDefaultConfigurationsResponse listDefaultConfigurations(ListDefaultConfigurationsRequest request)
Description copied from interface:PostgresqlReturns a list of default configurations.- Specified by:
listDefaultConfigurationsin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listShapes
public ListShapesResponse listShapes(ListShapesRequest request)
Description copied from interface:PostgresqlReturns the list of shapes allowed in the region.- Specified by:
listShapesin interfacePostgresql- 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:PostgresqlReturns a (paginated) list of errors for the work request with the given ID.- Specified by:
listWorkRequestErrorsin interfacePostgresql- 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:PostgresqlReturns a (paginated) list of logs for the work request with the given ID.- Specified by:
listWorkRequestLogsin interfacePostgresql- 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:PostgresqlLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
patchDbSystem
public PatchDbSystemResponse patchDbSystem(PatchDbSystemRequest request)
Description copied from interface:PostgresqlModifies the database system by adding or removing database instance nodes.- Specified by:
patchDbSystemin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
resetMasterUserPassword
public ResetMasterUserPasswordResponse resetMasterUserPassword(ResetMasterUserPasswordRequest request)
Description copied from interface:PostgresqlResets the database system’s master password.- Specified by:
resetMasterUserPasswordin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
restartDbInstanceInDbSystem
public RestartDbInstanceInDbSystemResponse restartDbInstanceInDbSystem(RestartDbInstanceInDbSystemRequest request)
Description copied from interface:PostgresqlRestarts the running database instance node.- Specified by:
restartDbInstanceInDbSystemin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
restoreDbSystem
public RestoreDbSystemResponse restoreDbSystem(RestoreDbSystemRequest request)
Description copied from interface:PostgresqlRestore the database system.- Specified by:
restoreDbSystemin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateBackup
public UpdateBackupResponse updateBackup(UpdateBackupRequest request)
Description copied from interface:PostgresqlUpdates the backup.- Specified by:
updateBackupin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateConfiguration
public UpdateConfigurationResponse updateConfiguration(UpdateConfigurationRequest request)
Description copied from interface:PostgresqlUpdates a display name or description of the configuration.- Specified by:
updateConfigurationin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDbSystem
public UpdateDbSystemResponse updateDbSystem(UpdateDbSystemRequest request)
Description copied from interface:PostgresqlUpdates the database system.- Specified by:
updateDbSystemin interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDbSystemDbInstance
public UpdateDbSystemDbInstanceResponse updateDbSystemDbInstance(UpdateDbSystemDbInstanceRequest request)
Description copied from interface:PostgresqlUpdates the database instance node.- Specified by:
updateDbSystemDbInstancein interfacePostgresql- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public PostgresqlWaiters getWaiters()
Description copied from interface:PostgresqlGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfacePostgresql- Returns:
- The service waiters.
-
getPaginators
public 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 interfacePostgresql- 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()
-
-