Class CloudQuotasQuotaPreference.Builder

    • Method Detail

      • connection

        @Stability(Experimental)
        public CloudQuotasQuotaPreference.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public CloudQuotasQuotaPreference.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public CloudQuotasQuotaPreference.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public CloudQuotasQuotaPreference.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public CloudQuotasQuotaPreference.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public CloudQuotasQuotaPreference.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public CloudQuotasQuotaPreference.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • quotaConfig

        @Stability(Stable)
        public CloudQuotasQuotaPreference.Builder quotaConfig​(CloudQuotasQuotaPreferenceQuotaConfig quotaConfig)
        quota_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#quota_config CloudQuotasQuotaPreference#quota_config}

        Parameters:
        quotaConfig - quota_config block. This parameter is required.
        Returns:
        this
      • contactEmail

        @Stability(Stable)
        public CloudQuotasQuotaPreference.Builder contactEmail​(String contactEmail)
        An email address that can be used for quota related communication between the Google Cloud and the user in case the Google Cloud needs further information to make a decision on whether the user preferred quota can be granted.

        The Google account for the email address must have quota update permission for the project, folder or organization this quota preference is for. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#contact_email CloudQuotasQuotaPreference#contact_email}

        Parameters:
        contactEmail - An email address that can be used for quota related communication between the Google Cloud and the user in case the Google Cloud needs further information to make a decision on whether the user preferred quota can be granted. This parameter is required.
        Returns:
        this
      • dimensions

        @Stability(Stable)
        public CloudQuotasQuotaPreference.Builder dimensions​(Map<String,​String> dimensions)
        The dimensions that this quota preference applies to.

        The key of the map entry is the name of a dimension, such as "region", "zone", "network_id", and the value of the map entry is the dimension value. If a dimension is missing from the map of dimensions, the quota preference applies to all the dimension values except for those that have other quota preferences configured for the specific value. NOTE: QuotaPreferences can only be applied across all values of "user" and "resource" dimension. Do not set values for "user" or "resource" in the dimension map. Example: '{"provider": "Foo Inc"}' where "provider" is a service specific dimension. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#dimensions CloudQuotasQuotaPreference#dimensions}

        Parameters:
        dimensions - The dimensions that this quota preference applies to. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public CloudQuotasQuotaPreference.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#id CloudQuotasQuotaPreference#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#id CloudQuotasQuotaPreference#id}. This parameter is required.
        Returns:
        this
      • ignoreSafetyChecks

        @Stability(Stable)
        public CloudQuotasQuotaPreference.Builder ignoreSafetyChecks​(String ignoreSafetyChecks)
        The list of quota safety checks to be ignored. Default value: "QUOTA_SAFETY_CHECK_UNSPECIFIED" Possible values: ["QUOTA_SAFETY_CHECK_UNSPECIFIED", "QUOTA_DECREASE_BELOW_USAGE", "QUOTA_DECREASE_PERCENTAGE_TOO_HIGH"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#ignore_safety_checks CloudQuotasQuotaPreference#ignore_safety_checks}

        Parameters:
        ignoreSafetyChecks - The list of quota safety checks to be ignored. Default value: "QUOTA_SAFETY_CHECK_UNSPECIFIED" Possible values: ["QUOTA_SAFETY_CHECK_UNSPECIFIED", "QUOTA_DECREASE_BELOW_USAGE", "QUOTA_DECREASE_PERCENTAGE_TOO_HIGH"]. This parameter is required.
        Returns:
        this
      • justification

        @Stability(Stable)
        public CloudQuotasQuotaPreference.Builder justification​(String justification)
        The reason / justification for this quota preference.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#justification CloudQuotasQuotaPreference#justification}

        Parameters:
        justification - The reason / justification for this quota preference. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public CloudQuotasQuotaPreference.Builder name​(String name)
        The resource name of the quota preference. Required except in the CREATE requests.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#name CloudQuotasQuotaPreference#name}

        Parameters:
        name - The resource name of the quota preference. Required except in the CREATE requests. This parameter is required.
        Returns:
        this
      • parent

        @Stability(Stable)
        public CloudQuotasQuotaPreference.Builder parent​(String parent)
        The parent of the quota preference.

        Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number]". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#parent CloudQuotasQuotaPreference#parent}

        Parameters:
        parent - The parent of the quota preference. This parameter is required.
        Returns:
        this
      • quotaId

        @Stability(Stable)
        public CloudQuotasQuotaPreference.Builder quotaId​(String quotaId)
        The id of the quota to which the quota preference is applied.

        A quota id is unique in the service. Example: 'CPUS-per-project-region'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#quota_id CloudQuotasQuotaPreference#quota_id}

        Parameters:
        quotaId - The id of the quota to which the quota preference is applied. This parameter is required.
        Returns:
        this
      • service

        @Stability(Stable)
        public CloudQuotasQuotaPreference.Builder service​(String service)
        The name of the service to which the quota preference is applied.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#service CloudQuotasQuotaPreference#service}

        Parameters:
        service - The name of the service to which the quota preference is applied. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public CloudQuotasQuotaPreference.Builder timeouts​(CloudQuotasQuotaPreferenceTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#timeouts CloudQuotasQuotaPreference#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this