@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class BlockstorageAsyncClient extends Object implements BlockstorageAsync
Async client implementation for Blockstorage service.
There are two ways to use async client:
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. | Modifier and Type | Class and Description |
|---|---|
static class |
BlockstorageAsyncClient.Builder
Builder class for this client.
|
| Modifier and Type | Field and Description |
|---|---|
static Service |
SERVICE
Service instance for Blockstorage.
|
| Constructor and Description |
|---|
BlockstorageAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration.
|
BlockstorageAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration.
|
BlockstorageAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
BlockstorageAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
BlockstorageAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration.
|
BlockstorageAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
|
BlockstorageAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
|
BlockstorageAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration.
|
public static final Service SERVICE
Service instance for Blockstorage.
public BlockstorageAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
authenticationDetailsProvider - The authentication details provider, required.public BlockstorageAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.public BlockstorageAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.public BlockstorageAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.public BlockstorageAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.additionalClientConfigurators - Additional client configurators to be run after the primary configurator.public BlockstorageAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.additionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)public BlockstorageAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)public BlockstorageAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)restClientFactoryBuilder - the builder for the RestClientFactorypublic static BlockstorageAsyncClient.Builder builder()
Create a builder for this client.
public void setEndpoint(String endpoint)
BlockstorageAsyncSets the endpoint to call (ex, https://www.example.com).
setEndpoint in interface BlockstorageAsyncendpoint - The endpoint of the serice.public String getEndpoint()
BlockstorageAsyncGets the set endpoint for REST call (ex, https://www.example.com)
getEndpoint in interface BlockstorageAsyncpublic void setRegion(Region region)
BlockstorageAsyncSets 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.
setRegion in interface BlockstorageAsyncregion - The region of the service.public void setRegion(String regionId)
BlockstorageAsyncSets 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.
setRegion in interface BlockstorageAsyncregionId - The public region ID.public void close()
close in interface AutoCloseablepublic Future<ChangeBootVolumeBackupCompartmentResponse> changeBootVolumeBackupCompartment(ChangeBootVolumeBackupCompartmentRequest request, AsyncHandler<ChangeBootVolumeBackupCompartmentRequest,ChangeBootVolumeBackupCompartmentResponse> handler)
BlockstorageAsyncMoves a boot volume backup into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeBootVolumeBackupCompartment in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ChangeBootVolumeCompartmentResponse> changeBootVolumeCompartment(ChangeBootVolumeCompartmentRequest request, AsyncHandler<ChangeBootVolumeCompartmentRequest,ChangeBootVolumeCompartmentResponse> handler)
BlockstorageAsyncMoves a boot volume into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeBootVolumeCompartment in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ChangeVolumeBackupCompartmentResponse> changeVolumeBackupCompartment(ChangeVolumeBackupCompartmentRequest request, AsyncHandler<ChangeVolumeBackupCompartmentRequest,ChangeVolumeBackupCompartmentResponse> handler)
BlockstorageAsyncMoves a volume backup into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeVolumeBackupCompartment in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ChangeVolumeCompartmentResponse> changeVolumeCompartment(ChangeVolumeCompartmentRequest request, AsyncHandler<ChangeVolumeCompartmentRequest,ChangeVolumeCompartmentResponse> handler)
BlockstorageAsyncMoves a volume into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeVolumeCompartment in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ChangeVolumeGroupBackupCompartmentResponse> changeVolumeGroupBackupCompartment(ChangeVolumeGroupBackupCompartmentRequest request, AsyncHandler<ChangeVolumeGroupBackupCompartmentRequest,ChangeVolumeGroupBackupCompartmentResponse> handler)
BlockstorageAsyncMoves a volume group backup into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeVolumeGroupBackupCompartment in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ChangeVolumeGroupCompartmentResponse> changeVolumeGroupCompartment(ChangeVolumeGroupCompartmentRequest request, AsyncHandler<ChangeVolumeGroupCompartmentRequest,ChangeVolumeGroupCompartmentResponse> handler)
BlockstorageAsyncMoves a volume group into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeVolumeGroupCompartment in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<CopyBootVolumeBackupResponse> copyBootVolumeBackup(CopyBootVolumeBackupRequest request, AsyncHandler<CopyBootVolumeBackupRequest,CopyBootVolumeBackupResponse> handler)
BlockstorageAsyncCreates a boot volume backup copy in specified region. For general information about volume backups, see Overview of Boot Volume Backups
copyBootVolumeBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<CopyVolumeBackupResponse> copyVolumeBackup(CopyVolumeBackupRequest request, AsyncHandler<CopyVolumeBackupRequest,CopyVolumeBackupResponse> handler)
BlockstorageAsyncCreates a volume backup copy in specified region. For general information about volume backups, see Overview of Block Volume Service Backups
copyVolumeBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<CreateBootVolumeResponse> createBootVolume(CreateBootVolumeRequest request, AsyncHandler<CreateBootVolumeRequest,CreateBootVolumeResponse> handler)
BlockstorageAsyncCreates a new boot volume in the specified compartment from an existing boot volume or a boot volume backup. For general information about boot volumes, see Boot Volumes. You may optionally specify a display name for the volume, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.
createBootVolume in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<CreateBootVolumeBackupResponse> createBootVolumeBackup(CreateBootVolumeBackupRequest request, AsyncHandler<CreateBootVolumeBackupRequest,CreateBootVolumeBackupResponse> handler)
BlockstorageAsyncCreates a new boot volume backup of the specified boot volume. For general information about boot volume backups, see Overview of Boot Volume Backups
When the request is received, the backup object is in a REQUEST_RECEIVED state. When the data is imaged, it goes into a CREATING state. After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state.
createBootVolumeBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<CreateVolumeResponse> createVolume(CreateVolumeRequest request, AsyncHandler<CreateVolumeRequest,CreateVolumeResponse> handler)
BlockstorageAsyncCreates a new volume in the specified compartment. Volumes can be created in sizes ranging from 50 GB (51200 MB) to 32 TB (33554432 MB), in 1 GB (1024 MB) increments. By default, volumes are 1 TB (1048576 MB). For general information about block volumes, see Overview of Block Volume Service.
A volume and instance can be in separate compartments but must be in the same availability domain. For information about access control and compartments, see [Overview of the IAM Service](https://docs.cloud.oracle.com/Content/Identity/Concepts/overview.htm). For information about availability domains, see [Regions and Availability Domains](https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm). To get a list of availability domains, use the `ListAvailabilityDomains` operation in the Identity and Access Management Service API.
You may optionally specify a *display name* for the volume, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.
createVolume in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<CreateVolumeBackupResponse> createVolumeBackup(CreateVolumeBackupRequest request, AsyncHandler<CreateVolumeBackupRequest,CreateVolumeBackupResponse> handler)
BlockstorageAsyncCreates a new backup of the specified volume. For general information about volume backups, see Overview of Block Volume Service Backups
When the request is received, the backup object is in a REQUEST_RECEIVED state. When the data is imaged, it goes into a CREATING state. After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state.
createVolumeBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<CreateVolumeBackupPolicyResponse> createVolumeBackupPolicy(CreateVolumeBackupPolicyRequest request, AsyncHandler<CreateVolumeBackupPolicyRequest,CreateVolumeBackupPolicyResponse> handler)
BlockstorageAsyncCreates a new user defined backup policy.
For more information about Oracle defined backup policies and user defined backup policies, see [Policy-Based Backups](https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm).
createVolumeBackupPolicy in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<CreateVolumeBackupPolicyAssignmentResponse> createVolumeBackupPolicyAssignment(CreateVolumeBackupPolicyAssignmentRequest request, AsyncHandler<CreateVolumeBackupPolicyAssignmentRequest,CreateVolumeBackupPolicyAssignmentResponse> handler)
BlockstorageAsyncAssigns a volume backup policy to the specified volume. Note that a given volume can only have one backup policy assigned to it. If this operation is used for a volume that already has a different backup policy assigned, the prior backup policy will be silently unassigned.
createVolumeBackupPolicyAssignment in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<CreateVolumeGroupResponse> createVolumeGroup(CreateVolumeGroupRequest request, AsyncHandler<CreateVolumeGroupRequest,CreateVolumeGroupResponse> handler)
BlockstorageAsyncCreates a new volume group in the specified compartment. A volume group is a collection of volumes and may be created from a list of volumes, cloning an existing volume group, or by restoring a volume group backup. A volume group can contain up to 64 volumes. You may optionally specify a display name for the volume group, which is simply a friendly name or description. It does not have to be unique, and you can change it. Avoid entering confidential information.
For more information, see [Volume Groups](https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).
createVolumeGroup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<CreateVolumeGroupBackupResponse> createVolumeGroupBackup(CreateVolumeGroupBackupRequest request, AsyncHandler<CreateVolumeGroupBackupRequest,CreateVolumeGroupBackupResponse> handler)
BlockstorageAsyncCreates a new backup volume group of the specified volume group. For more information, see Volume Groups.
createVolumeGroupBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<DeleteBootVolumeResponse> deleteBootVolume(DeleteBootVolumeRequest request, AsyncHandler<DeleteBootVolumeRequest,DeleteBootVolumeResponse> handler)
BlockstorageAsyncDeletes the specified boot volume. The volume cannot have an active connection to an instance. To disconnect the boot volume from a connected instance, see Disconnecting From a Boot Volume. Warning: All data on the boot volume will be permanently lost when the boot volume is deleted.
deleteBootVolume in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<DeleteBootVolumeBackupResponse> deleteBootVolumeBackup(DeleteBootVolumeBackupRequest request, AsyncHandler<DeleteBootVolumeBackupRequest,DeleteBootVolumeBackupResponse> handler)
BlockstorageAsyncDeletes a boot volume backup.
deleteBootVolumeBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<DeleteBootVolumeKmsKeyResponse> deleteBootVolumeKmsKey(DeleteBootVolumeKmsKeyRequest request, AsyncHandler<DeleteBootVolumeKmsKeyRequest,DeleteBootVolumeKmsKeyResponse> handler)
BlockstorageAsyncRemoves the specified boot volume’s assigned Key Management encryption key.
deleteBootVolumeKmsKey in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<DeleteVolumeResponse> deleteVolume(DeleteVolumeRequest request, AsyncHandler<DeleteVolumeRequest,DeleteVolumeResponse> handler)
BlockstorageAsyncDeletes the specified volume. The volume cannot have an active connection to an instance. To disconnect the volume from a connected instance, see Disconnecting From a Volume. Warning: All data on the volume will be permanently lost when the volume is deleted.
deleteVolume in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<DeleteVolumeBackupResponse> deleteVolumeBackup(DeleteVolumeBackupRequest request, AsyncHandler<DeleteVolumeBackupRequest,DeleteVolumeBackupResponse> handler)
BlockstorageAsyncDeletes a volume backup.
deleteVolumeBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<DeleteVolumeBackupPolicyResponse> deleteVolumeBackupPolicy(DeleteVolumeBackupPolicyRequest request, AsyncHandler<DeleteVolumeBackupPolicyRequest,DeleteVolumeBackupPolicyResponse> handler)
BlockstorageAsyncDeletes a user defined backup policy. For more information about user defined backup policies, see Policy-Based Backups.
Avoid entering confidential information.
deleteVolumeBackupPolicy in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<DeleteVolumeBackupPolicyAssignmentResponse> deleteVolumeBackupPolicyAssignment(DeleteVolumeBackupPolicyAssignmentRequest request, AsyncHandler<DeleteVolumeBackupPolicyAssignmentRequest,DeleteVolumeBackupPolicyAssignmentResponse> handler)
BlockstorageAsyncDeletes a volume backup policy assignment.
deleteVolumeBackupPolicyAssignment in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<DeleteVolumeGroupResponse> deleteVolumeGroup(DeleteVolumeGroupRequest request, AsyncHandler<DeleteVolumeGroupRequest,DeleteVolumeGroupResponse> handler)
BlockstorageAsyncDeletes the specified volume group. Individual volumes are not deleted, only the volume group is deleted. For more information, see Volume Groups.
deleteVolumeGroup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<DeleteVolumeGroupBackupResponse> deleteVolumeGroupBackup(DeleteVolumeGroupBackupRequest request, AsyncHandler<DeleteVolumeGroupBackupRequest,DeleteVolumeGroupBackupResponse> handler)
BlockstorageAsyncDeletes a volume group backup. This operation deletes all the backups in the volume group. For more information, see Volume Groups.
deleteVolumeGroupBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<DeleteVolumeKmsKeyResponse> deleteVolumeKmsKey(DeleteVolumeKmsKeyRequest request, AsyncHandler<DeleteVolumeKmsKeyRequest,DeleteVolumeKmsKeyResponse> handler)
BlockstorageAsyncRemoves the specified volume’s assigned Key Management encryption key.
deleteVolumeKmsKey in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetBootVolumeResponse> getBootVolume(GetBootVolumeRequest request, AsyncHandler<GetBootVolumeRequest,GetBootVolumeResponse> handler)
BlockstorageAsyncGets information for the specified boot volume.
getBootVolume in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetBootVolumeBackupResponse> getBootVolumeBackup(GetBootVolumeBackupRequest request, AsyncHandler<GetBootVolumeBackupRequest,GetBootVolumeBackupResponse> handler)
BlockstorageAsyncGets information for the specified boot volume backup.
getBootVolumeBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetBootVolumeKmsKeyResponse> getBootVolumeKmsKey(GetBootVolumeKmsKeyRequest request, AsyncHandler<GetBootVolumeKmsKeyRequest,GetBootVolumeKmsKeyResponse> handler)
BlockstorageAsyncGets the Key Management encryption key assigned to the specified boot volume.
getBootVolumeKmsKey in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetVolumeResponse> getVolume(GetVolumeRequest request, AsyncHandler<GetVolumeRequest,GetVolumeResponse> handler)
BlockstorageAsyncGets information for the specified volume.
getVolume in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetVolumeBackupResponse> getVolumeBackup(GetVolumeBackupRequest request, AsyncHandler<GetVolumeBackupRequest,GetVolumeBackupResponse> handler)
BlockstorageAsyncGets information for the specified volume backup.
getVolumeBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetVolumeBackupPolicyResponse> getVolumeBackupPolicy(GetVolumeBackupPolicyRequest request, AsyncHandler<GetVolumeBackupPolicyRequest,GetVolumeBackupPolicyResponse> handler)
BlockstorageAsyncGets information for the specified volume backup policy.
getVolumeBackupPolicy in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetVolumeBackupPolicyAssetAssignmentResponse> getVolumeBackupPolicyAssetAssignment(GetVolumeBackupPolicyAssetAssignmentRequest request, AsyncHandler<GetVolumeBackupPolicyAssetAssignmentRequest,GetVolumeBackupPolicyAssetAssignmentResponse> handler)
BlockstorageAsyncGets the volume backup policy assignment for the specified volume. The
assetId query parameter is required, and the returned list will contain at most
one item, since volume can only have one volume backup policy assigned at a time.
getVolumeBackupPolicyAssetAssignment in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetVolumeBackupPolicyAssignmentResponse> getVolumeBackupPolicyAssignment(GetVolumeBackupPolicyAssignmentRequest request, AsyncHandler<GetVolumeBackupPolicyAssignmentRequest,GetVolumeBackupPolicyAssignmentResponse> handler)
BlockstorageAsyncGets information for the specified volume backup policy assignment.
getVolumeBackupPolicyAssignment in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetVolumeGroupResponse> getVolumeGroup(GetVolumeGroupRequest request, AsyncHandler<GetVolumeGroupRequest,GetVolumeGroupResponse> handler)
BlockstorageAsyncGets information for the specified volume group. For more information, see Volume Groups.
getVolumeGroup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetVolumeGroupBackupResponse> getVolumeGroupBackup(GetVolumeGroupBackupRequest request, AsyncHandler<GetVolumeGroupBackupRequest,GetVolumeGroupBackupResponse> handler)
BlockstorageAsyncGets information for the specified volume group backup. For more information, see Volume Groups.
getVolumeGroupBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<GetVolumeKmsKeyResponse> getVolumeKmsKey(GetVolumeKmsKeyRequest request, AsyncHandler<GetVolumeKmsKeyRequest,GetVolumeKmsKeyResponse> handler)
BlockstorageAsyncGets the Key Management encryption key assigned to the specified volume.
getVolumeKmsKey in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ListBootVolumeBackupsResponse> listBootVolumeBackups(ListBootVolumeBackupsRequest request, AsyncHandler<ListBootVolumeBackupsRequest,ListBootVolumeBackupsResponse> handler)
BlockstorageAsyncLists the boot volume backups in the specified compartment. You can filter the results by boot volume.
listBootVolumeBackups in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ListBootVolumesResponse> listBootVolumes(ListBootVolumesRequest request, AsyncHandler<ListBootVolumesRequest,ListBootVolumesResponse> handler)
BlockstorageAsyncLists the boot volumes in the specified compartment and availability domain.
listBootVolumes in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ListVolumeBackupPoliciesResponse> listVolumeBackupPolicies(ListVolumeBackupPoliciesRequest request, AsyncHandler<ListVolumeBackupPoliciesRequest,ListVolumeBackupPoliciesResponse> handler)
BlockstorageAsyncLists all the volume backup policies available in the specified compartment.
For more information about Oracle defined backup policies and user defined backup policies, see [Policy-Based Backups](https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm).
listVolumeBackupPolicies in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ListVolumeBackupsResponse> listVolumeBackups(ListVolumeBackupsRequest request, AsyncHandler<ListVolumeBackupsRequest,ListVolumeBackupsResponse> handler)
BlockstorageAsyncLists the volume backups in the specified compartment. You can filter the results by volume.
listVolumeBackups in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ListVolumeGroupBackupsResponse> listVolumeGroupBackups(ListVolumeGroupBackupsRequest request, AsyncHandler<ListVolumeGroupBackupsRequest,ListVolumeGroupBackupsResponse> handler)
BlockstorageAsyncLists the volume group backups in the specified compartment. You can filter the results by volume group. For more information, see Volume Groups.
listVolumeGroupBackups in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ListVolumeGroupsResponse> listVolumeGroups(ListVolumeGroupsRequest request, AsyncHandler<ListVolumeGroupsRequest,ListVolumeGroupsResponse> handler)
BlockstorageAsyncLists the volume groups in the specified compartment and availability domain. For more information, see Volume Groups.
listVolumeGroups in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<ListVolumesResponse> listVolumes(ListVolumesRequest request, AsyncHandler<ListVolumesRequest,ListVolumesResponse> handler)
BlockstorageAsyncLists the volumes in the specified compartment and availability domain.
listVolumes in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<UpdateBootVolumeResponse> updateBootVolume(UpdateBootVolumeRequest request, AsyncHandler<UpdateBootVolumeRequest,UpdateBootVolumeResponse> handler)
BlockstorageAsyncUpdates the specified boot volume’s display name, defined tags, and free-form tags.
updateBootVolume in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<UpdateBootVolumeBackupResponse> updateBootVolumeBackup(UpdateBootVolumeBackupRequest request, AsyncHandler<UpdateBootVolumeBackupRequest,UpdateBootVolumeBackupResponse> handler)
BlockstorageAsyncUpdates the display name for the specified boot volume backup. Avoid entering confidential information.
updateBootVolumeBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<UpdateBootVolumeKmsKeyResponse> updateBootVolumeKmsKey(UpdateBootVolumeKmsKeyRequest request, AsyncHandler<UpdateBootVolumeKmsKeyRequest,UpdateBootVolumeKmsKeyResponse> handler)
BlockstorageAsyncUpdates the specified volume with a new Key Management master encryption key.
updateBootVolumeKmsKey in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<UpdateVolumeResponse> updateVolume(UpdateVolumeRequest request, AsyncHandler<UpdateVolumeRequest,UpdateVolumeResponse> handler)
BlockstorageAsyncUpdates the specified volume’s display name. Avoid entering confidential information.
updateVolume in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<UpdateVolumeBackupResponse> updateVolumeBackup(UpdateVolumeBackupRequest request, AsyncHandler<UpdateVolumeBackupRequest,UpdateVolumeBackupResponse> handler)
BlockstorageAsyncUpdates the display name for the specified volume backup. Avoid entering confidential information.
updateVolumeBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<UpdateVolumeBackupPolicyResponse> updateVolumeBackupPolicy(UpdateVolumeBackupPolicyRequest request, AsyncHandler<UpdateVolumeBackupPolicyRequest,UpdateVolumeBackupPolicyResponse> handler)
BlockstorageAsyncUpdates a user defined backup policy. For more information about user defined backup policies, see Policy-Based Backups.
Avoid entering confidential information.
updateVolumeBackupPolicy in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<UpdateVolumeGroupResponse> updateVolumeGroup(UpdateVolumeGroupRequest request, AsyncHandler<UpdateVolumeGroupRequest,UpdateVolumeGroupResponse> handler)
BlockstorageAsyncUpdates the set of volumes in a volume group along with the display name. Use this operation to add or remove volumes in a volume group. Specify the full list of volume IDs to include in the volume group. If the volume ID is not specified in the call, it will be removed from the volume group. Avoid entering confidential information.
For more information, see [Volume Groups](https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm).
updateVolumeGroup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<UpdateVolumeGroupBackupResponse> updateVolumeGroupBackup(UpdateVolumeGroupBackupRequest request, AsyncHandler<UpdateVolumeGroupBackupRequest,UpdateVolumeGroupBackupResponse> handler)
BlockstorageAsyncUpdates the display name for the specified volume group backup. For more information, see Volume Groups.
updateVolumeGroupBackup in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.public Future<UpdateVolumeKmsKeyResponse> updateVolumeKmsKey(UpdateVolumeKmsKeyRequest request, AsyncHandler<UpdateVolumeKmsKeyRequest,UpdateVolumeKmsKeyResponse> handler)
BlockstorageAsyncUpdates the specified volume with a new Key Management master encryption key.
updateVolumeKmsKey in interface BlockstorageAsyncrequest - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Copyright © 2016–2021. All rights reserved.