Class GkeHubFeatureMembershipConfigmanagementConfigSyncOci.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gke_hub_feature_membership.GkeHubFeatureMembershipConfigmanagementConfigSyncOci.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeHubFeatureMembershipConfigmanagementConfigSyncOci>
- Enclosing interface:
- GkeHubFeatureMembershipConfigmanagementConfigSyncOci
@Stability(Stable) public static final class GkeHubFeatureMembershipConfigmanagementConfigSyncOci.Builder extends Object implements software.amazon.jsii.Builder<GkeHubFeatureMembershipConfigmanagementConfigSyncOci>
A builder forGkeHubFeatureMembershipConfigmanagementConfigSyncOci
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
gcpServiceAccountEmail
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncOci.Builder gcpServiceAccountEmail(String gcpServiceAccountEmail)
- Parameters:
gcpServiceAccountEmail- The GCP Service Account Email used for auth when secret_type 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
-
policyDir
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncOci.Builder policyDir(String policyDir)
Sets the value ofGkeHubFeatureMembershipConfigmanagementConfigSyncOci.getPolicyDir()- Parameters:
policyDir- The absolute path of the directory that contains the local resources. Default: the root directory of the image. 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 GkeHubFeatureMembershipConfigmanagementConfigSyncOci.Builder secretType(String secretType)
Sets the value ofGkeHubFeatureMembershipConfigmanagementConfigSyncOci.getSecretType()- Parameters:
secretType- Type of secret configured for access to the OCI Image. Must be one of gcenode, 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
-
syncRepo
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncOci.Builder syncRepo(String syncRepo)
Sets the value ofGkeHubFeatureMembershipConfigmanagementConfigSyncOci.getSyncRepo()- Parameters:
syncRepo- The OCI image repository URL for the package to sync from. e.g. LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME. 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
-
syncWaitSecs
@Stability(Stable) public GkeHubFeatureMembershipConfigmanagementConfigSyncOci.Builder syncWaitSecs(String syncWaitSecs)
Sets the value ofGkeHubFeatureMembershipConfigmanagementConfigSyncOci.getSyncWaitSecs()- Parameters:
syncWaitSecs- Period in seconds(int64 format) 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 GkeHubFeatureMembershipConfigmanagementConfigSyncOci build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeHubFeatureMembershipConfigmanagementConfigSyncOci>- Returns:
- a new instance of
GkeHubFeatureMembershipConfigmanagementConfigSyncOci - Throws:
NullPointerException- if any required attribute was not provided
-
-