@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class BlockstorageClient extends BaseSyncClient implements Blockstorage
Modifier and Type | Class and Description |
---|---|
static class |
BlockstorageClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
protected ExecutorService |
executorService |
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for Blockstorage.
|
Constructor and Description |
---|
BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
BlockstorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
BlockstorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
BlockstorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
Modifier and Type | Method and Description |
---|---|
static BlockstorageClient.Builder |
builder()
Create a builder for this client.
|
ChangeBootVolumeBackupCompartmentResponse |
changeBootVolumeBackupCompartment(ChangeBootVolumeBackupCompartmentRequest request)
Moves a boot volume backup into a different compartment within the same tenancy.
|
ChangeBootVolumeCompartmentResponse |
changeBootVolumeCompartment(ChangeBootVolumeCompartmentRequest request)
Moves a boot volume into a different compartment within the same tenancy.
|
ChangeVolumeBackupCompartmentResponse |
changeVolumeBackupCompartment(ChangeVolumeBackupCompartmentRequest request)
Moves a volume backup into a different compartment within the same tenancy.
|
ChangeVolumeCompartmentResponse |
changeVolumeCompartment(ChangeVolumeCompartmentRequest request)
Moves a volume into a different compartment within the same tenancy.
|
ChangeVolumeGroupBackupCompartmentResponse |
changeVolumeGroupBackupCompartment(ChangeVolumeGroupBackupCompartmentRequest request)
Moves a volume group backup into a different compartment within the same tenancy.
|
ChangeVolumeGroupCompartmentResponse |
changeVolumeGroupCompartment(ChangeVolumeGroupCompartmentRequest request)
Moves a volume group into a different compartment within the same tenancy.
|
void |
close() |
CopyBootVolumeBackupResponse |
copyBootVolumeBackup(CopyBootVolumeBackupRequest request)
Creates a boot volume backup copy in specified region.
|
CopyVolumeBackupResponse |
copyVolumeBackup(CopyVolumeBackupRequest request)
Creates a volume backup copy in specified region.
|
CopyVolumeGroupBackupResponse |
copyVolumeGroupBackup(CopyVolumeGroupBackupRequest request)
Creates a volume group backup copy in specified region.
|
CreateBootVolumeResponse |
createBootVolume(CreateBootVolumeRequest request)
Creates a new boot volume in the specified compartment from an existing boot volume or a boot
volume backup.
|
CreateBootVolumeBackupResponse |
createBootVolumeBackup(CreateBootVolumeBackupRequest request)
Creates a new boot volume backup of the specified boot volume.
|
CreateVolumeResponse |
createVolume(CreateVolumeRequest request)
Creates a new volume in the specified compartment.
|
CreateVolumeBackupResponse |
createVolumeBackup(CreateVolumeBackupRequest request)
Creates a new backup of the specified volume.
|
CreateVolumeBackupPolicyResponse |
createVolumeBackupPolicy(CreateVolumeBackupPolicyRequest request)
Creates a new user defined backup policy.
|
CreateVolumeBackupPolicyAssignmentResponse |
createVolumeBackupPolicyAssignment(CreateVolumeBackupPolicyAssignmentRequest request)
Assigns a volume backup policy to the specified volume.
|
CreateVolumeGroupResponse |
createVolumeGroup(CreateVolumeGroupRequest request)
Creates a new volume group in the specified compartment.
|
CreateVolumeGroupBackupResponse |
createVolumeGroupBackup(CreateVolumeGroupBackupRequest request)
Creates a new backup volume group of the specified volume group.
|
DeleteBootVolumeResponse |
deleteBootVolume(DeleteBootVolumeRequest request)
Deletes the specified boot volume.
|
DeleteBootVolumeBackupResponse |
deleteBootVolumeBackup(DeleteBootVolumeBackupRequest request)
Deletes a boot volume backup.
|
DeleteBootVolumeKmsKeyResponse |
deleteBootVolumeKmsKey(DeleteBootVolumeKmsKeyRequest request)
Removes the specified boot volume’s assigned Vault Service encryption key.
|
DeleteVolumeResponse |
deleteVolume(DeleteVolumeRequest request)
Deletes the specified volume.
|
DeleteVolumeBackupResponse |
deleteVolumeBackup(DeleteVolumeBackupRequest request)
Deletes a volume backup.
|
DeleteVolumeBackupPolicyResponse |
deleteVolumeBackupPolicy(DeleteVolumeBackupPolicyRequest request)
Deletes a user defined backup policy.
|
DeleteVolumeBackupPolicyAssignmentResponse |
deleteVolumeBackupPolicyAssignment(DeleteVolumeBackupPolicyAssignmentRequest request)
Deletes a volume backup policy assignment.
|
DeleteVolumeGroupResponse |
deleteVolumeGroup(DeleteVolumeGroupRequest request)
Deletes the specified volume group.
|
DeleteVolumeGroupBackupResponse |
deleteVolumeGroupBackup(DeleteVolumeGroupBackupRequest request)
Deletes a volume group backup.
|
DeleteVolumeKmsKeyResponse |
deleteVolumeKmsKey(DeleteVolumeKmsKeyRequest request)
Removes the specified volume’s assigned Vault service encryption key.
|
GetBlockVolumeReplicaResponse |
getBlockVolumeReplica(GetBlockVolumeReplicaRequest request)
Gets information for the specified block volume replica.
|
GetBootVolumeResponse |
getBootVolume(GetBootVolumeRequest request)
Gets information for the specified boot volume.
|
GetBootVolumeBackupResponse |
getBootVolumeBackup(GetBootVolumeBackupRequest request)
Gets information for the specified boot volume backup.
|
GetBootVolumeKmsKeyResponse |
getBootVolumeKmsKey(GetBootVolumeKmsKeyRequest request)
Gets the Vault service encryption key assigned to the specified boot volume.
|
GetBootVolumeReplicaResponse |
getBootVolumeReplica(GetBootVolumeReplicaRequest request)
Gets information for the specified boot volume replica.
|
String |
getClientCommonLibraryVersion() |
protected ClientConfigurator |
getDefaultConfigurator() |
String |
getEndpoint() |
Optional<String> |
getMinimumClientCommonLibraryVersionFromClient() |
BlockstoragePaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data.
|
GetVolumeResponse |
getVolume(GetVolumeRequest request)
Gets information for the specified volume.
|
GetVolumeBackupResponse |
getVolumeBackup(GetVolumeBackupRequest request)
Gets information for the specified volume backup.
|
GetVolumeBackupPolicyResponse |
getVolumeBackupPolicy(GetVolumeBackupPolicyRequest request)
Gets information for the specified volume backup policy.
|
GetVolumeBackupPolicyAssetAssignmentResponse |
getVolumeBackupPolicyAssetAssignment(GetVolumeBackupPolicyAssetAssignmentRequest request)
Gets the volume backup policy assignment for the specified volume.
|
GetVolumeBackupPolicyAssignmentResponse |
getVolumeBackupPolicyAssignment(GetVolumeBackupPolicyAssignmentRequest request)
Gets information for the specified volume backup policy assignment.
|
GetVolumeGroupResponse |
getVolumeGroup(GetVolumeGroupRequest request)
Gets information for the specified volume group.
|
GetVolumeGroupBackupResponse |
getVolumeGroupBackup(GetVolumeGroupBackupRequest request)
Gets information for the specified volume group backup.
|
GetVolumeGroupReplicaResponse |
getVolumeGroupReplica(GetVolumeGroupReplicaRequest request)
Gets information for the specified volume group replica.
|
GetVolumeKmsKeyResponse |
getVolumeKmsKey(GetVolumeKmsKeyRequest request)
Gets the Vault service encryption key assigned to the specified volume.
|
BlockstorageWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
ListBlockVolumeReplicasResponse |
listBlockVolumeReplicas(ListBlockVolumeReplicasRequest request)
Lists the block volume replicas in the specified compartment and availability domain.
|
ListBootVolumeBackupsResponse |
listBootVolumeBackups(ListBootVolumeBackupsRequest request)
Lists the boot volume backups in the specified compartment.
|
ListBootVolumeReplicasResponse |
listBootVolumeReplicas(ListBootVolumeReplicasRequest request)
Lists the boot volume replicas in the specified compartment and availability domain.
|
ListBootVolumesResponse |
listBootVolumes(ListBootVolumesRequest request)
Lists the boot volumes in the specified compartment and availability domain.
|
ListVolumeBackupPoliciesResponse |
listVolumeBackupPolicies(ListVolumeBackupPoliciesRequest request)
Lists all the volume backup policies available in the specified compartment.
|
ListVolumeBackupsResponse |
listVolumeBackups(ListVolumeBackupsRequest request)
Lists the volume backups in the specified compartment.
|
ListVolumeGroupBackupsResponse |
listVolumeGroupBackups(ListVolumeGroupBackupsRequest request)
Lists the volume group backups in the specified compartment.
|
ListVolumeGroupReplicasResponse |
listVolumeGroupReplicas(ListVolumeGroupReplicasRequest request)
Lists the volume group replicas in the specified compartment.
|
ListVolumeGroupsResponse |
listVolumeGroups(ListVolumeGroupsRequest request)
Lists the volume groups in the specified compartment and availability domain.
|
ListVolumesResponse |
listVolumes(ListVolumesRequest request)
Lists the volumes in the specified compartment and availability domain.
|
BlockstorageWaiters |
newWaiters(WorkRequest workRequestClient)
Creates a new
BlockstorageWaiters for resources for this service. |
void |
populateServiceParametersInEndpoint(String endpoint,
Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base
endpoint.
|
void |
refreshClient()
Rebuild the backing
HttpClient . |
void |
setEndpoint(String endpoint) |
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
void |
updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.
|
UpdateBootVolumeResponse |
updateBootVolume(UpdateBootVolumeRequest request)
Updates the specified boot volume’s display name, defined tags, and free-form tags.
|
UpdateBootVolumeBackupResponse |
updateBootVolumeBackup(UpdateBootVolumeBackupRequest request)
Updates the display name for the specified boot volume backup.
|
UpdateBootVolumeKmsKeyResponse |
updateBootVolumeKmsKey(UpdateBootVolumeKmsKeyRequest request)
Updates the specified volume with a new Vault service master encryption key.
|
UpdateVolumeResponse |
updateVolume(UpdateVolumeRequest request)
Updates the specified volume’s display name.
|
UpdateVolumeBackupResponse |
updateVolumeBackup(UpdateVolumeBackupRequest request)
Updates the display name for the specified volume backup.
|
UpdateVolumeBackupPolicyResponse |
updateVolumeBackupPolicy(UpdateVolumeBackupPolicyRequest request)
Updates a user defined backup policy.
|
UpdateVolumeGroupResponse |
updateVolumeGroup(UpdateVolumeGroupRequest request)
Updates the set of volumes in a volume group along with the display name.
|
UpdateVolumeGroupBackupResponse |
updateVolumeGroupBackup(UpdateVolumeGroupBackupRequest request)
Updates the display name for the specified volume group backup.
|
UpdateVolumeKmsKeyResponse |
updateVolumeKmsKey(UpdateVolumeKmsKeyRequest request)
Updates the specified volume with a new Key Management master encryption key.
|
void |
useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.
|
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for Blockstorage.
protected final ExecutorService executorService
public final String clientCommonLibraryVersion
@Deprecated public BlockstorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BlockstorageClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public BlockstorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BlockstorageClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public BlockstorageClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BlockstorageClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BlockstorageClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BlockstorageClient.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 BlockstorageClient(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 BlockstorageClient.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 BlockstorageClient(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 BlockstorageClient.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
@Deprecated public BlockstorageClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see BlockstorageClient.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
executorService
- BlockstorageClient.Builder.executorService
public static BlockstorageClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
Blockstorage
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.
setRegion
in interface Blockstorage
region
- The region of the service.public void setRegion(String regionId)
Blockstorage
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
.
setRegion
in interface Blockstorage
regionId
- The public region ID.public ChangeBootVolumeBackupCompartmentResponse changeBootVolumeBackupCompartment(ChangeBootVolumeBackupCompartmentRequest request)
Blockstorage
Moves 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 Blockstorage
request
- The request object containing the details to sendpublic ChangeBootVolumeCompartmentResponse changeBootVolumeCompartment(ChangeBootVolumeCompartmentRequest request)
Blockstorage
Moves 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 Blockstorage
request
- The request object containing the details to sendpublic ChangeVolumeBackupCompartmentResponse changeVolumeBackupCompartment(ChangeVolumeBackupCompartmentRequest request)
Blockstorage
Moves 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 Blockstorage
request
- The request object containing the details to sendpublic ChangeVolumeCompartmentResponse changeVolumeCompartment(ChangeVolumeCompartmentRequest request)
Blockstorage
Moves 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 Blockstorage
request
- The request object containing the details to sendpublic ChangeVolumeGroupBackupCompartmentResponse changeVolumeGroupBackupCompartment(ChangeVolumeGroupBackupCompartmentRequest request)
Blockstorage
Moves 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 Blockstorage
request
- The request object containing the details to sendpublic ChangeVolumeGroupCompartmentResponse changeVolumeGroupCompartment(ChangeVolumeGroupCompartmentRequest request)
Blockstorage
Moves 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 Blockstorage
request
- The request object containing the details to sendpublic CopyBootVolumeBackupResponse copyBootVolumeBackup(CopyBootVolumeBackupRequest request)
Blockstorage
Creates a boot volume backup copy in specified region. For general information about volume backups, see Overview of Boot Volume Backups
copyBootVolumeBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic CopyVolumeBackupResponse copyVolumeBackup(CopyVolumeBackupRequest request)
Blockstorage
Creates a volume backup copy in specified region. For general information about volume backups, see Overview of Block Volume Service Backups
copyVolumeBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic CopyVolumeGroupBackupResponse copyVolumeGroupBackup(CopyVolumeGroupBackupRequest request)
Blockstorage
Creates a volume group backup copy in specified region. For general information about volume group backups, see Overview of Block Volume Backups.
copyVolumeGroupBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic CreateBootVolumeResponse createBootVolume(CreateBootVolumeRequest request)
Blockstorage
Creates 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 Blockstorage
request
- The request object containing the details to sendpublic CreateBootVolumeBackupResponse createBootVolumeBackup(CreateBootVolumeBackupRequest request)
Blockstorage
Creates 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 Blockstorage
request
- The request object containing the details to sendpublic CreateVolumeResponse createVolume(CreateVolumeRequest request)
Blockstorage
Creates 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/iaas/Content/Identity/Concepts/overview.htm). For information about availability domains, see [Regions and Availability Domains](https://docs.cloud.oracle.com/iaas/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 Blockstorage
request
- The request object containing the details to sendpublic CreateVolumeBackupResponse createVolumeBackup(CreateVolumeBackupRequest request)
Blockstorage
Creates 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 Blockstorage
request
- The request object containing the details to sendpublic CreateVolumeBackupPolicyResponse createVolumeBackupPolicy(CreateVolumeBackupPolicyRequest request)
Blockstorage
Creates 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 Blockstorage
request
- The request object containing the details to sendpublic CreateVolumeBackupPolicyAssignmentResponse createVolumeBackupPolicyAssignment(CreateVolumeBackupPolicyAssignmentRequest request)
Blockstorage
Assigns 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 Blockstorage
request
- The request object containing the details to sendpublic CreateVolumeGroupResponse createVolumeGroup(CreateVolumeGroupRequest request)
Blockstorage
Creates 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. 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/iaas/Content/Block/Concepts/volumegroups.htm).
createVolumeGroup
in interface Blockstorage
request
- The request object containing the details to sendpublic CreateVolumeGroupBackupResponse createVolumeGroupBackup(CreateVolumeGroupBackupRequest request)
Blockstorage
Creates a new backup volume group of the specified volume group. For more information, see Volume Groups.
createVolumeGroupBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic DeleteBootVolumeResponse deleteBootVolume(DeleteBootVolumeRequest request)
Blockstorage
Deletes 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 Blockstorage
request
- The request object containing the details to sendpublic DeleteBootVolumeBackupResponse deleteBootVolumeBackup(DeleteBootVolumeBackupRequest request)
Blockstorage
Deletes a boot volume backup.
deleteBootVolumeBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic DeleteBootVolumeKmsKeyResponse deleteBootVolumeKmsKey(DeleteBootVolumeKmsKeyRequest request)
Blockstorage
Removes the specified boot volume’s assigned Vault Service encryption key.
deleteBootVolumeKmsKey
in interface Blockstorage
request
- The request object containing the details to sendpublic DeleteVolumeResponse deleteVolume(DeleteVolumeRequest request)
Blockstorage
Deletes 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 Blockstorage
request
- The request object containing the details to sendpublic DeleteVolumeBackupResponse deleteVolumeBackup(DeleteVolumeBackupRequest request)
Blockstorage
Deletes a volume backup.
deleteVolumeBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic DeleteVolumeBackupPolicyResponse deleteVolumeBackupPolicy(DeleteVolumeBackupPolicyRequest request)
Blockstorage
Deletes a user defined backup policy. For more information about user defined backup policies, see Policy-Based Backups.
Avoid entering confidential information.
deleteVolumeBackupPolicy
in interface Blockstorage
request
- The request object containing the details to sendpublic DeleteVolumeBackupPolicyAssignmentResponse deleteVolumeBackupPolicyAssignment(DeleteVolumeBackupPolicyAssignmentRequest request)
Blockstorage
Deletes a volume backup policy assignment.
deleteVolumeBackupPolicyAssignment
in interface Blockstorage
request
- The request object containing the details to sendpublic DeleteVolumeGroupResponse deleteVolumeGroup(DeleteVolumeGroupRequest request)
Blockstorage
Deletes the specified volume group. Individual volumes are not deleted, only the volume group is deleted. For more information, see Volume Groups.
deleteVolumeGroup
in interface Blockstorage
request
- The request object containing the details to sendpublic DeleteVolumeGroupBackupResponse deleteVolumeGroupBackup(DeleteVolumeGroupBackupRequest request)
Blockstorage
Deletes a volume group backup. This operation deletes all the backups in the volume group. For more information, see Volume Groups.
deleteVolumeGroupBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic DeleteVolumeKmsKeyResponse deleteVolumeKmsKey(DeleteVolumeKmsKeyRequest request)
Blockstorage
Removes the specified volume’s assigned Vault service encryption key.
deleteVolumeKmsKey
in interface Blockstorage
request
- The request object containing the details to sendpublic GetBlockVolumeReplicaResponse getBlockVolumeReplica(GetBlockVolumeReplicaRequest request)
Blockstorage
Gets information for the specified block volume replica.
getBlockVolumeReplica
in interface Blockstorage
request
- The request object containing the details to sendpublic GetBootVolumeResponse getBootVolume(GetBootVolumeRequest request)
Blockstorage
Gets information for the specified boot volume.
getBootVolume
in interface Blockstorage
request
- The request object containing the details to sendpublic GetBootVolumeBackupResponse getBootVolumeBackup(GetBootVolumeBackupRequest request)
Blockstorage
Gets information for the specified boot volume backup.
getBootVolumeBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic GetBootVolumeKmsKeyResponse getBootVolumeKmsKey(GetBootVolumeKmsKeyRequest request)
Blockstorage
Gets the Vault service encryption key assigned to the specified boot volume.
getBootVolumeKmsKey
in interface Blockstorage
request
- The request object containing the details to sendpublic GetBootVolumeReplicaResponse getBootVolumeReplica(GetBootVolumeReplicaRequest request)
Blockstorage
Gets information for the specified boot volume replica.
getBootVolumeReplica
in interface Blockstorage
request
- The request object containing the details to sendpublic GetVolumeResponse getVolume(GetVolumeRequest request)
Blockstorage
Gets information for the specified volume.
getVolume
in interface Blockstorage
request
- The request object containing the details to sendpublic GetVolumeBackupResponse getVolumeBackup(GetVolumeBackupRequest request)
Blockstorage
Gets information for the specified volume backup.
getVolumeBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic GetVolumeBackupPolicyResponse getVolumeBackupPolicy(GetVolumeBackupPolicyRequest request)
Blockstorage
Gets information for the specified volume backup policy.
getVolumeBackupPolicy
in interface Blockstorage
request
- The request object containing the details to sendpublic GetVolumeBackupPolicyAssetAssignmentResponse getVolumeBackupPolicyAssetAssignment(GetVolumeBackupPolicyAssetAssignmentRequest request)
Blockstorage
Gets 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 Blockstorage
request
- The request object containing the details to sendpublic GetVolumeBackupPolicyAssignmentResponse getVolumeBackupPolicyAssignment(GetVolumeBackupPolicyAssignmentRequest request)
Blockstorage
Gets information for the specified volume backup policy assignment.
getVolumeBackupPolicyAssignment
in interface Blockstorage
request
- The request object containing the details to sendpublic GetVolumeGroupResponse getVolumeGroup(GetVolumeGroupRequest request)
Blockstorage
Gets information for the specified volume group. For more information, see Volume Groups.
getVolumeGroup
in interface Blockstorage
request
- The request object containing the details to sendpublic GetVolumeGroupBackupResponse getVolumeGroupBackup(GetVolumeGroupBackupRequest request)
Blockstorage
Gets information for the specified volume group backup. For more information, see Volume Groups.
getVolumeGroupBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic GetVolumeGroupReplicaResponse getVolumeGroupReplica(GetVolumeGroupReplicaRequest request)
Blockstorage
Gets information for the specified volume group replica.
getVolumeGroupReplica
in interface Blockstorage
request
- The request object containing the details to sendpublic GetVolumeKmsKeyResponse getVolumeKmsKey(GetVolumeKmsKeyRequest request)
Blockstorage
Gets the Vault service encryption key assigned to the specified volume.
getVolumeKmsKey
in interface Blockstorage
request
- The request object containing the details to sendpublic ListBlockVolumeReplicasResponse listBlockVolumeReplicas(ListBlockVolumeReplicasRequest request)
Blockstorage
Lists the block volume replicas in the specified compartment and availability domain.
listBlockVolumeReplicas
in interface Blockstorage
request
- The request object containing the details to sendpublic ListBootVolumeBackupsResponse listBootVolumeBackups(ListBootVolumeBackupsRequest request)
Blockstorage
Lists the boot volume backups in the specified compartment. You can filter the results by boot volume.
listBootVolumeBackups
in interface Blockstorage
request
- The request object containing the details to sendpublic ListBootVolumeReplicasResponse listBootVolumeReplicas(ListBootVolumeReplicasRequest request)
Blockstorage
Lists the boot volume replicas in the specified compartment and availability domain.
listBootVolumeReplicas
in interface Blockstorage
request
- The request object containing the details to sendpublic ListBootVolumesResponse listBootVolumes(ListBootVolumesRequest request)
Blockstorage
Lists the boot volumes in the specified compartment and availability domain.
listBootVolumes
in interface Blockstorage
request
- The request object containing the details to sendpublic ListVolumeBackupPoliciesResponse listVolumeBackupPolicies(ListVolumeBackupPoliciesRequest request)
Blockstorage
Lists 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 Blockstorage
request
- The request object containing the details to sendpublic ListVolumeBackupsResponse listVolumeBackups(ListVolumeBackupsRequest request)
Blockstorage
Lists the volume backups in the specified compartment. You can filter the results by volume.
listVolumeBackups
in interface Blockstorage
request
- The request object containing the details to sendpublic ListVolumeGroupBackupsResponse listVolumeGroupBackups(ListVolumeGroupBackupsRequest request)
Blockstorage
Lists 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 Blockstorage
request
- The request object containing the details to sendpublic ListVolumeGroupReplicasResponse listVolumeGroupReplicas(ListVolumeGroupReplicasRequest request)
Blockstorage
Lists the volume group replicas in the specified compartment. You can filter the results by volume group. For more information, see Volume Group Replication.
listVolumeGroupReplicas
in interface Blockstorage
request
- The request object containing the details to sendpublic ListVolumeGroupsResponse listVolumeGroups(ListVolumeGroupsRequest request)
Blockstorage
Lists the volume groups in the specified compartment and availability domain. For more information, see Volume Groups.
listVolumeGroups
in interface Blockstorage
request
- The request object containing the details to sendpublic ListVolumesResponse listVolumes(ListVolumesRequest request)
Blockstorage
Lists the volumes in the specified compartment and availability domain.
listVolumes
in interface Blockstorage
request
- The request object containing the details to sendpublic UpdateBootVolumeResponse updateBootVolume(UpdateBootVolumeRequest request)
Blockstorage
Updates the specified boot volume’s display name, defined tags, and free-form tags.
updateBootVolume
in interface Blockstorage
request
- The request object containing the details to sendpublic UpdateBootVolumeBackupResponse updateBootVolumeBackup(UpdateBootVolumeBackupRequest request)
Blockstorage
Updates the display name for the specified boot volume backup. Avoid entering confidential information.
updateBootVolumeBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic UpdateBootVolumeKmsKeyResponse updateBootVolumeKmsKey(UpdateBootVolumeKmsKeyRequest request)
Blockstorage
Updates the specified volume with a new Vault service master encryption key.
updateBootVolumeKmsKey
in interface Blockstorage
request
- The request object containing the details to sendpublic UpdateVolumeResponse updateVolume(UpdateVolumeRequest request)
Blockstorage
Updates the specified volume’s display name. Avoid entering confidential information.
updateVolume
in interface Blockstorage
request
- The request object containing the details to sendpublic UpdateVolumeBackupResponse updateVolumeBackup(UpdateVolumeBackupRequest request)
Blockstorage
Updates the display name for the specified volume backup. Avoid entering confidential information.
updateVolumeBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic UpdateVolumeBackupPolicyResponse updateVolumeBackupPolicy(UpdateVolumeBackupPolicyRequest request)
Blockstorage
Updates a user defined backup policy. For more information about user defined backup policies, see Policy-Based Backups.
Avoid entering confidential information.
updateVolumeBackupPolicy
in interface Blockstorage
request
- The request object containing the details to sendpublic UpdateVolumeGroupResponse updateVolumeGroup(UpdateVolumeGroupRequest request)
Blockstorage
Updates 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/iaas/Content/Block/Concepts/volumegroups.htm).
updateVolumeGroup
in interface Blockstorage
request
- The request object containing the details to sendpublic UpdateVolumeGroupBackupResponse updateVolumeGroupBackup(UpdateVolumeGroupBackupRequest request)
Blockstorage
Updates the display name for the specified volume group backup. For more information, see Volume Groups.
updateVolumeGroupBackup
in interface Blockstorage
request
- The request object containing the details to sendpublic UpdateVolumeKmsKeyResponse updateVolumeKmsKey(UpdateVolumeKmsKeyRequest request)
Blockstorage
Updates the specified volume with a new Key Management master encryption key.
updateVolumeKmsKey
in interface Blockstorage
request
- The request object containing the details to sendpublic BlockstorageWaiters getWaiters()
Blockstorage
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface Blockstorage
public BlockstorageWaiters newWaiters(WorkRequest workRequestClient)
Blockstorage
Creates a new BlockstorageWaiters
for resources for this service.
newWaiters
in interface Blockstorage
workRequestClient
- The work request service client used to query for work request
statuspublic BlockstoragePaginators getPaginators()
Blockstorage
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without
having to manually deal with pagination and page tokens.
getPaginators
in interface Blockstorage
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()
Copyright © 2016–2024. All rights reserved.