public class ResourceConfiguration
extends com.ibm.cloud.sdk.core.service.BaseService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_SERVICE_NAME
Default service name used when configuring the `ResourceConfiguration` client.
|
static java.lang.String |
DEFAULT_SERVICE_URL
Default service endpoint URL.
|
| Constructor and Description |
|---|
ResourceConfiguration(java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `ResourceConfiguration` client.
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicy> |
createBackupPolicy(CreateBackupPolicyOptions createBackupPolicyOptions)
Add a new backup policy to the COS Bucket.
|
com.ibm.cloud.sdk.core.http.ServiceCall<BackupVault> |
createBackupVault(CreateBackupVaultOptions createBackupVaultOptions)
create a BackupVault.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Restore> |
createRestore(CreateRestoreOptions createRestoreOptions)
Initiate a Restore.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteBackupPolicy(DeleteBackupPolicyOptions deleteBackupPolicyOptions)
Delete a BackupPolicy.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteBackupVault(DeleteBackupVaultOptions deleteBackupVaultOptions)
Delete an empty Backup Vault.
|
com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicy> |
getBackupPolicy(GetBackupPolicyOptions getBackupPolicyOptions)
Get BackupPolicy.
|
com.ibm.cloud.sdk.core.http.ServiceCall<BackupVault> |
getBackupVault(GetBackupVaultOptions getBackupVaultOptions)
get the config for a Backup Vault.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Bucket> |
getBucketConfig(GetBucketConfigOptions getBucketConfigOptions)
Returns metadata for the specified bucket.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Restore> |
getRestore(GetRestoreOptions getRestoreOptions)
Get Restore.
|
com.ibm.cloud.sdk.core.http.ServiceCall<RecoveryRange> |
getSourceResourceRecoveryRange(GetSourceResourceRecoveryRangeOptions getSourceResourceRecoveryRangeOptions)
get RecoveryRange info.
|
com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyCollection> |
listBackupPolicies(ListBackupPoliciesOptions listBackupPoliciesOptions)
List BackupPolicies.
|
com.ibm.cloud.sdk.core.http.ServiceCall<BackupVaultCollection> |
listBackupVaults(ListBackupVaultsOptions listBackupVaultsOptions)
list BackupVaults.
|
com.ibm.cloud.sdk.core.http.ServiceCall<RecoveryRangeCollection> |
listRecoveryRanges(ListRecoveryRangesOptions listRecoveryRangesOptions)
List RecoveryRanges on a backup vault.
|
com.ibm.cloud.sdk.core.http.ServiceCall<RestoreCollection> |
listRestores(ListRestoresOptions listRestoresOptions)
List Restores.
|
static ResourceConfiguration |
newInstance()
Class method which constructs an instance of the `ResourceConfiguration` client.
|
static ResourceConfiguration |
newInstance(java.lang.String serviceName)
Class method which constructs an instance of the `ResourceConfiguration` client.
|
com.ibm.cloud.sdk.core.http.ServiceCall<RecoveryRange> |
patchSourceResourceRecoveryRange(PatchSourceResourceRecoveryRangeOptions patchSourceResourceRecoveryRangeOptions)
patch RecoveryRange info.
|
com.ibm.cloud.sdk.core.http.ServiceCall<BackupVault> |
updateBackupVault(UpdateBackupVaultOptions updateBackupVaultOptions)
Update the config on a Backup Vault.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
updateBucketConfig(UpdateBucketConfigOptions updateBucketConfigOptions)
Make changes to a bucket's configuration.
|
configureClient, configureHttpClient, configureService, constructServiceUrl, constructServiceURL, createServiceCall, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, processServiceCall, setAuthentication, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setServiceUrl, toStringpublic static final java.lang.String DEFAULT_SERVICE_NAME
public static final java.lang.String DEFAULT_SERVICE_URL
public ResourceConfiguration(java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
serviceName - the service name to be used when configuring the client instanceauthenticator - the Authenticator instance to be configured for this clientpublic static ResourceConfiguration newInstance()
public static ResourceConfiguration newInstance(java.lang.String serviceName)
serviceName - the service name to be used when configuring the client instancepublic com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicy> createBackupPolicy(CreateBackupPolicyOptions createBackupPolicyOptions)
createBackupPolicyOptions - the CreateBackupPolicyOptions containing the options for the callServiceCall with a result of type BackupPolicypublic com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicyCollection> listBackupPolicies(ListBackupPoliciesOptions listBackupPoliciesOptions)
listBackupPoliciesOptions - the ListBackupPoliciesOptions containing the options for the callServiceCall with a result of type BackupPolicyCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<BackupPolicy> getBackupPolicy(GetBackupPolicyOptions getBackupPolicyOptions)
getBackupPolicyOptions - the GetBackupPolicyOptions containing the options for the callServiceCall with a result of type BackupPolicypublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteBackupPolicy(DeleteBackupPolicyOptions deleteBackupPolicyOptions)
deleteBackupPolicyOptions - the DeleteBackupPolicyOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<BackupVaultCollection> listBackupVaults(ListBackupVaultsOptions listBackupVaultsOptions)
listBackupVaultsOptions - the ListBackupVaultsOptions containing the options for the callServiceCall with a result of type BackupVaultCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<BackupVault> createBackupVault(CreateBackupVaultOptions createBackupVaultOptions)
createBackupVaultOptions - the CreateBackupVaultOptions containing the options for the callServiceCall with a result of type BackupVaultpublic com.ibm.cloud.sdk.core.http.ServiceCall<BackupVault> getBackupVault(GetBackupVaultOptions getBackupVaultOptions)
getBackupVaultOptions - the GetBackupVaultOptions containing the options for the callServiceCall with a result of type BackupVaultpublic com.ibm.cloud.sdk.core.http.ServiceCall<BackupVault> updateBackupVault(UpdateBackupVaultOptions updateBackupVaultOptions)
updateBackupVaultOptions - the UpdateBackupVaultOptions containing the options for the callServiceCall with a result of type BackupVaultpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteBackupVault(DeleteBackupVaultOptions deleteBackupVaultOptions)
deleteBackupVaultOptions - the DeleteBackupVaultOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<Bucket> getBucketConfig(GetBucketConfigOptions getBucketConfigOptions)
getBucketConfigOptions - the GetBucketConfigOptions containing the options for the callServiceCall with a result of type Bucketpublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> updateBucketConfig(UpdateBucketConfigOptions updateBucketConfigOptions)
updateBucketConfigOptions - the UpdateBucketConfigOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<RecoveryRangeCollection> listRecoveryRanges(ListRecoveryRangesOptions listRecoveryRangesOptions)
listRecoveryRangesOptions - the ListRecoveryRangesOptions containing the options for the callServiceCall with a result of type RecoveryRangeCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<RecoveryRange> getSourceResourceRecoveryRange(GetSourceResourceRecoveryRangeOptions getSourceResourceRecoveryRangeOptions)
getSourceResourceRecoveryRangeOptions - the GetSourceResourceRecoveryRangeOptions containing the options for the callServiceCall with a result of type RecoveryRangepublic com.ibm.cloud.sdk.core.http.ServiceCall<RecoveryRange> patchSourceResourceRecoveryRange(PatchSourceResourceRecoveryRangeOptions patchSourceResourceRecoveryRangeOptions)
patchSourceResourceRecoveryRangeOptions - the PatchSourceResourceRecoveryRangeOptions containing the options for the callServiceCall with a result of type RecoveryRangepublic com.ibm.cloud.sdk.core.http.ServiceCall<Restore> createRestore(CreateRestoreOptions createRestoreOptions)
createRestoreOptions - the CreateRestoreOptions containing the options for the callServiceCall with a result of type Restorepublic com.ibm.cloud.sdk.core.http.ServiceCall<RestoreCollection> listRestores(ListRestoresOptions listRestoresOptions)
listRestoresOptions - the ListRestoresOptions containing the options for the callServiceCall with a result of type RestoreCollectionpublic com.ibm.cloud.sdk.core.http.ServiceCall<Restore> getRestore(GetRestoreOptions getRestoreOptions)
getRestoreOptions - the GetRestoreOptions containing the options for the callServiceCall with a result of type RestoreCopyright © 2025. All rights reserved.