Class CloudQuotasQuotaPreferenceConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • contactEmail

        @Stability(Stable)
        public CloudQuotasQuotaPreferenceConfig.Builder contactEmail​(String contactEmail)
        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. 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}
        Returns:
        this
      • dimensions

        @Stability(Stable)
        public CloudQuotasQuotaPreferenceConfig.Builder dimensions​(Map<String,​String> dimensions)
        Parameters:
        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}
        Returns:
        this
      • id

        @Stability(Stable)
        public CloudQuotasQuotaPreferenceConfig.Builder id​(String id)
        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}. 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.
        Returns:
        this
      • ignoreSafetyChecks

        @Stability(Stable)
        public CloudQuotasQuotaPreferenceConfig.Builder ignoreSafetyChecks​(String ignoreSafetyChecks)
        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"]. 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}
        Returns:
        this
      • justification

        @Stability(Stable)
        public CloudQuotasQuotaPreferenceConfig.Builder justification​(String justification)
        Parameters:
        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}
        Returns:
        this
      • name

        @Stability(Stable)
        public CloudQuotasQuotaPreferenceConfig.Builder name​(String name)
        Parameters:
        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}
        Returns:
        this
      • parent

        @Stability(Stable)
        public CloudQuotasQuotaPreferenceConfig.Builder parent​(String parent)
        Parameters:
        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}
        Returns:
        this
      • quotaId

        @Stability(Stable)
        public CloudQuotasQuotaPreferenceConfig.Builder quotaId​(String quotaId)
        Parameters:
        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}
        Returns:
        this
      • service

        @Stability(Stable)
        public CloudQuotasQuotaPreferenceConfig.Builder service​(String service)
        Parameters:
        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}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public CloudQuotasQuotaPreferenceConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public CloudQuotasQuotaPreferenceConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public CloudQuotasQuotaPreferenceConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public CloudQuotasQuotaPreferenceConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public CloudQuotasQuotaPreferenceConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public CloudQuotasQuotaPreferenceConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public CloudQuotasQuotaPreferenceConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public CloudQuotasQuotaPreferenceConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this