Class GkeBackupRestorePlanRestoreConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.gke_backup_restore_plan.GkeBackupRestorePlanRestoreConfig.Jsii$Proxy
-
- All Implemented Interfaces:
GkeBackupRestorePlanRestoreConfig,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- GkeBackupRestorePlanRestoreConfig
@Stability(Stable) @Internal public static final class GkeBackupRestorePlanRestoreConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GkeBackupRestorePlanRestoreConfig
An implementation forGkeBackupRestorePlanRestoreConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.gke_backup_restore_plan.GkeBackupRestorePlanRestoreConfig
GkeBackupRestorePlanRestoreConfig.Builder, GkeBackupRestorePlanRestoreConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(GkeBackupRestorePlanRestoreConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theGkeBackupRestorePlanRestoreConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetAllNamespaces()If True, restore all namespaced resources in the Backup.StringgetClusterResourceConflictPolicy()Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.GkeBackupRestorePlanRestoreConfigClusterResourceRestoreScopegetClusterResourceRestoreScope()cluster_resource_restore_scope block.GkeBackupRestorePlanRestoreConfigExcludedNamespacesgetExcludedNamespaces()excluded_namespaces block.StringgetNamespacedResourceRestoreMode()Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.ObjectgetNoNamespaces()Do not restore any namespaced resources if set to "True".GkeBackupRestorePlanRestoreConfigRestoreOrdergetRestoreOrder()restore_order block.GkeBackupRestorePlanRestoreConfigSelectedApplicationsgetSelectedApplications()selected_applications block.GkeBackupRestorePlanRestoreConfigSelectedNamespacesgetSelectedNamespaces()selected_namespaces block.ObjectgetTransformationRules()transformation_rules block.StringgetVolumeDataRestorePolicy()Specifies the mechanism to be used to restore volume data.ObjectgetVolumeDataRestorePolicyBindings()volume_data_restore_policy_bindings block.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(GkeBackupRestorePlanRestoreConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theGkeBackupRestorePlanRestoreConfig.Builder.
-
-
Method Detail
-
getAllNamespaces
public final Object getAllNamespaces()
Description copied from interface:GkeBackupRestorePlanRestoreConfigIf True, restore all namespaced resources in the Backup. Setting this field to False will result in an error.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#all_namespaces GkeBackupRestorePlan#all_namespaces}
- Specified by:
getAllNamespacesin interfaceGkeBackupRestorePlanRestoreConfig
-
getClusterResourceConflictPolicy
public final String getClusterResourceConflictPolicy()
Description copied from interface:GkeBackupRestorePlanRestoreConfigDefines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.This MUST be set to a value other than 'CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED' if 'clusterResourceRestoreScope' is anyting other than 'noGroupKinds'. See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#clusterresourceconflictpolicy for more information on each policy option. Possible values: ["USE_EXISTING_VERSION", "USE_BACKUP_VERSION"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#cluster_resource_conflict_policy GkeBackupRestorePlan#cluster_resource_conflict_policy}
- Specified by:
getClusterResourceConflictPolicyin interfaceGkeBackupRestorePlanRestoreConfig
-
getClusterResourceRestoreScope
public final GkeBackupRestorePlanRestoreConfigClusterResourceRestoreScope getClusterResourceRestoreScope()
Description copied from interface:GkeBackupRestorePlanRestoreConfigcluster_resource_restore_scope block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#cluster_resource_restore_scope GkeBackupRestorePlan#cluster_resource_restore_scope}
- Specified by:
getClusterResourceRestoreScopein interfaceGkeBackupRestorePlanRestoreConfig
-
getExcludedNamespaces
public final GkeBackupRestorePlanRestoreConfigExcludedNamespaces getExcludedNamespaces()
Description copied from interface:GkeBackupRestorePlanRestoreConfigexcluded_namespaces block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#excluded_namespaces GkeBackupRestorePlan#excluded_namespaces}
- Specified by:
getExcludedNamespacesin interfaceGkeBackupRestorePlanRestoreConfig
-
getNamespacedResourceRestoreMode
public final String getNamespacedResourceRestoreMode()
Description copied from interface:GkeBackupRestorePlanRestoreConfigDefines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.This MUST be set to a value other than 'NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED' if the 'namespacedResourceRestoreScope' is anything other than 'noNamespaces'. See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#namespacedresourcerestoremode for more information on each mode. Possible values: ["DELETE_AND_RESTORE", "FAIL_ON_CONFLICT", "MERGE_SKIP_ON_CONFLICT", "MERGE_REPLACE_VOLUME_ON_CONFLICT", "MERGE_REPLACE_ON_CONFLICT"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#namespaced_resource_restore_mode GkeBackupRestorePlan#namespaced_resource_restore_mode}
- Specified by:
getNamespacedResourceRestoreModein interfaceGkeBackupRestorePlanRestoreConfig
-
getNoNamespaces
public final Object getNoNamespaces()
Description copied from interface:GkeBackupRestorePlanRestoreConfigDo not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#no_namespaces GkeBackupRestorePlan#no_namespaces}
- Specified by:
getNoNamespacesin interfaceGkeBackupRestorePlanRestoreConfig
-
getRestoreOrder
public final GkeBackupRestorePlanRestoreConfigRestoreOrder getRestoreOrder()
Description copied from interface:GkeBackupRestorePlanRestoreConfigrestore_order block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#restore_order GkeBackupRestorePlan#restore_order}
- Specified by:
getRestoreOrderin interfaceGkeBackupRestorePlanRestoreConfig
-
getSelectedApplications
public final GkeBackupRestorePlanRestoreConfigSelectedApplications getSelectedApplications()
Description copied from interface:GkeBackupRestorePlanRestoreConfigselected_applications block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#selected_applications GkeBackupRestorePlan#selected_applications}
- Specified by:
getSelectedApplicationsin interfaceGkeBackupRestorePlanRestoreConfig
-
getSelectedNamespaces
public final GkeBackupRestorePlanRestoreConfigSelectedNamespaces getSelectedNamespaces()
Description copied from interface:GkeBackupRestorePlanRestoreConfigselected_namespaces block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#selected_namespaces GkeBackupRestorePlan#selected_namespaces}
- Specified by:
getSelectedNamespacesin interfaceGkeBackupRestorePlanRestoreConfig
-
getTransformationRules
public final Object getTransformationRules()
Description copied from interface:GkeBackupRestorePlanRestoreConfigtransformation_rules block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#transformation_rules GkeBackupRestorePlan#transformation_rules}
- Specified by:
getTransformationRulesin interfaceGkeBackupRestorePlanRestoreConfig
-
getVolumeDataRestorePolicy
public final String getVolumeDataRestorePolicy()
Description copied from interface:GkeBackupRestorePlanRestoreConfigSpecifies the mechanism to be used to restore volume data.This should be set to a value other than 'NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED' if the 'namespacedResourceRestoreScope' is anything other than 'noNamespaces'. If not specified, it will be treated as 'NO_VOLUME_DATA_RESTORATION'. See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#VolumeDataRestorePolicy for more information on each policy option. Possible values: ["RESTORE_VOLUME_DATA_FROM_BACKUP", "REUSE_VOLUME_HANDLE_FROM_BACKUP", "NO_VOLUME_DATA_RESTORATION"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#volume_data_restore_policy GkeBackupRestorePlan#volume_data_restore_policy}
- Specified by:
getVolumeDataRestorePolicyin interfaceGkeBackupRestorePlanRestoreConfig
-
getVolumeDataRestorePolicyBindings
public final Object getVolumeDataRestorePolicyBindings()
Description copied from interface:GkeBackupRestorePlanRestoreConfigvolume_data_restore_policy_bindings block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#volume_data_restore_policy_bindings GkeBackupRestorePlan#volume_data_restore_policy_bindings}
- Specified by:
getVolumeDataRestorePolicyBindingsin interfaceGkeBackupRestorePlanRestoreConfig
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-