Class GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_hub_feature.GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync>
- Enclosing interface:
- GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync
@Stability(Stable) public static final class GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync.Builder extends Object implements software.amazon.jsii.Builder<GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
enabled
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync.Builder enabled(Boolean enabled)
- Parameters:
enabled- Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#enabled GkeHubFeature#enabled}- Returns:
this
-
enabled
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
- Parameters:
enabled- Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#enabled GkeHubFeature#enabled}- Returns:
this
-
git
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync.Builder git(GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit git)
Sets the value ofGkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync.getGit()- Parameters:
git- git block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#git GkeHubFeature#git}- Returns:
this
-
oci
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync.Builder oci(GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncOci oci)
Sets the value ofGkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync.getOci()- Parameters:
oci- oci block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#oci GkeHubFeature#oci}- Returns:
this
-
preventDrift
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync.Builder preventDrift(Boolean preventDrift)
- Parameters:
preventDrift- Set to true to enable the Config Sync admission webhook to prevent drifts. If set to 'false', disables the Config Sync admission webhook and does not prevent drifts. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#prevent_drift GkeHubFeature#prevent_drift}- Returns:
this
-
preventDrift
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync.Builder preventDrift(com.hashicorp.cdktf.IResolvable preventDrift)
- Parameters:
preventDrift- Set to true to enable the Config Sync admission webhook to prevent drifts. If set to 'false', disables the Config Sync admission webhook and does not prevent drifts. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#prevent_drift GkeHubFeature#prevent_drift}- Returns:
this
-
sourceFormat
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync.Builder sourceFormat(String sourceFormat)
- Parameters:
sourceFormat- Specifies whether the Config Sync Repo is in hierarchical or unstructured mode. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#source_format GkeHubFeature#source_format}- Returns:
this
-
build
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync>- Returns:
- a new instance of
GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSync - Throws:
NullPointerException- if any required attribute was not provided
-
-