@Generated(value="OracleSDKGenerator", comments="API Version: 20190531") public class BdsAsyncClient extends BaseAsyncClient implements BdsAsync
Async 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 an InputStream
, 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
Modifier and Type | Class and Description |
---|---|
static class |
BdsAsyncClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for Bds.
|
Constructor and Description |
---|
BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
BdsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
BdsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
BdsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for Bds.
public final String clientCommonLibraryVersion
@Deprecated public BdsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BdsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public BdsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BdsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public BdsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BdsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BdsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BdsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BdsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public BdsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BdsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
public static BdsAsyncClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
BdsAsync
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the
endpoint. If the service is not available in this region, however, an
IllegalArgumentException will be raised.
public void setRegion(String regionId)
BdsAsync
Sets 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 call setEndpoint
.
public Future<ActivateBdsMetastoreConfigurationResponse> activateBdsMetastoreConfiguration(ActivateBdsMetastoreConfigurationRequest request, AsyncHandler<ActivateBdsMetastoreConfigurationRequest,ActivateBdsMetastoreConfigurationResponse> handler)
BdsAsync
Activate specified metastore configuration.
activateBdsMetastoreConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ActivateIamUserSyncConfigurationResponse> activateIamUserSyncConfiguration(ActivateIamUserSyncConfigurationRequest request, AsyncHandler<ActivateIamUserSyncConfigurationRequest,ActivateIamUserSyncConfigurationResponse> handler)
BdsAsync
Activate IAM user sync configuration for the given identity configuration
activateIamUserSyncConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ActivateUpstConfigurationResponse> activateUpstConfiguration(ActivateUpstConfigurationRequest request, AsyncHandler<ActivateUpstConfigurationRequest,ActivateUpstConfigurationResponse> handler)
BdsAsync
Activate UPST configuration for the given identity configuration
activateUpstConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AddAutoScalingConfigurationResponse> addAutoScalingConfiguration(AddAutoScalingConfigurationRequest request, AsyncHandler<AddAutoScalingConfigurationRequest,AddAutoScalingConfigurationResponse> handler)
BdsAsync
Add an autoscale configuration to the cluster.
addAutoScalingConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AddBlockStorageResponse> addBlockStorage(AddBlockStorageRequest request, AsyncHandler<AddBlockStorageRequest,AddBlockStorageResponse> handler)
BdsAsync
Adds 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.
addBlockStorage
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AddCloudSqlResponse> addCloudSql(AddCloudSqlRequest request, AsyncHandler<AddCloudSqlRequest,AddCloudSqlResponse> handler)
BdsAsync
Adds 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.
addCloudSql
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AddKafkaResponse> addKafka(AddKafkaRequest request, AsyncHandler<AddKafkaRequest,AddKafkaResponse> handler)
BdsAsync
Adds Kafka to a cluster.
addKafka
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AddMasterNodesResponse> addMasterNodes(AddMasterNodesRequest request, AsyncHandler<AddMasterNodesRequest,AddMasterNodesResponse> handler)
BdsAsync
Increases 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.
addMasterNodes
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AddUtilityNodesResponse> addUtilityNodes(AddUtilityNodesRequest request, AsyncHandler<AddUtilityNodesRequest,AddUtilityNodesResponse> handler)
BdsAsync
Increases 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.
addUtilityNodes
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AddWorkerNodesResponse> addWorkerNodes(AddWorkerNodesRequest request, AsyncHandler<AddWorkerNodesRequest,AddWorkerNodesResponse> handler)
BdsAsync
Increases 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.
addWorkerNodes
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<BackupNodeResponse> backupNode(BackupNodeRequest request, AsyncHandler<BackupNodeRequest,BackupNodeResponse> handler)
BdsAsync
Takes a backup of of given nodes.
backupNode
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CertificateServiceInfoResponse> certificateServiceInfo(CertificateServiceInfoRequest request, AsyncHandler<CertificateServiceInfoRequest,CertificateServiceInfoResponse> handler)
BdsAsync
A list of services and their certificate details.
certificateServiceInfo
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeBdsInstanceCompartmentResponse> changeBdsInstanceCompartment(ChangeBdsInstanceCompartmentRequest request, AsyncHandler<ChangeBdsInstanceCompartmentRequest,ChangeBdsInstanceCompartmentResponse> handler)
BdsAsync
Moves a Big Data Service cluster into a different compartment.
changeBdsInstanceCompartment
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeShapeResponse> changeShape(ChangeShapeRequest request, AsyncHandler<ChangeShapeRequest,ChangeShapeResponse> handler)
BdsAsync
Changes 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.
changeShape
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateBdsApiKeyResponse> createBdsApiKey(CreateBdsApiKeyRequest request, AsyncHandler<CreateBdsApiKeyRequest,CreateBdsApiKeyResponse> handler)
BdsAsync
Create an API key on behalf of the specified user.
createBdsApiKey
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateBdsInstanceResponse> createBdsInstance(CreateBdsInstanceRequest request, AsyncHandler<CreateBdsInstanceRequest,CreateBdsInstanceResponse> handler)
BdsAsync
Creates a Big Data Service cluster.
createBdsInstance
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateBdsMetastoreConfigurationResponse> createBdsMetastoreConfiguration(CreateBdsMetastoreConfigurationRequest request, AsyncHandler<CreateBdsMetastoreConfigurationRequest,CreateBdsMetastoreConfigurationResponse> handler)
BdsAsync
Create and activate external metastore configuration.
createBdsMetastoreConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateIdentityConfigurationResponse> createIdentityConfiguration(CreateIdentityConfigurationRequest request, AsyncHandler<CreateIdentityConfigurationRequest,CreateIdentityConfigurationResponse> handler)
BdsAsync
Create an identity configuration for the cluster
createIdentityConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateNodeBackupConfigurationResponse> createNodeBackupConfiguration(CreateNodeBackupConfigurationRequest request, AsyncHandler<CreateNodeBackupConfigurationRequest,CreateNodeBackupConfigurationResponse> handler)
BdsAsync
Add a node volume backup configuration to the cluster for an indicated node type or node.
createNodeBackupConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateNodeReplaceConfigurationResponse> createNodeReplaceConfiguration(CreateNodeReplaceConfigurationRequest request, AsyncHandler<CreateNodeReplaceConfigurationRequest,CreateNodeReplaceConfigurationResponse> handler)
BdsAsync
Add a nodeReplaceConfigurations to the cluster.
createNodeReplaceConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateResourcePrincipalConfigurationResponse> createResourcePrincipalConfiguration(CreateResourcePrincipalConfigurationRequest request, AsyncHandler<CreateResourcePrincipalConfigurationRequest,CreateResourcePrincipalConfigurationResponse> handler)
BdsAsync
Create a resource principal session token configuration.
createResourcePrincipalConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeactivateIamUserSyncConfigurationResponse> deactivateIamUserSyncConfiguration(DeactivateIamUserSyncConfigurationRequest request, AsyncHandler<DeactivateIamUserSyncConfigurationRequest,DeactivateIamUserSyncConfigurationResponse> handler)
BdsAsync
Deactivate the IAM user sync configuration.
deactivateIamUserSyncConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeactivateUpstConfigurationResponse> deactivateUpstConfiguration(DeactivateUpstConfigurationRequest request, AsyncHandler<DeactivateUpstConfigurationRequest,DeactivateUpstConfigurationResponse> handler)
BdsAsync
Deactivate the UPST configuration represented by the provided ID.
deactivateUpstConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteBdsApiKeyResponse> deleteBdsApiKey(DeleteBdsApiKeyRequest request, AsyncHandler<DeleteBdsApiKeyRequest,DeleteBdsApiKeyResponse> handler)
BdsAsync
Deletes the user’s API key represented by the provided ID.
deleteBdsApiKey
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteBdsInstanceResponse> deleteBdsInstance(DeleteBdsInstanceRequest request, AsyncHandler<DeleteBdsInstanceRequest,DeleteBdsInstanceResponse> handler)
BdsAsync
Deletes the cluster identified by the given ID.
deleteBdsInstance
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteBdsMetastoreConfigurationResponse> deleteBdsMetastoreConfiguration(DeleteBdsMetastoreConfigurationRequest request, AsyncHandler<DeleteBdsMetastoreConfigurationRequest,DeleteBdsMetastoreConfigurationResponse> handler)
BdsAsync
Delete the BDS metastore configuration represented by the provided ID.
deleteBdsMetastoreConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteIdentityConfigurationResponse> deleteIdentityConfiguration(DeleteIdentityConfigurationRequest request, AsyncHandler<DeleteIdentityConfigurationRequest,DeleteIdentityConfigurationResponse> handler)
BdsAsync
Delete 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.
deleteIdentityConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteNodeBackupResponse> deleteNodeBackup(DeleteNodeBackupRequest request, AsyncHandler<DeleteNodeBackupRequest,DeleteNodeBackupResponse> handler)
BdsAsync
Delete the NodeBackup represented by the provided ID.
deleteNodeBackup
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteNodeBackupConfigurationResponse> deleteNodeBackupConfiguration(DeleteNodeBackupConfigurationRequest request, AsyncHandler<DeleteNodeBackupConfigurationRequest,DeleteNodeBackupConfigurationResponse> handler)
BdsAsync
Delete the NodeBackupConfiguration represented by the provided ID.
deleteNodeBackupConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableCertificateResponse> disableCertificate(DisableCertificateRequest request, AsyncHandler<DisableCertificateRequest,DisableCertificateResponse> handler)
BdsAsync
Disabling TLS/SSL for various ODH services running on the BDS cluster.
disableCertificate
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableCertificateResponse> enableCertificate(EnableCertificateRequest request, AsyncHandler<EnableCertificateRequest,EnableCertificateResponse> handler)
BdsAsync
Configuring TLS/SSL for various ODH services running on the BDS cluster.
enableCertificate
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ExecuteBootstrapScriptResponse> executeBootstrapScript(ExecuteBootstrapScriptRequest request, AsyncHandler<ExecuteBootstrapScriptRequest,ExecuteBootstrapScriptResponse> handler)
BdsAsync
Execute bootstrap script.
executeBootstrapScript
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ForceRefreshResourcePrincipalResponse> forceRefreshResourcePrincipal(ForceRefreshResourcePrincipalRequest request, AsyncHandler<ForceRefreshResourcePrincipalRequest,ForceRefreshResourcePrincipalResponse> handler)
BdsAsync
Force Refresh Resource Principal for the cluster.
forceRefreshResourcePrincipal
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAutoScalingConfigurationResponse> getAutoScalingConfiguration(GetAutoScalingConfigurationRequest request, AsyncHandler<GetAutoScalingConfigurationRequest,GetAutoScalingConfigurationResponse> handler)
BdsAsync
Returns details of the autoscale configuration identified by the given ID.
getAutoScalingConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetBdsApiKeyResponse> getBdsApiKey(GetBdsApiKeyRequest request, AsyncHandler<GetBdsApiKeyRequest,GetBdsApiKeyResponse> handler)
BdsAsync
Returns the user’s API key information for the given ID.
getBdsApiKey
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetBdsInstanceResponse> getBdsInstance(GetBdsInstanceRequest request, AsyncHandler<GetBdsInstanceRequest,GetBdsInstanceResponse> handler)
BdsAsync
Returns information about the Big Data Service cluster identified by the given ID.
getBdsInstance
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetBdsMetastoreConfigurationResponse> getBdsMetastoreConfiguration(GetBdsMetastoreConfigurationRequest request, AsyncHandler<GetBdsMetastoreConfigurationRequest,GetBdsMetastoreConfigurationResponse> handler)
BdsAsync
Returns the BDS Metastore configuration information for the given ID.
getBdsMetastoreConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetIdentityConfigurationResponse> getIdentityConfiguration(GetIdentityConfigurationRequest request, AsyncHandler<GetIdentityConfigurationRequest,GetIdentityConfigurationResponse> handler)
BdsAsync
Get details of one identity config on the cluster
getIdentityConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetNodeBackupResponse> getNodeBackup(GetNodeBackupRequest request, AsyncHandler<GetNodeBackupRequest,GetNodeBackupResponse> handler)
BdsAsync
Returns details of NodeBackup identified by the given ID.
getNodeBackup
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetNodeBackupConfigurationResponse> getNodeBackupConfiguration(GetNodeBackupConfigurationRequest request, AsyncHandler<GetNodeBackupConfigurationRequest,GetNodeBackupConfigurationResponse> handler)
BdsAsync
Returns details of the NodeBackupConfiguration identified by the given ID.
getNodeBackupConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetNodeReplaceConfigurationResponse> getNodeReplaceConfiguration(GetNodeReplaceConfigurationRequest request, AsyncHandler<GetNodeReplaceConfigurationRequest,GetNodeReplaceConfigurationResponse> handler)
BdsAsync
Returns details of the nodeReplaceConfiguration identified by the given ID.
getNodeReplaceConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetOsPatchDetailsResponse> getOsPatchDetails(GetOsPatchDetailsRequest request, AsyncHandler<GetOsPatchDetailsRequest,GetOsPatchDetailsResponse> handler)
BdsAsync
Get the details of an os patch
getOsPatchDetails
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetResourcePrincipalConfigurationResponse> getResourcePrincipalConfiguration(GetResourcePrincipalConfigurationRequest request, AsyncHandler<GetResourcePrincipalConfigurationRequest,GetResourcePrincipalConfigurationResponse> handler)
BdsAsync
Returns details of the resourcePrincipalConfiguration identified by the given ID.
getResourcePrincipalConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
BdsAsync
Returns the status of the work request identified by the given ID.
getWorkRequest
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<InstallOsPatchResponse> installOsPatch(InstallOsPatchRequest request, AsyncHandler<InstallOsPatchRequest,InstallOsPatchResponse> handler)
BdsAsync
Install an os patch on a cluster
installOsPatch
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<InstallPatchResponse> installPatch(InstallPatchRequest request, AsyncHandler<InstallPatchRequest,InstallPatchResponse> handler)
BdsAsync
Install the specified patch to this cluster.
installPatch
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAutoScalingConfigurationsResponse> listAutoScalingConfigurations(ListAutoScalingConfigurationsRequest request, AsyncHandler<ListAutoScalingConfigurationsRequest,ListAutoScalingConfigurationsResponse> handler)
BdsAsync
Returns information about the autoscaling configurations for a cluster.
listAutoScalingConfigurations
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListBdsApiKeysResponse> listBdsApiKeys(ListBdsApiKeysRequest request, AsyncHandler<ListBdsApiKeysRequest,ListBdsApiKeysResponse> handler)
BdsAsync
Returns a list of all API keys associated with this Big Data Service cluster.
listBdsApiKeys
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListBdsClusterVersionsResponse> listBdsClusterVersions(ListBdsClusterVersionsRequest request, AsyncHandler<ListBdsClusterVersionsRequest,ListBdsClusterVersionsResponse> handler)
BdsAsync
Returns a list of cluster versions with associated odh and bds versions.
listBdsClusterVersions
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListBdsInstancesResponse> listBdsInstances(ListBdsInstancesRequest request, AsyncHandler<ListBdsInstancesRequest,ListBdsInstancesResponse> handler)
BdsAsync
Returns a list of all Big Data Service clusters in a compartment.
listBdsInstances
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListBdsMetastoreConfigurationsResponse> listBdsMetastoreConfigurations(ListBdsMetastoreConfigurationsRequest request, AsyncHandler<ListBdsMetastoreConfigurationsRequest,ListBdsMetastoreConfigurationsResponse> handler)
BdsAsync
Returns a list of metastore configurations ssociated with this Big Data Service cluster.
listBdsMetastoreConfigurations
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListIdentityConfigurationsResponse> listIdentityConfigurations(ListIdentityConfigurationsRequest request, AsyncHandler<ListIdentityConfigurationsRequest,ListIdentityConfigurationsResponse> handler)
BdsAsync
Returns a list of all identity configurations associated with this Big Data Service cluster.
listIdentityConfigurations
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListNodeBackupConfigurationsResponse> listNodeBackupConfigurations(ListNodeBackupConfigurationsRequest request, AsyncHandler<ListNodeBackupConfigurationsRequest,ListNodeBackupConfigurationsResponse> handler)
BdsAsync
Returns information about the NodeBackupConfigurations.
listNodeBackupConfigurations
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListNodeBackupsResponse> listNodeBackups(ListNodeBackupsRequest request, AsyncHandler<ListNodeBackupsRequest,ListNodeBackupsResponse> handler)
BdsAsync
Returns information about the node Backups.
listNodeBackups
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListNodeReplaceConfigurationsResponse> listNodeReplaceConfigurations(ListNodeReplaceConfigurationsRequest request, AsyncHandler<ListNodeReplaceConfigurationsRequest,ListNodeReplaceConfigurationsResponse> handler)
BdsAsync
Returns information about the NodeReplaceConfiguration.
listNodeReplaceConfigurations
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListOsPatchesResponse> listOsPatches(ListOsPatchesRequest request, AsyncHandler<ListOsPatchesRequest,ListOsPatchesResponse> handler)
BdsAsync
List all available os patches for a given cluster
listOsPatches
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListPatchHistoriesResponse> listPatchHistories(ListPatchHistoriesRequest request, AsyncHandler<ListPatchHistoriesRequest,ListPatchHistoriesResponse> handler)
BdsAsync
List the patch history of this cluster.
listPatchHistories
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListPatchesResponse> listPatches(ListPatchesRequest request, AsyncHandler<ListPatchesRequest,ListPatchesResponse> handler)
BdsAsync
List all the available patches for this cluster.
listPatches
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListResourcePrincipalConfigurationsResponse> listResourcePrincipalConfigurations(ListResourcePrincipalConfigurationsRequest request, AsyncHandler<ListResourcePrincipalConfigurationsRequest,ListResourcePrincipalConfigurationsResponse> handler)
BdsAsync
Returns information about the ResourcePrincipalConfiguration.
listResourcePrincipalConfigurations
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
BdsAsync
Returns a paginated list of errors for a work request identified by the given ID.
listWorkRequestErrors
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
BdsAsync
Returns a paginated list of logs for a given work request.
listWorkRequestLogs
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
BdsAsync
Lists the work requests in a compartment.
listWorkRequests
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RefreshConfidentialApplicationResponse> refreshConfidentialApplication(RefreshConfidentialApplicationRequest request, AsyncHandler<RefreshConfidentialApplicationRequest,RefreshConfidentialApplicationResponse> handler)
BdsAsync
Refresh confidential application for the given identity configuration in case of any update to the confidential application (e.g. regenerated client secret)
refreshConfidentialApplication
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RefreshUpstTokenExchangeKeytabResponse> refreshUpstTokenExchangeKeytab(RefreshUpstTokenExchangeKeytabRequest request, AsyncHandler<RefreshUpstTokenExchangeKeytabRequest,RefreshUpstTokenExchangeKeytabResponse> handler)
BdsAsync
Refresh token exchange kerberos principal keytab for the UPST enabled identity configuration
refreshUpstTokenExchangeKeytab
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveAutoScalingConfigurationResponse> removeAutoScalingConfiguration(RemoveAutoScalingConfigurationRequest request, AsyncHandler<RemoveAutoScalingConfigurationRequest,RemoveAutoScalingConfigurationResponse> handler)
BdsAsync
Deletes an autoscale configuration.
removeAutoScalingConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveCloudSqlResponse> removeCloudSql(RemoveCloudSqlRequest request, AsyncHandler<RemoveCloudSqlRequest,RemoveCloudSqlResponse> handler)
BdsAsync
Removes Cloud SQL from the cluster.
removeCloudSql
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveKafkaResponse> removeKafka(RemoveKafkaRequest request, AsyncHandler<RemoveKafkaRequest,RemoveKafkaResponse> handler)
BdsAsync
Remove Kafka from the cluster.
removeKafka
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveNodeResponse> removeNode(RemoveNodeRequest request, AsyncHandler<RemoveNodeRequest,RemoveNodeResponse> handler)
BdsAsync
Remove a single node of a Big Data Service cluster
removeNode
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveNodeReplaceConfigurationResponse> removeNodeReplaceConfiguration(RemoveNodeReplaceConfigurationRequest request, AsyncHandler<RemoveNodeReplaceConfigurationRequest,RemoveNodeReplaceConfigurationResponse> handler)
BdsAsync
Deletes a nodeReplaceConfiguration
removeNodeReplaceConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveResourcePrincipalConfigurationResponse> removeResourcePrincipalConfiguration(RemoveResourcePrincipalConfigurationRequest request, AsyncHandler<RemoveResourcePrincipalConfigurationRequest,RemoveResourcePrincipalConfigurationResponse> handler)
BdsAsync
Delete the resource principal configuration for the cluster.
removeResourcePrincipalConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RenewCertificateResponse> renewCertificate(RenewCertificateRequest request, AsyncHandler<RenewCertificateRequest,RenewCertificateResponse> handler)
BdsAsync
Renewing TLS/SSL for various ODH services running on the BDS cluster.
renewCertificate
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ReplaceNodeResponse> replaceNode(ReplaceNodeRequest request, AsyncHandler<ReplaceNodeRequest,ReplaceNodeResponse> handler)
BdsAsync
Replaces a node of a Big Data Service cluster from backup.
replaceNode
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RestartNodeResponse> restartNode(RestartNodeRequest request, AsyncHandler<RestartNodeRequest,RestartNodeResponse> handler)
BdsAsync
Restarts a single node of a Big Data Service cluster
restartNode
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<StartBdsInstanceResponse> startBdsInstance(StartBdsInstanceRequest request, AsyncHandler<StartBdsInstanceRequest,StartBdsInstanceResponse> handler)
BdsAsync
Starts the BDS cluster that was stopped earlier.
startBdsInstance
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<StopBdsInstanceResponse> stopBdsInstance(StopBdsInstanceRequest request, AsyncHandler<StopBdsInstanceRequest,StopBdsInstanceResponse> handler)
BdsAsync
Stops the BDS cluster that can be started at later point of time.
stopBdsInstance
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<TestBdsMetastoreConfigurationResponse> testBdsMetastoreConfiguration(TestBdsMetastoreConfigurationRequest request, AsyncHandler<TestBdsMetastoreConfigurationRequest,TestBdsMetastoreConfigurationResponse> handler)
BdsAsync
Test specified metastore configuration.
testBdsMetastoreConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<TestBdsObjectStorageConnectionResponse> testBdsObjectStorageConnection(TestBdsObjectStorageConnectionRequest request, AsyncHandler<TestBdsObjectStorageConnectionRequest,TestBdsObjectStorageConnectionResponse> handler)
BdsAsync
Test access to specified Object Storage bucket using the API key.
testBdsObjectStorageConnection
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateAutoScalingConfigurationResponse> updateAutoScalingConfiguration(UpdateAutoScalingConfigurationRequest request, AsyncHandler<UpdateAutoScalingConfigurationRequest,UpdateAutoScalingConfigurationResponse> handler)
BdsAsync
Updates fields on an autoscale configuration, including the name, the threshold value, and whether the autoscale configuration is enabled.
updateAutoScalingConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateBdsInstanceResponse> updateBdsInstance(UpdateBdsInstanceRequest request, AsyncHandler<UpdateBdsInstanceRequest,UpdateBdsInstanceResponse> handler)
BdsAsync
Updates the Big Data Service cluster identified by the given ID.
updateBdsInstance
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateBdsMetastoreConfigurationResponse> updateBdsMetastoreConfiguration(UpdateBdsMetastoreConfigurationRequest request, AsyncHandler<UpdateBdsMetastoreConfigurationRequest,UpdateBdsMetastoreConfigurationResponse> handler)
BdsAsync
Update the BDS metastore configuration represented by the provided ID.
updateBdsMetastoreConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateIdentityConfigurationResponse> updateIdentityConfiguration(UpdateIdentityConfigurationRequest request, AsyncHandler<UpdateIdentityConfigurationRequest,UpdateIdentityConfigurationResponse> handler)
BdsAsync
Update the IAM user sync and UPST configuration for the specified identity configuration
updateIdentityConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateNodeBackupConfigurationResponse> updateNodeBackupConfiguration(UpdateNodeBackupConfigurationRequest request, AsyncHandler<UpdateNodeBackupConfigurationRequest,UpdateNodeBackupConfigurationResponse> handler)
BdsAsync
Updates fields on NodeBackupConfiguration, including the name, the schedule.
updateNodeBackupConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateNodeReplaceConfigurationResponse> updateNodeReplaceConfiguration(UpdateNodeReplaceConfigurationRequest request, AsyncHandler<UpdateNodeReplaceConfigurationRequest,UpdateNodeReplaceConfigurationResponse> handler)
BdsAsync
Updates fields on nodeReplaceConfigurations, including the name, the schedule
updateNodeReplaceConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateResourcePrincipalConfigurationResponse> updateResourcePrincipalConfiguration(UpdateResourcePrincipalConfigurationRequest request, AsyncHandler<UpdateResourcePrincipalConfigurationRequest,UpdateResourcePrincipalConfigurationResponse> handler)
BdsAsync
Updates fields on resourcePrincipalConfiguration, including the name, the lifeSpanInHours of the token.
updateResourcePrincipalConfiguration
in interface BdsAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
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)
Copyright © 2016–2024. All rights reserved.