Class GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_backup_restore_plan.GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter>
- Enclosing interface:
- GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter
@Stability(Stable) public static final class GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.Builder extends Object implements software.amazon.jsii.Builder<GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilterbuild()Builds the configured instance.GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.BuildergroupKinds(com.hashicorp.cdktf.IResolvable groupKinds)GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.BuildergroupKinds(List<? extends GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilterGroupKinds> groupKinds)GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.BuilderjsonPath(String jsonPath)GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.Buildernamespaces(List<String> namespaces)
-
-
-
Method Detail
-
groupKinds
@Stability(Stable) public GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.Builder groupKinds(com.hashicorp.cdktf.IResolvable groupKinds)
Sets the value ofGkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.getGroupKinds()- Parameters:
groupKinds- group_kinds block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#group_kinds GkeBackupRestorePlan#group_kinds}- Returns:
this
-
groupKinds
@Stability(Stable) public GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.Builder groupKinds(List<? extends GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilterGroupKinds> groupKinds)
Sets the value ofGkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.getGroupKinds()- Parameters:
groupKinds- group_kinds block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#group_kinds GkeBackupRestorePlan#group_kinds}- Returns:
this
-
jsonPath
@Stability(Stable) public GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.Builder jsonPath(String jsonPath)
- Parameters:
jsonPath- This is a JSONPath expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#json_path GkeBackupRestorePlan#json_path}- Returns:
this
-
namespaces
@Stability(Stable) public GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.Builder namespaces(List<String> namespaces)
Sets the value ofGkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter.getNamespaces()- Parameters:
namespaces- (Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation). To mix cluster-scoped and namespaced resources in the same rule, use an empty string ("") as one of the target namespaces. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_backup_restore_plan#namespaces GkeBackupRestorePlan#namespaces}- Returns:
this
-
build
@Stability(Stable) public GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter>- Returns:
- a new instance of
GkeBackupRestorePlanRestoreConfigTransformationRulesResourceFilter - Throws:
NullPointerException- if any required attribute was not provided
-
-