Class CloudRunDomainMappingSpec.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • routeName

        @Stability(Stable)
        public CloudRunDomainMappingSpec.Builder routeName​(String routeName)
        Parameters:
        routeName - The name of the Cloud Run Service that this DomainMapping applies to. The route must exist. 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#route_name CloudRunDomainMapping#route_name}
        Returns:
        this
      • certificateMode

        @Stability(Stable)
        public CloudRunDomainMappingSpec.Builder certificateMode​(String certificateMode)
        Parameters:
        certificateMode - The mode of the certificate. Default value: "AUTOMATIC" Possible values: ["NONE", "AUTOMATIC"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_domain_mapping#certificate_mode CloudRunDomainMapping#certificate_mode}
        Returns:
        this
      • forceOverride

        @Stability(Stable)
        public CloudRunDomainMappingSpec.Builder forceOverride​(Boolean forceOverride)
        Parameters:
        forceOverride - If set, the mapping will override any mapping set before this spec was set. It is recommended that the user leaves this empty to receive an error warning about a potential conflict and only set it once the respective UI has given such a warning. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_domain_mapping#force_override CloudRunDomainMapping#force_override}
        Returns:
        this
      • forceOverride

        @Stability(Stable)
        public CloudRunDomainMappingSpec.Builder forceOverride​(com.hashicorp.cdktf.IResolvable forceOverride)
        Parameters:
        forceOverride - If set, the mapping will override any mapping set before this spec was set. It is recommended that the user leaves this empty to receive an error warning about a potential conflict and only set it once the respective UI has given such a warning. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_run_domain_mapping#force_override CloudRunDomainMapping#force_override}
        Returns:
        this