Class CloudQuotasQuotaPreferenceQuotaConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_quotas_quota_preference.CloudQuotasQuotaPreferenceQuotaConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudQuotasQuotaPreferenceQuotaConfig>
- Enclosing interface:
- CloudQuotasQuotaPreferenceQuotaConfig
@Stability(Stable) public static final class CloudQuotasQuotaPreferenceQuotaConfig.Builder extends Object implements software.amazon.jsii.Builder<CloudQuotasQuotaPreferenceQuotaConfig>
A builder forCloudQuotasQuotaPreferenceQuotaConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudQuotasQuotaPreferenceQuotaConfig.Builderannotations(Map<String,String> annotations)Sets the value ofCloudQuotasQuotaPreferenceQuotaConfig.getAnnotations()CloudQuotasQuotaPreferenceQuotaConfigbuild()Builds the configured instance.CloudQuotasQuotaPreferenceQuotaConfig.BuilderpreferredValue(String preferredValue)Sets the value ofCloudQuotasQuotaPreferenceQuotaConfig.getPreferredValue()
-
-
-
Method Detail
-
preferredValue
@Stability(Stable) public CloudQuotasQuotaPreferenceQuotaConfig.Builder preferredValue(String preferredValue)
Sets the value ofCloudQuotasQuotaPreferenceQuotaConfig.getPreferredValue()- Parameters:
preferredValue- The preferred value. This parameter is required. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#preferred_value CloudQuotasQuotaPreference#preferred_value}- Returns:
this
-
annotations
@Stability(Stable) public CloudQuotasQuotaPreferenceQuotaConfig.Builder annotations(Map<String,String> annotations)
Sets the value ofCloudQuotasQuotaPreferenceQuotaConfig.getAnnotations()- Parameters:
annotations- The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations. An object containing a list of "key: value" pairs. Example: '{ "name": "wrench", "mass": "1.3kg", "count": "3" }'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_quotas_quota_preference#annotations CloudQuotasQuotaPreference#annotations}- Returns:
this
-
build
@Stability(Stable) public CloudQuotasQuotaPreferenceQuotaConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudQuotasQuotaPreferenceQuotaConfig>- Returns:
- a new instance of
CloudQuotasQuotaPreferenceQuotaConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-