Class GkeHubFeatureMembershipConfigmanagementPolicyController.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_hub_feature_membership.GkeHubFeatureMembershipConfigmanagementPolicyController.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeHubFeatureMembershipConfigmanagementPolicyController>
- Enclosing interface:
- GkeHubFeatureMembershipConfigmanagementPolicyController
@Stability(Stable) public static final class GkeHubFeatureMembershipConfigmanagementPolicyController.Builder extends Object implements software.amazon.jsii.Builder<GkeHubFeatureMembershipConfigmanagementPolicyController>
A builder forGkeHubFeatureMembershipConfigmanagementPolicyController
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
auditIntervalSeconds
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder auditIntervalSeconds(String auditIntervalSeconds)
- Parameters:
auditIntervalSeconds- Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#audit_interval_seconds GkeHubFeatureMembership#audit_interval_seconds}- Returns:
this
-
enabled
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder enabled(Boolean enabled)
Sets the value ofGkeHubFeatureMembershipConfigmanagementPolicyController.getEnabled()- Parameters:
enabled- Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#enabled GkeHubFeatureMembership#enabled}- Returns:
this
-
enabled
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofGkeHubFeatureMembershipConfigmanagementPolicyController.getEnabled()- Parameters:
enabled- Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#enabled GkeHubFeatureMembership#enabled}- Returns:
this
-
exemptableNamespaces
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder exemptableNamespaces(List<String> exemptableNamespaces)
- Parameters:
exemptableNamespaces- The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#exemptable_namespaces GkeHubFeatureMembership#exemptable_namespaces}- Returns:
this
-
logDeniesEnabled
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder logDeniesEnabled(Boolean logDeniesEnabled)
- Parameters:
logDeniesEnabled- Logs all denies and dry run failures. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#log_denies_enabled GkeHubFeatureMembership#log_denies_enabled}- Returns:
this
-
logDeniesEnabled
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder logDeniesEnabled(com.hashicorp.cdktf.IResolvable logDeniesEnabled)
- Parameters:
logDeniesEnabled- Logs all denies and dry run failures. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#log_denies_enabled GkeHubFeatureMembership#log_denies_enabled}- Returns:
this
-
monitoring
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder monitoring(GkeHubFeatureMembershipConfigmanagementPolicyControllerMonitoring monitoring)
Sets the value ofGkeHubFeatureMembershipConfigmanagementPolicyController.getMonitoring()- Parameters:
monitoring- monitoring block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#monitoring GkeHubFeatureMembership#monitoring}- Returns:
this
-
mutationEnabled
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder mutationEnabled(Boolean mutationEnabled)
- Parameters:
mutationEnabled- Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#mutation_enabled GkeHubFeatureMembership#mutation_enabled}- Returns:
this
-
mutationEnabled
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder mutationEnabled(com.hashicorp.cdktf.IResolvable mutationEnabled)
- Parameters:
mutationEnabled- Enable or disable mutation in policy controller. If true, mutation CRDs, webhook and controller deployment will be deployed to the cluster. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#mutation_enabled GkeHubFeatureMembership#mutation_enabled}- Returns:
this
-
referentialRulesEnabled
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder referentialRulesEnabled(Boolean referentialRulesEnabled)
Sets the value ofGkeHubFeatureMembershipConfigmanagementPolicyController.getReferentialRulesEnabled()- Parameters:
referentialRulesEnabled- Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#referential_rules_enabled GkeHubFeatureMembership#referential_rules_enabled}- Returns:
this
-
referentialRulesEnabled
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder referentialRulesEnabled(com.hashicorp.cdktf.IResolvable referentialRulesEnabled)
Sets the value ofGkeHubFeatureMembershipConfigmanagementPolicyController.getReferentialRulesEnabled()- Parameters:
referentialRulesEnabled- Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#referential_rules_enabled GkeHubFeatureMembership#referential_rules_enabled}- Returns:
this
-
templateLibraryInstalled
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder templateLibraryInstalled(Boolean templateLibraryInstalled)
Sets the value ofGkeHubFeatureMembershipConfigmanagementPolicyController.getTemplateLibraryInstalled()- Parameters:
templateLibraryInstalled- Installs the default template library along with Policy Controller. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#template_library_installed GkeHubFeatureMembership#template_library_installed}- Returns:
this
-
templateLibraryInstalled
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController.Builder templateLibraryInstalled(com.hashicorp.cdktf.IResolvable templateLibraryInstalled)
Sets the value ofGkeHubFeatureMembershipConfigmanagementPolicyController.getTemplateLibraryInstalled()- Parameters:
templateLibraryInstalled- Installs the default template library along with Policy Controller. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#template_library_installed GkeHubFeatureMembership#template_library_installed}- Returns:
this
-
build
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementPolicyController build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeHubFeatureMembershipConfigmanagementPolicyController>- Returns:
- a new instance of
GkeHubFeatureMembershipConfigmanagementPolicyController - Throws:
NullPointerException- if any required attribute was not provided
-
-