Class CloudRunDomainMappingMetadata.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_run_domain_mapping.CloudRunDomainMappingMetadata.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudRunDomainMappingMetadata>
- Enclosing interface:
- CloudRunDomainMappingMetadata
@Stability(Stable) public static final class CloudRunDomainMappingMetadata.Builder extends Object implements software.amazon.jsii.Builder<CloudRunDomainMappingMetadata>
A builder forCloudRunDomainMappingMetadata
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudRunDomainMappingMetadata.Builderannotations(Map<String,String> annotations)Sets the value ofCloudRunDomainMappingMetadata.getAnnotations()CloudRunDomainMappingMetadatabuild()Builds the configured instance.CloudRunDomainMappingMetadata.Builderlabels(Map<String,String> labels)Sets the value ofCloudRunDomainMappingMetadata.getLabels()CloudRunDomainMappingMetadata.Buildernamespace(String namespace)Sets the value ofCloudRunDomainMappingMetadata.getNamespace()
-
-
-
Method Detail
-
namespace
@Stability(Stable) public CloudRunDomainMappingMetadata.Builder namespace(String namespace)
Sets the value ofCloudRunDomainMappingMetadata.getNamespace()- Parameters:
namespace- In Cloud Run the namespace must be equal to either the project ID or project number. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_domain_mapping#namespace CloudRunDomainMapping#namespace}- Returns:
this
-
annotations
@Stability(Stable) public CloudRunDomainMappingMetadata.Builder annotations(Map<String,String> annotations)
Sets the value ofCloudRunDomainMappingMetadata.getAnnotations()- Parameters:
annotations- Annotations is a key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations **Note**: The Cloud Run API may add additional annotations that were not provided in your config. If terraform plan shows a diff where a server-side annotation is added, you can add it to your config or apply the lifecycle.ignore_changes rule to the metadata.0.annotations field. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field 'effective_annotations' for all of the annotations present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_domain_mapping#annotations CloudRunDomainMapping#annotations}- Returns:
this
-
labels
@Stability(Stable) public CloudRunDomainMappingMetadata.Builder labels(Map<String,String> labels)
Sets the value ofCloudRunDomainMappingMetadata.getLabels()- Parameters:
labels- Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_domain_mapping#labels CloudRunDomainMapping#labels}- Returns:
this
-
build
@Stability(Stable) public CloudRunDomainMappingMetadata build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudRunDomainMappingMetadata>- Returns:
- a new instance of
CloudRunDomainMappingMetadata - Throws:
NullPointerException- if any required attribute was not provided
-
-