Package com.oracle.bmc.http.internal
Class BaseAsyncClient
- java.lang.Object
- 
- com.oracle.bmc.http.internal.BaseAsyncClient
 
- 
- All Implemented Interfaces:
- AutoCloseable
 - Direct Known Subclasses:
- AccessGovernanceCPAsyncClient,- AccessRequestsAsyncClient,- AccountAsyncClient,- AddressRuleServiceAsyncClient,- AddressServiceAsyncClient,- AiDataPlatformAsyncClient,- AIServiceDocumentAsyncClient,- AIServiceLanguageAsyncClient,- AIServiceSpeechAsyncClient,- AIServiceVisionAsyncClient,- AnalyticsAsyncClient,- AnnouncementAsyncClient,- AnnouncementsPreferencesAsyncClient,- AnnouncementSubscriptionAsyncClient,- ApiGatewayAsyncClient,- ApiMetadataAsyncClient,- ApiPlatformAsyncClient,- ApmDomainAsyncClient,- ApmSyntheticAsyncClient,- ApplicationDependencyManagementAsyncClient,- AppmgmtControlAsyncClient,- ArtifactsAsyncClient,- AttachmentAsyncClient,- AttributesAsyncClient,- AuditAsyncClient,- AutoScalingAsyncClient,- BastionAsyncClient,- BdsAsyncClient,- BillingScheduleAsyncClient,- BillingScheduleAsyncClient,- BlockchainPlatformAsyncClient,- BlockstorageAsyncClient,- BudgetAsyncClient,- CapacityManagementAsyncClient,- CertificatesAsyncClient,- CertificatesManagementAsyncClient,- ChannelsAsyncClient,- CloudGuardAsyncClient,- ClusterAsyncClient,- ClusterPlacementGroupsCPAsyncClient,- CommitmentAsyncClient,- CommitmentAsyncClient,- CommonAsyncClient,- ComputeAsyncClient,- ComputeCloudAtCustomerAsyncClient,- ComputedUsageAsyncClient,- ComputedUsageAsyncClient,- ComputeInstanceAgentAsyncClient,- ComputeManagementAsyncClient,- ConfigAsyncClient,- ConnectorPluginsAsyncClient,- ContainerEngineAsyncClient,- ContainerInstanceAsyncClient,- DashboardAsyncClient,- DashboardGroupAsyncClient,- DashxApisAsyncClient,- DatabaseAsyncClient,- DatabaseMigrationAsyncClient,- DatabaseRecoveryAsyncClient,- DatabaseToolsAsyncClient,- DataCatalogAsyncClient,- DataFlowAsyncClient,- DataIntegrationAsyncClient,- DataLabelingAsyncClient,- DataLabelingManagementAsyncClient,- DataplaneAsyncClient,- DataSafeAsyncClient,- DataScienceAsyncClient,- DatastoreAsyncClient,- DatastoreClusterAsyncClient,- DbBackupsAsyncClient,- DbLifeCycleManagementAsyncClient,- DbManagementAsyncClient,- DbMulticloudGCPProviderAsyncClient,- DbSystemAsyncClient,- DelegateAccessControlAsyncClient,- DemandSignalAsyncClient,- DeploymentAsyncClient,- DesktopServiceAsyncClient,- DevopsAsyncClient,- DiagnosabilityAsyncClient,- DisasterRecoveryAsyncClient,- DiscoveryAsyncClient,- DistributedAutonomousDbServiceAsyncClient,- DistributedDbPrivateEndpointServiceAsyncClient,- DistributedDbServiceAsyncClient,- DistributedDbWorkRequestServiceAsyncClient,- DnsAsyncClient,- DomainAsyncClient,- DomainGovernanceAsyncClient,- EkmAsyncClient,- EmailAsyncClient,- EmailDPAsyncClient,- EmWarehouseAsyncClient,- EsxiHostAsyncClient,- EventAsyncClient,- EventsAsyncClient,- FileStorageAsyncClient,- FleetAppsManagementAdminAsyncClient,- FleetAppsManagementAsyncClient,- FleetAppsManagementCatalogAsyncClient,- FleetAppsManagementMaintenanceWindowAsyncClient,- FleetAppsManagementOperationsAsyncClient,- FleetAppsManagementProvisionAsyncClient,- FleetAppsManagementRunbooksAsyncClient,- FleetAppsManagementWorkRequestAsyncClient,- FleetSoftwareUpdateAsyncClient,- FunctionsInvokeAsyncClient,- FunctionsManagementAsyncClient,- FusionApplicationsAsyncClient,- GatewayAsyncClient,- GenerativeAiAgentAsyncClient,- GenerativeAiAgentRuntimeAsyncClient,- GenerativeAiAsyncClient,- GenerativeAiInferenceAsyncClient,- GenericArtifactsContentAsyncClient,- GoldenGateAsyncClient,- GovernanceAsyncClient,- GovernanceRuleAsyncClient,- HealthChecksAsyncClient,- IdentityAsyncClient,- IdentityDomainsAsyncClient,- IncidentAsyncClient,- IntegrationInstanceAsyncClient,- InternalDemandSignalAsyncClient,- InventoryAsyncClient,- InvoiceServiceAsyncClient,- InvoiceSummaryAsyncClient,- IotAsyncClient,- JavaDownloadAsyncClient,- JavaManagementServiceAsyncClient,- JmsUtilsAsyncClient,- KafkaClusterAsyncClient,- KmsCryptoAsyncClient,- KmsHsmClusterAsyncClient,- KmsManagementAsyncClient,- KmsVaultAsyncClient,- LicenseManagerAsyncClient,- LifecycleEnvironmentAsyncClient,- LimitsAsyncClient,- LinkAsyncClient,- LoadBalancerAsyncClient,- LockboxAsyncClient,- LogAnalyticsAsyncClient,- LoggingAsyncClient,- LoggingManagementAsyncClient,- LogSearchAsyncClient,- LustreFileStorageAsyncClient,- MacDeviceAsyncClient,- MacOrderAsyncClient,- ManagedInstanceAsyncClient,- ManagedInstanceGroupAsyncClient,- ManagedMySqlDatabasesAsyncClient,- ManagementAgentAsyncClient,- ManagementAsyncClient,- ManagementStationAsyncClient,- MarketplaceAsyncClient,- MarketplacePublisherAsyncClient,- MediaServicesAsyncClient,- MediaStreamAsyncClient,- MetadataAsyncClient,- MigrationAsyncClient,- ModelDeploymentAsyncClient,- MonitoredRegionAsyncClient,- MonitoringAsyncClient,- MultiCloudResourceDiscoveryAsyncClient,- MultiCloudsMetadataAsyncClient,- MysqlaasAsyncClient,- NetworkFirewallAsyncClient,- NetworkLoadBalancerAsyncClient,- NosqlAsyncClient,- NotificationControlPlaneAsyncClient,- NotificationDataPlaneAsyncClient,- ObjectStorageAsyncClient,- OcbAgentSvcAsyncClient,- OccDemandSignalAsyncClient,- OccMetricsAsyncClient,- OceInstanceAsyncClient,- OciCacheConfigSetAsyncClient,- OciCacheDefaultConfigSetAsyncClient,- OciCacheUserAsyncClient,- OdaAsyncClient,- OdapackageAsyncClient,- OfferAsyncClient,- OmhubNetworkAnchorAsyncClient,- OmhubResourceAnchorAsyncClient,- OnboardingAsyncClient,- OpensearchClusterAsyncClient,- OpensearchClusterBackupAsyncClient,- OpensearchClusterPipelineAsyncClient,- OperationsInsightsAsyncClient,- OperatorActionsAsyncClient,- OperatorControlAssignmentAsyncClient,- OperatorControlAsyncClient,- OptimizerAsyncClient,- OracleDBAzureBlobContainerAsyncClient,- OracleDBAzureBlobMountAsyncClient,- OracleDBAzureConnectorAsyncClient,- OracleDbAzureKeyAsyncClient,- OracleDbAzureVaultAssociationAsyncClient,- OracleDbAzureVaultAsyncClient,- OrdersAsyncClient,- OrganizationAsyncClient,- OrganizationSubscriptionAsyncClient,- OrganizationSubscriptionAsyncClient,- PerfhubAsyncClient,- PluginAsyncClient,- PluginconfigAsyncClient,- PostgresqlAsyncClient,- PrivilegedApiControlAsyncClient,- PrivilegedApiRequestsAsyncClient,- PrivilegedApiWorkRequestAsyncClient,- QueryAsyncClient,- QueueAdminAsyncClient,- QueueAsyncClient,- QuotasAsyncClient,- RatecardAsyncClient,- RatecardAsyncClient,- RecipientInvitationAsyncClient,- RedirectAsyncClient,- RedisClusterAsyncClient,- RedisIdentityAsyncClient,- ReplicasAsyncClient,- ReportingManagedInstanceAsyncClient,- ResourceAnalyticsInstanceAsyncClient,- ResourceManagerAsyncClient,- ResourcesAsyncClient,- ResourceSearchAsyncClient,- RewardsAsyncClient,- RoverBundleAsyncClient,- RoverClusterAsyncClient,- RoverEntitlementAsyncClient,- RoverNodeAsyncClient,- ScheduleAsyncClient,- ScheduledJobAsyncClient,- ScheduledQueryAsyncClient,- SddcAsyncClient,- SecretsAsyncClient,- SecurityAttributeAsyncClient,- SenderInvitationAsyncClient,- ServiceAsyncClient,- ServiceCatalogAsyncClient,- ServiceConnectorAsyncClient,- ServiceManagerProxyAsyncClient,- ShapeAsyncClient,- ShardedDatabaseServiceAsyncClient,- SoftwareSourceAsyncClient,- SqlTuningAsyncClient,- StackMonitoringAsyncClient,- StreamAdminAsyncClient,- StreamAsyncClient,- SubscribedServiceAsyncClient,- SubscribersAsyncClient,- SubscriptionAsyncClient,- SubscriptionAsyncClient,- SubscriptionAsyncClient,- SubscriptionServiceAsyncClient,- TenancyAttachmentAsyncClient,- ThreatintelAsyncClient,- TraceAsyncClient,- UsageapiAsyncClient,- UsagelimitsAsyncClient,- UsagePlansAsyncClient,- VaultsAsyncClient,- VbInstanceAsyncClient,- VbsInstanceAsyncClient,- VirtualNetworkAsyncClient,- VnMonitoringAsyncClient,- VulnerabilityScanningAsyncClient,- WaaAsyncClient,- WaasAsyncClient,- WafAsyncClient,- WeblogicManagementServiceAsyncClient,- WeblogicManagementServiceConfigurationAsyncClient,- WorkRequestAsyncClient,- WorkRequestAsyncClient,- WorkRequestAsyncClient,- WorkRequestAsyncClient,- WorkRequestAsyncClient,- WorkRequestAsyncClient,- WorkRequestAsyncClient,- WorkRequestAsyncClient,- WorkRequestsAsyncClient,- WorkRequestsAsyncClient,- WorkRequestsAsyncClient,- ZprAsyncClient
 
 public class BaseAsyncClient extends Object implements AutoCloseable 
