Class GkeHubFeatureMembershipConfigmanagementConfigSyncGit.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_hub_feature_membership.GkeHubFeatureMembershipConfigmanagementConfigSyncGit.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeHubFeatureMembershipConfigmanagementConfigSyncGit>
- Enclosing interface:
- GkeHubFeatureMembershipConfigmanagementConfigSyncGit
@Stability(Stable) public static final class GkeHubFeatureMembershipConfigmanagementConfigSyncGit.Builder extends Object implements software.amazon.jsii.Builder<GkeHubFeatureMembershipConfigmanagementConfigSyncGit>
A builder forGkeHubFeatureMembershipConfigmanagementConfigSyncGit
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
gcpServiceAccountEmail
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncGit.Builder gcpServiceAccountEmail(String gcpServiceAccountEmail)
- Parameters:
gcpServiceAccountEmail- The GCP Service Account Email used for auth when secretType is gcpServiceAccount. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#gcp_service_account_email GkeHubFeatureMembership#gcp_service_account_email}- Returns:
this
-
httpsProxy
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncGit.Builder httpsProxy(String httpsProxy)
Sets the value ofGkeHubFeatureMembershipConfigmanagementConfigSyncGit.getHttpsProxy()- Parameters:
httpsProxy- URL for the HTTPS proxy to be used when communicating with the Git repo. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#https_proxy GkeHubFeatureMembership#https_proxy}- Returns:
this
-
policyDir
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncGit.Builder policyDir(String policyDir)
Sets the value ofGkeHubFeatureMembershipConfigmanagementConfigSyncGit.getPolicyDir()- Parameters:
policyDir- The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#policy_dir GkeHubFeatureMembership#policy_dir}- Returns:
this
-
secretType
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncGit.Builder secretType(String secretType)
Sets the value ofGkeHubFeatureMembershipConfigmanagementConfigSyncGit.getSecretType()- Parameters:
secretType- Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this is case-sensitive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#secret_type GkeHubFeatureMembership#secret_type}- Returns:
this
-
syncBranch
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncGit.Builder syncBranch(String syncBranch)
Sets the value ofGkeHubFeatureMembershipConfigmanagementConfigSyncGit.getSyncBranch()- Parameters:
syncBranch- The branch of the repository to sync from. Default: master. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#sync_branch GkeHubFeatureMembership#sync_branch}- Returns:
this
-
syncRepo
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncGit.Builder syncRepo(String syncRepo)
Sets the value ofGkeHubFeatureMembershipConfigmanagementConfigSyncGit.getSyncRepo()- Parameters:
syncRepo- The URL of the Git repository to use as the source of truth. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#sync_repo GkeHubFeatureMembership#sync_repo}- Returns:
this
-
syncRev
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncGit.Builder syncRev(String syncRev)
Sets the value ofGkeHubFeatureMembershipConfigmanagementConfigSyncGit.getSyncRev()- Parameters:
syncRev- Git revision (tag or hash) to check out. Default HEAD. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#sync_rev GkeHubFeatureMembership#sync_rev}- Returns:
this
-
syncWaitSecs
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncGit.Builder syncWaitSecs(String syncWaitSecs)
Sets the value ofGkeHubFeatureMembershipConfigmanagementConfigSyncGit.getSyncWaitSecs()- Parameters:
syncWaitSecs- Period in seconds between consecutive syncs. Default: 15. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature_membership#sync_wait_secs GkeHubFeatureMembership#sync_wait_secs}- Returns:
this
-
build
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncGit build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeHubFeatureMembershipConfigmanagementConfigSyncGit>- Returns:
- a new instance of
GkeHubFeatureMembershipConfigmanagementConfigSyncGit - Throws:
NullPointerException- if any required attribute was not provided
-
-