Class GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_hub_feature.GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit>
- Enclosing interface:
- GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit
@Stability(Stable) public static final class GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.Builder extends Object implements software.amazon.jsii.Builder<GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
secretType
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.Builder secretType(String secretType)
Sets the value ofGkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.getSecretType()- Parameters:
secretType- Type of secret configured for access to the Git repo. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#secret_type GkeHubFeature#secret_type}- Returns:
this
-
gcpServiceAccountEmail
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.Builder gcpServiceAccountEmail(String gcpServiceAccountEmail)
Sets the value ofGkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.getGcpServiceAccountEmail()- Parameters:
gcpServiceAccountEmail- The Google Cloud 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#gcp_service_account_email GkeHubFeature#gcp_service_account_email}- Returns:
this
-
httpsProxy
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.Builder httpsProxy(String httpsProxy)
Sets the value ofGkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.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#https_proxy GkeHubFeature#https_proxy}- Returns:
this
-
policyDir
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.Builder policyDir(String policyDir)
- Parameters:
policyDir- The path within the Git repository that represents the top level of the repo to sync. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gke_hub_feature#policy_dir GkeHubFeature#policy_dir}- Returns:
this
-
syncBranch
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.Builder syncBranch(String syncBranch)
Sets the value ofGkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.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#sync_branch GkeHubFeature#sync_branch}- Returns:
this
-
syncRepo
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.Builder syncRepo(String syncRepo)
- 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#sync_repo GkeHubFeature#sync_repo}- Returns:
this
-
syncRev
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.Builder syncRev(String syncRev)
- 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#sync_rev GkeHubFeature#sync_rev}- Returns:
this
-
syncWaitSecs
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.Builder syncWaitSecs(String syncWaitSecs)
Sets the value ofGkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit.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#sync_wait_secs GkeHubFeature#sync_wait_secs}- Returns:
this
-
build
@Stability(Stable) public GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit>- Returns:
- a new instance of
GkeHubFeatureFleetDefaultMemberConfigConfigmanagementConfigSyncGit - Throws:
NullPointerException- if any required attribute was not provided
-
-