- 
- 
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.
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBaseAsyncClient(ClientBuilderBase<?,?> builder, AbstractAuthenticationDetailsProvider authenticationDetailsProvider)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>>
 ClientCall<REQ,RESP,RESP_BUILDER>clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)voidclose()StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()Optional<String>getMinimumClientCommonLibraryVersionFromClient()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.voidsetEndpoint(String endpoint)protected voidsetRegion(Region region)protected voidsetRegion(String regionId)voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.voiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.AutoCloseableclose
 
- 
 
- 
- 
- 
Field Detail- 
clientCommonLibraryVersionpublic final String clientCommonLibraryVersion Compatible SDK version, provided by the codegen.
 
- 
 - 
Constructor Detail- 
BaseAsyncClientprotected BaseAsyncClient(ClientBuilderBase<?,?> builder, AbstractAuthenticationDetailsProvider authenticationDetailsProvider) 
 
- 
 - 
Method Detail- 
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.
 - 
setRegionprotected void setRegion(Region region) 
 - 
setRegionprotected void setRegion(String regionId) 
 - 
closepublic final void close() - Specified by:
- closein interface- AutoCloseable
 
 - 
getClientCommonLibraryVersionpublic String getClientCommonLibraryVersion() 
 - 
getMinimumClientCommonLibraryVersionFromClientpublic Optional<String> getMinimumClientCommonLibraryVersionFromClient() 
 - 
clientCallprotected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder) 
 
- 
 
-