Class BdsAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.bds.BdsAsyncClient
-
- All Implemented Interfaces:
BdsAsync,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20190531") public class BdsAsyncClient extends BaseAsyncClient implements BdsAsyncAsync client implementation for Bds service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response to the call is anInputStream, like getObject Api in object storage service, developers need to process the stream in AsyncHandler, and not anywhere else, because the stream will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine whether or not the request was completed via Future.isDone/isCancelled.
Please refer to https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBdsAsyncClient.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 Bds.
-
Constructor Summary
Constructors Constructor Description BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.BdsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.BdsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.BdsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
-
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.bds.BdsAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
BdsAsyncClient
@Deprecated public BdsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeBdsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
BdsAsyncClient
@Deprecated public BdsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeBdsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
BdsAsyncClient
@Deprecated public BdsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeBdsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
BdsAsyncClient
@Deprecated public BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeBdsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
BdsAsyncClient
@Deprecated public BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeBdsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
BdsAsyncClient
@Deprecated public BdsAsyncClient(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 (seeBdsAsyncClient.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)
-
BdsAsyncClient
@Deprecated public BdsAsyncClient(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 (seeBdsAsyncClient.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
-
-
Method Detail
-
builder
public static BdsAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:BdsAsyncSets 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.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:BdsAsyncSets 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.
-
activateBdsMetastoreConfiguration
public Future<ActivateBdsMetastoreConfigurationResponse> activateBdsMetastoreConfiguration(ActivateBdsMetastoreConfigurationRequest request, AsyncHandler<ActivateBdsMetastoreConfigurationRequest,ActivateBdsMetastoreConfigurationResponse> handler)
Description copied from interface:BdsAsyncActivate specified metastore configuration.- Specified by:
activateBdsMetastoreConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
activateIamUserSyncConfiguration
public Future<ActivateIamUserSyncConfigurationResponse> activateIamUserSyncConfiguration(ActivateIamUserSyncConfigurationRequest request, AsyncHandler<ActivateIamUserSyncConfigurationRequest,ActivateIamUserSyncConfigurationResponse> handler)
Description copied from interface:BdsAsyncActivate IAM user sync configuration for the given identity configuration- Specified by:
activateIamUserSyncConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
activateUpstConfiguration
public Future<ActivateUpstConfigurationResponse> activateUpstConfiguration(ActivateUpstConfigurationRequest request, AsyncHandler<ActivateUpstConfigurationRequest,ActivateUpstConfigurationResponse> handler)
Description copied from interface:BdsAsyncActivate UPST configuration for the given identity configuration- Specified by:
activateUpstConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addAutoScalingConfiguration
public Future<AddAutoScalingConfigurationResponse> addAutoScalingConfiguration(AddAutoScalingConfigurationRequest request, AsyncHandler<AddAutoScalingConfigurationRequest,AddAutoScalingConfigurationResponse> handler)
Description copied from interface:BdsAsyncAdd an autoscale configuration to the cluster.- Specified by:
addAutoScalingConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addBlockStorage
public Future<AddBlockStorageResponse> addBlockStorage(AddBlockStorageRequest request, AsyncHandler<AddBlockStorageRequest,AddBlockStorageResponse> handler)
Description copied from interface:BdsAsyncAdds block storage to existing worker/compute only worker nodes.The same amount of storage will be added to all worker/compute only worker nodes. No change will be made to storage that is already attached. Block storage cannot be removed.
- Specified by:
addBlockStoragein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addCloudSql
public Future<AddCloudSqlResponse> addCloudSql(AddCloudSqlRequest request, AsyncHandler<AddCloudSqlRequest,AddCloudSqlResponse> handler)
Description copied from interface:BdsAsyncAdds Cloud SQL to your cluster.You can use Cloud SQL to query against non-relational data stored in multiple big data sources, including Apache Hive, HDFS, Oracle NoSQL Database, and Apache HBase. Adding Cloud SQL adds a query server node to the cluster and creates cell servers on all the worker nodes in the cluster.
- Specified by:
addCloudSqlin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addKafka
public Future<AddKafkaResponse> addKafka(AddKafkaRequest request, AsyncHandler<AddKafkaRequest,AddKafkaResponse> handler)
Description copied from interface:BdsAsyncAdds Kafka to a cluster.- Specified by:
addKafkain interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addMasterNodes
public Future<AddMasterNodesResponse> addMasterNodes(AddMasterNodesRequest request, AsyncHandler<AddMasterNodesRequest,AddMasterNodesResponse> handler)
Description copied from interface:BdsAsyncIncreases the size (scales out) of a cluster by adding master nodes.The added master nodes will have the same shape and will have the same amount of attached block storage as other master nodes in the cluster.
- Specified by:
addMasterNodesin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addUtilityNodes
public Future<AddUtilityNodesResponse> addUtilityNodes(AddUtilityNodesRequest request, AsyncHandler<AddUtilityNodesRequest,AddUtilityNodesResponse> handler)
Description copied from interface:BdsAsyncIncreases the size (scales out) of a cluster by adding utility nodes.The added utility nodes will have the same shape and will have the same amount of attached block storage as other utility nodes in the cluster.
- Specified by:
addUtilityNodesin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addWorkerNodes
public Future<AddWorkerNodesResponse> addWorkerNodes(AddWorkerNodesRequest request, AsyncHandler<AddWorkerNodesRequest,AddWorkerNodesResponse> handler)
Description copied from interface:BdsAsyncIncreases the size (scales out) a cluster by adding worker nodes(data/compute).The added worker nodes will have the same shape and will have the same amount of attached block storage as other worker nodes in the cluster.
- Specified by:
addWorkerNodesin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
backupNode
public Future<BackupNodeResponse> backupNode(BackupNodeRequest request, AsyncHandler<BackupNodeRequest,BackupNodeResponse> handler)
Description copied from interface:BdsAsyncTakes a backup of of given nodes.- Specified by:
backupNodein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
certificateServiceInfo
public Future<CertificateServiceInfoResponse> certificateServiceInfo(CertificateServiceInfoRequest request, AsyncHandler<CertificateServiceInfoRequest,CertificateServiceInfoResponse> handler)
Description copied from interface:BdsAsyncA list of services and their certificate details.- Specified by:
certificateServiceInfoin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeBdsInstanceCompartment
public Future<ChangeBdsInstanceCompartmentResponse> changeBdsInstanceCompartment(ChangeBdsInstanceCompartmentRequest request, AsyncHandler<ChangeBdsInstanceCompartmentRequest,ChangeBdsInstanceCompartmentResponse> handler)
Description copied from interface:BdsAsyncMoves a Big Data Service cluster into a different compartment.- Specified by:
changeBdsInstanceCompartmentin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeShape
public Future<ChangeShapeResponse> changeShape(ChangeShapeRequest request, AsyncHandler<ChangeShapeRequest,ChangeShapeResponse> handler)
Description copied from interface:BdsAsyncChanges the size of a cluster by scaling up or scaling down the nodes.Nodes are scaled up or down by changing the shapes of all the nodes of the same type to the next larger or smaller shape. The node types are master, utility, worker, and Cloud SQL. Only nodes with VM-STANDARD shapes can be scaled.
- Specified by:
changeShapein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createBdsApiKey
public Future<CreateBdsApiKeyResponse> createBdsApiKey(CreateBdsApiKeyRequest request, AsyncHandler<CreateBdsApiKeyRequest,CreateBdsApiKeyResponse> handler)
Description copied from interface:BdsAsyncCreate an API key on behalf of the specified user.- Specified by:
createBdsApiKeyin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createBdsCapacityReport
public Future<CreateBdsCapacityReportResponse> createBdsCapacityReport(CreateBdsCapacityReportRequest request, AsyncHandler<CreateBdsCapacityReportRequest,CreateBdsCapacityReportResponse> handler)
Description copied from interface:BdsAsyncCreate a detailed capacity report for BDS service- Specified by:
createBdsCapacityReportin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createBdsInstance
public Future<CreateBdsInstanceResponse> createBdsInstance(CreateBdsInstanceRequest request, AsyncHandler<CreateBdsInstanceRequest,CreateBdsInstanceResponse> handler)
Description copied from interface:BdsAsyncCreates a Big Data Service cluster.- Specified by:
createBdsInstancein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createBdsMetastoreConfiguration
public Future<CreateBdsMetastoreConfigurationResponse> createBdsMetastoreConfiguration(CreateBdsMetastoreConfigurationRequest request, AsyncHandler<CreateBdsMetastoreConfigurationRequest,CreateBdsMetastoreConfigurationResponse> handler)
Description copied from interface:BdsAsyncCreate and activate external metastore configuration.- Specified by:
createBdsMetastoreConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createIdentityConfiguration
public Future<CreateIdentityConfigurationResponse> createIdentityConfiguration(CreateIdentityConfigurationRequest request, AsyncHandler<CreateIdentityConfigurationRequest,CreateIdentityConfigurationResponse> handler)
Description copied from interface:BdsAsyncCreate an identity configuration for the cluster- Specified by:
createIdentityConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createNodeBackupConfiguration
public Future<CreateNodeBackupConfigurationResponse> createNodeBackupConfiguration(CreateNodeBackupConfigurationRequest request, AsyncHandler<CreateNodeBackupConfigurationRequest,CreateNodeBackupConfigurationResponse> handler)
Description copied from interface:BdsAsyncAdd a node volume backup configuration to the cluster for an indicated node type or node.- Specified by:
createNodeBackupConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createNodeReplaceConfiguration
public Future<CreateNodeReplaceConfigurationResponse> createNodeReplaceConfiguration(CreateNodeReplaceConfigurationRequest request, AsyncHandler<CreateNodeReplaceConfigurationRequest,CreateNodeReplaceConfigurationResponse> handler)
Description copied from interface:BdsAsyncAdd a nodeReplaceConfigurations to the cluster.- Specified by:
createNodeReplaceConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createResourcePrincipalConfiguration
public Future<CreateResourcePrincipalConfigurationResponse> createResourcePrincipalConfiguration(CreateResourcePrincipalConfigurationRequest request, AsyncHandler<CreateResourcePrincipalConfigurationRequest,CreateResourcePrincipalConfigurationResponse> handler)
Description copied from interface:BdsAsyncCreate a resource principal session token configuration.- Specified by:
createResourcePrincipalConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deactivateIamUserSyncConfiguration
public Future<DeactivateIamUserSyncConfigurationResponse> deactivateIamUserSyncConfiguration(DeactivateIamUserSyncConfigurationRequest request, AsyncHandler<DeactivateIamUserSyncConfigurationRequest,DeactivateIamUserSyncConfigurationResponse> handler)
Description copied from interface:BdsAsyncDeactivate the IAM user sync configuration.- Specified by:
deactivateIamUserSyncConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deactivateUpstConfiguration
public Future<DeactivateUpstConfigurationResponse> deactivateUpstConfiguration(DeactivateUpstConfigurationRequest request, AsyncHandler<DeactivateUpstConfigurationRequest,DeactivateUpstConfigurationResponse> handler)
Description copied from interface:BdsAsyncDeactivate the UPST configuration represented by the provided ID.- Specified by:
deactivateUpstConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteBdsApiKey
public Future<DeleteBdsApiKeyResponse> deleteBdsApiKey(DeleteBdsApiKeyRequest request, AsyncHandler<DeleteBdsApiKeyRequest,DeleteBdsApiKeyResponse> handler)
Description copied from interface:BdsAsyncDeletes the user’s API key represented by the provided ID.- Specified by:
deleteBdsApiKeyin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteBdsInstance
public Future<DeleteBdsInstanceResponse> deleteBdsInstance(DeleteBdsInstanceRequest request, AsyncHandler<DeleteBdsInstanceRequest,DeleteBdsInstanceResponse> handler)
Description copied from interface:BdsAsyncDeletes the cluster identified by the given ID.- Specified by:
deleteBdsInstancein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteBdsMetastoreConfiguration
public Future<DeleteBdsMetastoreConfigurationResponse> deleteBdsMetastoreConfiguration(DeleteBdsMetastoreConfigurationRequest request, AsyncHandler<DeleteBdsMetastoreConfigurationRequest,DeleteBdsMetastoreConfigurationResponse> handler)
Description copied from interface:BdsAsyncDelete the BDS metastore configuration represented by the provided ID.- Specified by:
deleteBdsMetastoreConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteIdentityConfiguration
public Future<DeleteIdentityConfigurationResponse> deleteIdentityConfiguration(DeleteIdentityConfigurationRequest request, AsyncHandler<DeleteIdentityConfigurationRequest,DeleteIdentityConfigurationResponse> handler)
Description copied from interface:BdsAsyncDelete the identity configuration represented by the provided ID.Deletion is only allowed if this identity configuration is not associated with any active IAM user sync configuration or UPST configuration.
- Specified by:
deleteIdentityConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteNodeBackup
public Future<DeleteNodeBackupResponse> deleteNodeBackup(DeleteNodeBackupRequest request, AsyncHandler<DeleteNodeBackupRequest,DeleteNodeBackupResponse> handler)
Description copied from interface:BdsAsyncDelete the NodeBackup represented by the provided ID.- Specified by:
deleteNodeBackupin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteNodeBackupConfiguration
public Future<DeleteNodeBackupConfigurationResponse> deleteNodeBackupConfiguration(DeleteNodeBackupConfigurationRequest request, AsyncHandler<DeleteNodeBackupConfigurationRequest,DeleteNodeBackupConfigurationResponse> handler)
Description copied from interface:BdsAsyncDelete the NodeBackupConfiguration represented by the provided ID.- Specified by:
deleteNodeBackupConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
disableCertificate
public Future<DisableCertificateResponse> disableCertificate(DisableCertificateRequest request, AsyncHandler<DisableCertificateRequest,DisableCertificateResponse> handler)
Description copied from interface:BdsAsyncDisabling TLS/SSL for various ODH services running on the BDS cluster.- Specified by:
disableCertificatein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
enableCertificate
public Future<EnableCertificateResponse> enableCertificate(EnableCertificateRequest request, AsyncHandler<EnableCertificateRequest,EnableCertificateResponse> handler)
Description copied from interface:BdsAsyncConfiguring TLS/SSL for various ODH services running on the BDS cluster.- Specified by:
enableCertificatein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
executeBootstrapScript
public Future<ExecuteBootstrapScriptResponse> executeBootstrapScript(ExecuteBootstrapScriptRequest request, AsyncHandler<ExecuteBootstrapScriptRequest,ExecuteBootstrapScriptResponse> handler)
Description copied from interface:BdsAsyncExecute bootstrap script.- Specified by:
executeBootstrapScriptin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
forceRefreshResourcePrincipal
public Future<ForceRefreshResourcePrincipalResponse> forceRefreshResourcePrincipal(ForceRefreshResourcePrincipalRequest request, AsyncHandler<ForceRefreshResourcePrincipalRequest,ForceRefreshResourcePrincipalResponse> handler)
Description copied from interface:BdsAsyncForce Refresh Resource Principal for the cluster.- Specified by:
forceRefreshResourcePrincipalin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getAutoScalingConfiguration
public Future<GetAutoScalingConfigurationResponse> getAutoScalingConfiguration(GetAutoScalingConfigurationRequest request, AsyncHandler<GetAutoScalingConfigurationRequest,GetAutoScalingConfigurationResponse> handler)
Description copied from interface:BdsAsyncReturns details of the autoscale configuration identified by the given ID.- Specified by:
getAutoScalingConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getBdsApiKey
public Future<GetBdsApiKeyResponse> getBdsApiKey(GetBdsApiKeyRequest request, AsyncHandler<GetBdsApiKeyRequest,GetBdsApiKeyResponse> handler)
Description copied from interface:BdsAsyncReturns the user’s API key information for the given ID.- Specified by:
getBdsApiKeyin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getBdsInstance
public Future<GetBdsInstanceResponse> getBdsInstance(GetBdsInstanceRequest request, AsyncHandler<GetBdsInstanceRequest,GetBdsInstanceResponse> handler)
Description copied from interface:BdsAsyncReturns information about the Big Data Service cluster identified by the given ID.- Specified by:
getBdsInstancein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getBdsMetastoreConfiguration
public Future<GetBdsMetastoreConfigurationResponse> getBdsMetastoreConfiguration(GetBdsMetastoreConfigurationRequest request, AsyncHandler<GetBdsMetastoreConfigurationRequest,GetBdsMetastoreConfigurationResponse> handler)
Description copied from interface:BdsAsyncReturns the BDS Metastore configuration information for the given ID.- Specified by:
getBdsMetastoreConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getIdentityConfiguration
public Future<GetIdentityConfigurationResponse> getIdentityConfiguration(GetIdentityConfigurationRequest request, AsyncHandler<GetIdentityConfigurationRequest,GetIdentityConfigurationResponse> handler)
Description copied from interface:BdsAsyncGet details of one identity config on the cluster- Specified by:
getIdentityConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getNodeBackup
public Future<GetNodeBackupResponse> getNodeBackup(GetNodeBackupRequest request, AsyncHandler<GetNodeBackupRequest,GetNodeBackupResponse> handler)
Description copied from interface:BdsAsyncReturns details of NodeBackup identified by the given ID.- Specified by:
getNodeBackupin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getNodeBackupConfiguration
public Future<GetNodeBackupConfigurationResponse> getNodeBackupConfiguration(GetNodeBackupConfigurationRequest request, AsyncHandler<GetNodeBackupConfigurationRequest,GetNodeBackupConfigurationResponse> handler)
Description copied from interface:BdsAsyncReturns details of the NodeBackupConfiguration identified by the given ID.- Specified by:
getNodeBackupConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getNodeReplaceConfiguration
public Future<GetNodeReplaceConfigurationResponse> getNodeReplaceConfiguration(GetNodeReplaceConfigurationRequest request, AsyncHandler<GetNodeReplaceConfigurationRequest,GetNodeReplaceConfigurationResponse> handler)
Description copied from interface:BdsAsyncReturns details of the nodeReplaceConfiguration identified by the given ID.- Specified by:
getNodeReplaceConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getOsPatchDetails
public Future<GetOsPatchDetailsResponse> getOsPatchDetails(GetOsPatchDetailsRequest request, AsyncHandler<GetOsPatchDetailsRequest,GetOsPatchDetailsResponse> handler)
Description copied from interface:BdsAsyncGet the details of an os patch- Specified by:
getOsPatchDetailsin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getResourcePrincipalConfiguration
public Future<GetResourcePrincipalConfigurationResponse> getResourcePrincipalConfiguration(GetResourcePrincipalConfigurationRequest request, AsyncHandler<GetResourcePrincipalConfigurationRequest,GetResourcePrincipalConfigurationResponse> handler)
Description copied from interface:BdsAsyncReturns details of the resourcePrincipalConfiguration identified by the given ID.- Specified by:
getResourcePrincipalConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getSoftwareUpdate
public Future<GetSoftwareUpdateResponse> getSoftwareUpdate(GetSoftwareUpdateRequest request, AsyncHandler<GetSoftwareUpdateRequest,GetSoftwareUpdateResponse> handler)
Description copied from interface:BdsAsyncGet the details of the software update of the given SoftwareUpdateId- Specified by:
getSoftwareUpdatein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWorkRequest
public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Description copied from interface:BdsAsyncReturns the status of the work request identified by the given ID.- Specified by:
getWorkRequestin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
installOsPatch
public Future<InstallOsPatchResponse> installOsPatch(InstallOsPatchRequest request, AsyncHandler<InstallOsPatchRequest,InstallOsPatchResponse> handler)
Description copied from interface:BdsAsyncInstall an os patch on a cluster- Specified by:
installOsPatchin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
installPatch
public Future<InstallPatchResponse> installPatch(InstallPatchRequest request, AsyncHandler<InstallPatchRequest,InstallPatchResponse> handler)
Description copied from interface:BdsAsyncInstall the specified patch to this cluster.- Specified by:
installPatchin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
installSoftwareUpdates
public Future<InstallSoftwareUpdatesResponse> installSoftwareUpdates(InstallSoftwareUpdatesRequest request, AsyncHandler<InstallSoftwareUpdatesRequest,InstallSoftwareUpdatesResponse> handler)
Description copied from interface:BdsAsyncInstall the specified software update to this cluster.- Specified by:
installSoftwareUpdatesin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listAutoScalingConfigurations
public Future<ListAutoScalingConfigurationsResponse> listAutoScalingConfigurations(ListAutoScalingConfigurationsRequest request, AsyncHandler<ListAutoScalingConfigurationsRequest,ListAutoScalingConfigurationsResponse> handler)
Description copied from interface:BdsAsyncReturns information about the autoscaling configurations for a cluster.- Specified by:
listAutoScalingConfigurationsin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listBdsApiKeys
public Future<ListBdsApiKeysResponse> listBdsApiKeys(ListBdsApiKeysRequest request, AsyncHandler<ListBdsApiKeysRequest,ListBdsApiKeysResponse> handler)
Description copied from interface:BdsAsyncReturns a list of all API keys associated with this Big Data Service cluster.- Specified by:
listBdsApiKeysin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listBdsClusterVersions
public Future<ListBdsClusterVersionsResponse> listBdsClusterVersions(ListBdsClusterVersionsRequest request, AsyncHandler<ListBdsClusterVersionsRequest,ListBdsClusterVersionsResponse> handler)
Description copied from interface:BdsAsyncReturns a list of cluster versions with associated odh and bds versions.- Specified by:
listBdsClusterVersionsin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listBdsInstances
public Future<ListBdsInstancesResponse> listBdsInstances(ListBdsInstancesRequest request, AsyncHandler<ListBdsInstancesRequest,ListBdsInstancesResponse> handler)
Description copied from interface:BdsAsyncReturns a list of all Big Data Service clusters in a compartment.- Specified by:
listBdsInstancesin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listBdsMetastoreConfigurations
public Future<ListBdsMetastoreConfigurationsResponse> listBdsMetastoreConfigurations(ListBdsMetastoreConfigurationsRequest request, AsyncHandler<ListBdsMetastoreConfigurationsRequest,ListBdsMetastoreConfigurationsResponse> handler)
Description copied from interface:BdsAsyncReturns a list of metastore configurations ssociated with this Big Data Service cluster.- Specified by:
listBdsMetastoreConfigurationsin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listIdentityConfigurations
public Future<ListIdentityConfigurationsResponse> listIdentityConfigurations(ListIdentityConfigurationsRequest request, AsyncHandler<ListIdentityConfigurationsRequest,ListIdentityConfigurationsResponse> handler)
Description copied from interface:BdsAsyncReturns a list of all identity configurations associated with this Big Data Service cluster.- Specified by:
listIdentityConfigurationsin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNodeBackupConfigurations
public Future<ListNodeBackupConfigurationsResponse> listNodeBackupConfigurations(ListNodeBackupConfigurationsRequest request, AsyncHandler<ListNodeBackupConfigurationsRequest,ListNodeBackupConfigurationsResponse> handler)
Description copied from interface:BdsAsyncReturns information about the NodeBackupConfigurations.- Specified by:
listNodeBackupConfigurationsin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNodeBackups
public Future<ListNodeBackupsResponse> listNodeBackups(ListNodeBackupsRequest request, AsyncHandler<ListNodeBackupsRequest,ListNodeBackupsResponse> handler)
Description copied from interface:BdsAsyncReturns information about the node Backups.- Specified by:
listNodeBackupsin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNodeReplaceConfigurations
public Future<ListNodeReplaceConfigurationsResponse> listNodeReplaceConfigurations(ListNodeReplaceConfigurationsRequest request, AsyncHandler<ListNodeReplaceConfigurationsRequest,ListNodeReplaceConfigurationsResponse> handler)
Description copied from interface:BdsAsyncReturns information about the NodeReplaceConfiguration.- Specified by:
listNodeReplaceConfigurationsin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listOsPatches
public Future<ListOsPatchesResponse> listOsPatches(ListOsPatchesRequest request, AsyncHandler<ListOsPatchesRequest,ListOsPatchesResponse> handler)
Description copied from interface:BdsAsyncList all available os patches for a given cluster- Specified by:
listOsPatchesin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPatchHistories
public Future<ListPatchHistoriesResponse> listPatchHistories(ListPatchHistoriesRequest request, AsyncHandler<ListPatchHistoriesRequest,ListPatchHistoriesResponse> handler)
Description copied from interface:BdsAsyncList the patch history of this cluster.- Specified by:
listPatchHistoriesin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPatches
public Future<ListPatchesResponse> listPatches(ListPatchesRequest request, AsyncHandler<ListPatchesRequest,ListPatchesResponse> handler)
Description copied from interface:BdsAsyncList all the available patches for this cluster.- Specified by:
listPatchesin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listResourcePrincipalConfigurations
public Future<ListResourcePrincipalConfigurationsResponse> listResourcePrincipalConfigurations(ListResourcePrincipalConfigurationsRequest request, AsyncHandler<ListResourcePrincipalConfigurationsRequest,ListResourcePrincipalConfigurationsResponse> handler)
Description copied from interface:BdsAsyncReturns information about the ResourcePrincipalConfiguration.- Specified by:
listResourcePrincipalConfigurationsin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSoftwareUpdates
public Future<ListSoftwareUpdatesResponse> listSoftwareUpdates(ListSoftwareUpdatesRequest request, AsyncHandler<ListSoftwareUpdatesRequest,ListSoftwareUpdatesResponse> handler)
Description copied from interface:BdsAsyncList all the available software updates for current cluster.- Specified by:
listSoftwareUpdatesin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestErrors
public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Description copied from interface:BdsAsyncReturns a paginated list of errors for a work request identified by the given ID.- Specified by:
listWorkRequestErrorsin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestLogs
public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Description copied from interface:BdsAsyncReturns a paginated list of logs for a given work request.- Specified by:
listWorkRequestLogsin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequests
public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Description copied from interface:BdsAsyncLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
refreshConfidentialApplication
public Future<RefreshConfidentialApplicationResponse> refreshConfidentialApplication(RefreshConfidentialApplicationRequest request, AsyncHandler<RefreshConfidentialApplicationRequest,RefreshConfidentialApplicationResponse> handler)
Description copied from interface:BdsAsyncRefresh confidential application for the given identity configuration in case of any update to the confidential application (e.g.regenerated client secret)
- Specified by:
refreshConfidentialApplicationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
refreshUpstTokenExchangeKeytab
public Future<RefreshUpstTokenExchangeKeytabResponse> refreshUpstTokenExchangeKeytab(RefreshUpstTokenExchangeKeytabRequest request, AsyncHandler<RefreshUpstTokenExchangeKeytabRequest,RefreshUpstTokenExchangeKeytabResponse> handler)
Description copied from interface:BdsAsyncRefresh token exchange kerberos principal keytab for the UPST enabled identity configuration- Specified by:
refreshUpstTokenExchangeKeytabin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeAutoScalingConfiguration
public Future<RemoveAutoScalingConfigurationResponse> removeAutoScalingConfiguration(RemoveAutoScalingConfigurationRequest request, AsyncHandler<RemoveAutoScalingConfigurationRequest,RemoveAutoScalingConfigurationResponse> handler)
Description copied from interface:BdsAsyncDeletes an autoscale configuration.- Specified by:
removeAutoScalingConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeCloudSql
public Future<RemoveCloudSqlResponse> removeCloudSql(RemoveCloudSqlRequest request, AsyncHandler<RemoveCloudSqlRequest,RemoveCloudSqlResponse> handler)
Description copied from interface:BdsAsyncRemoves Cloud SQL from the cluster.- Specified by:
removeCloudSqlin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeKafka
public Future<RemoveKafkaResponse> removeKafka(RemoveKafkaRequest request, AsyncHandler<RemoveKafkaRequest,RemoveKafkaResponse> handler)
Description copied from interface:BdsAsyncRemove Kafka from the cluster.- Specified by:
removeKafkain interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeNode
public Future<RemoveNodeResponse> removeNode(RemoveNodeRequest request, AsyncHandler<RemoveNodeRequest,RemoveNodeResponse> handler)
Description copied from interface:BdsAsyncRemove a single node of a Big Data Service cluster- Specified by:
removeNodein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeNodeReplaceConfiguration
public Future<RemoveNodeReplaceConfigurationResponse> removeNodeReplaceConfiguration(RemoveNodeReplaceConfigurationRequest request, AsyncHandler<RemoveNodeReplaceConfigurationRequest,RemoveNodeReplaceConfigurationResponse> handler)
Description copied from interface:BdsAsyncDeletes a nodeReplaceConfiguration- Specified by:
removeNodeReplaceConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeResourcePrincipalConfiguration
public Future<RemoveResourcePrincipalConfigurationResponse> removeResourcePrincipalConfiguration(RemoveResourcePrincipalConfigurationRequest request, AsyncHandler<RemoveResourcePrincipalConfigurationRequest,RemoveResourcePrincipalConfigurationResponse> handler)
Description copied from interface:BdsAsyncDelete the resource principal configuration for the cluster.- Specified by:
removeResourcePrincipalConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
renewCertificate
public Future<RenewCertificateResponse> renewCertificate(RenewCertificateRequest request, AsyncHandler<RenewCertificateRequest,RenewCertificateResponse> handler)
Description copied from interface:BdsAsyncRenewing TLS/SSL for various ODH services running on the BDS cluster.- Specified by:
renewCertificatein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
replaceNode
public Future<ReplaceNodeResponse> replaceNode(ReplaceNodeRequest request, AsyncHandler<ReplaceNodeRequest,ReplaceNodeResponse> handler)
Description copied from interface:BdsAsyncReplaces a node of a Big Data Service cluster from backup.- Specified by:
replaceNodein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
restartNode
public Future<RestartNodeResponse> restartNode(RestartNodeRequest request, AsyncHandler<RestartNodeRequest,RestartNodeResponse> handler)
Description copied from interface:BdsAsyncRestarts a single node of a Big Data Service cluster- Specified by:
restartNodein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
startBdsInstance
public Future<StartBdsInstanceResponse> startBdsInstance(StartBdsInstanceRequest request, AsyncHandler<StartBdsInstanceRequest,StartBdsInstanceResponse> handler)
Description copied from interface:BdsAsyncStarts the BDS cluster that was stopped earlier.- Specified by:
startBdsInstancein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
stopBdsInstance
public Future<StopBdsInstanceResponse> stopBdsInstance(StopBdsInstanceRequest request, AsyncHandler<StopBdsInstanceRequest,StopBdsInstanceResponse> handler)
Description copied from interface:BdsAsyncStops the BDS cluster that can be started at later point of time.- Specified by:
stopBdsInstancein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
testBdsMetastoreConfiguration
public Future<TestBdsMetastoreConfigurationResponse> testBdsMetastoreConfiguration(TestBdsMetastoreConfigurationRequest request, AsyncHandler<TestBdsMetastoreConfigurationRequest,TestBdsMetastoreConfigurationResponse> handler)
Description copied from interface:BdsAsyncTest specified metastore configuration.- Specified by:
testBdsMetastoreConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
testBdsObjectStorageConnection
public Future<TestBdsObjectStorageConnectionResponse> testBdsObjectStorageConnection(TestBdsObjectStorageConnectionRequest request, AsyncHandler<TestBdsObjectStorageConnectionRequest,TestBdsObjectStorageConnectionResponse> handler)
Description copied from interface:BdsAsyncTest access to specified Object Storage bucket using the API key.- Specified by:
testBdsObjectStorageConnectionin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateAutoScalingConfiguration
public Future<UpdateAutoScalingConfigurationResponse> updateAutoScalingConfiguration(UpdateAutoScalingConfigurationRequest request, AsyncHandler<UpdateAutoScalingConfigurationRequest,UpdateAutoScalingConfigurationResponse> handler)
Description copied from interface:BdsAsyncUpdates fields on an autoscale configuration, including the name, the threshold value, and whether the autoscale configuration is enabled.- Specified by:
updateAutoScalingConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateBdsInstance
public Future<UpdateBdsInstanceResponse> updateBdsInstance(UpdateBdsInstanceRequest request, AsyncHandler<UpdateBdsInstanceRequest,UpdateBdsInstanceResponse> handler)
Description copied from interface:BdsAsyncUpdates the Big Data Service cluster identified by the given ID.- Specified by:
updateBdsInstancein interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateBdsMetastoreConfiguration
public Future<UpdateBdsMetastoreConfigurationResponse> updateBdsMetastoreConfiguration(UpdateBdsMetastoreConfigurationRequest request, AsyncHandler<UpdateBdsMetastoreConfigurationRequest,UpdateBdsMetastoreConfigurationResponse> handler)
Description copied from interface:BdsAsyncUpdate the BDS metastore configuration represented by the provided ID.- Specified by:
updateBdsMetastoreConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateIdentityConfiguration
public Future<UpdateIdentityConfigurationResponse> updateIdentityConfiguration(UpdateIdentityConfigurationRequest request, AsyncHandler<UpdateIdentityConfigurationRequest,UpdateIdentityConfigurationResponse> handler)
Description copied from interface:BdsAsyncUpdate the IAM user sync and UPST configuration for the specified identity configuration- Specified by:
updateIdentityConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateNodeBackupConfiguration
public Future<UpdateNodeBackupConfigurationResponse> updateNodeBackupConfiguration(UpdateNodeBackupConfigurationRequest request, AsyncHandler<UpdateNodeBackupConfigurationRequest,UpdateNodeBackupConfigurationResponse> handler)
Description copied from interface:BdsAsyncUpdates fields on NodeBackupConfiguration, including the name, the schedule.- Specified by:
updateNodeBackupConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateNodeReplaceConfiguration
public Future<UpdateNodeReplaceConfigurationResponse> updateNodeReplaceConfiguration(UpdateNodeReplaceConfigurationRequest request, AsyncHandler<UpdateNodeReplaceConfigurationRequest,UpdateNodeReplaceConfigurationResponse> handler)
Description copied from interface:BdsAsyncUpdates fields on nodeReplaceConfigurations, including the name, the schedule- Specified by:
updateNodeReplaceConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateResourcePrincipalConfiguration
public Future<UpdateResourcePrincipalConfigurationResponse> updateResourcePrincipalConfiguration(UpdateResourcePrincipalConfigurationRequest request, AsyncHandler<UpdateResourcePrincipalConfigurationRequest,UpdateResourcePrincipalConfigurationResponse> handler)
Description copied from interface:BdsAsyncUpdates fields on resourcePrincipalConfiguration, including the name, the lifeSpanInHours of the token.- Specified by:
updateResourcePrincipalConfigurationin interfaceBdsAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
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()
-
getMinimumClientCommonLibraryVersionFromClient
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
-
clientCall
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)
-
-