Class NetworkServicesEdgeCacheService.Builder

    • Method Detail

      • connection

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

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

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

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

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

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

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

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder name​(String name)
        Name of the resource;

        provided by the client when the resource is created. The name must be 1-64 characters long, and match the regular expression [a-zA-Z][a-zA-Z0-9_-]* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#name NetworkServicesEdgeCacheService#name}

        Parameters:
        name - Name of the resource;. This parameter is required.
        Returns:
        this
      • routing

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder routing​(NetworkServicesEdgeCacheServiceRouting routing)
        routing block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#routing NetworkServicesEdgeCacheService#routing}

        Parameters:
        routing - routing block. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder description​(String description)
        A human-readable description of the resource.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#description NetworkServicesEdgeCacheService#description}

        Parameters:
        description - A human-readable description of the resource. This parameter is required.
        Returns:
        this
      • disableHttp2

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder disableHttp2​(Boolean disableHttp2)
        Disables HTTP/2.

        HTTP/2 (h2) is enabled by default and recommended for performance. HTTP/2 improves connection re-use and reduces connection setup overhead by sending multiple streams over the same connection. Some legacy HTTP clients may have issues with HTTP/2 connections due to broken HTTP/2 implementations. Setting this to true will prevent HTTP/2 from being advertised and negotiated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#disable_http2 NetworkServicesEdgeCacheService#disable_http2}

        Parameters:
        disableHttp2 - Disables HTTP/2. This parameter is required.
        Returns:
        this
      • disableHttp2

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder disableHttp2​(com.hashicorp.cdktf.IResolvable disableHttp2)
        Disables HTTP/2.

        HTTP/2 (h2) is enabled by default and recommended for performance. HTTP/2 improves connection re-use and reduces connection setup overhead by sending multiple streams over the same connection. Some legacy HTTP clients may have issues with HTTP/2 connections due to broken HTTP/2 implementations. Setting this to true will prevent HTTP/2 from being advertised and negotiated. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#disable_http2 NetworkServicesEdgeCacheService#disable_http2}

        Parameters:
        disableHttp2 - Disables HTTP/2. This parameter is required.
        Returns:
        this
      • disableQuic

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder disableQuic​(Boolean disableQuic)
        HTTP/3 (IETF QUIC) and Google QUIC are enabled by default.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#disable_quic NetworkServicesEdgeCacheService#disable_quic}

        Parameters:
        disableQuic - HTTP/3 (IETF QUIC) and Google QUIC are enabled by default. This parameter is required.
        Returns:
        this
      • disableQuic

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder disableQuic​(com.hashicorp.cdktf.IResolvable disableQuic)
        HTTP/3 (IETF QUIC) and Google QUIC are enabled by default.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#disable_quic NetworkServicesEdgeCacheService#disable_quic}

        Parameters:
        disableQuic - HTTP/3 (IETF QUIC) and Google QUIC are enabled by default. This parameter is required.
        Returns:
        this
      • edgeSecurityPolicy

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder edgeSecurityPolicy​(String edgeSecurityPolicy)
        Resource URL that points at the Cloud Armor edge security policy that is applied on each request against the EdgeCacheService.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#edge_security_policy NetworkServicesEdgeCacheService#edge_security_policy}

        Parameters:
        edgeSecurityPolicy - Resource URL that points at the Cloud Armor edge security policy that is applied on each request against the EdgeCacheService. This parameter is required.
        Returns:
        this
      • edgeSslCertificates

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder edgeSslCertificates​(List<String> edgeSslCertificates)
        URLs to sslCertificate resources that are used to authenticate connections between users and the EdgeCacheService.

        Note that only "global" certificates with a "scope" of "EDGE_CACHE" can be attached to an EdgeCacheService. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#edge_ssl_certificates NetworkServicesEdgeCacheService#edge_ssl_certificates}

        Parameters:
        edgeSslCertificates - URLs to sslCertificate resources that are used to authenticate connections between users and the EdgeCacheService. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#id NetworkServicesEdgeCacheService#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/network_services_edge_cache_service#id NetworkServicesEdgeCacheService#id}. This parameter is required.
        Returns:
        this
      • labels

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder labels​(Map<String,​String> labels)
        Set of label tags associated with the EdgeCache resource.

        **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/network_services_edge_cache_service#labels NetworkServicesEdgeCacheService#labels}

        Parameters:
        labels - Set of label tags associated with the EdgeCache resource. This parameter is required.
        Returns:
        this
      • logConfig

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder logConfig​(NetworkServicesEdgeCacheServiceLogConfig logConfig)
        log_config block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#log_config NetworkServicesEdgeCacheService#log_config}

        Parameters:
        logConfig - log_config block. This parameter is required.
        Returns:
        this
      • project

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

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#project NetworkServicesEdgeCacheService#project}. This parameter is required.
        Returns:
        this
      • requireTls

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder requireTls​(Boolean requireTls)
        Require TLS (HTTPS) for all clients connecting to this service.

        Clients who connect over HTTP (port 80) will receive a HTTP 301 to the same URL over HTTPS (port 443). You must have at least one (1) edgeSslCertificate specified to enable this. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#require_tls NetworkServicesEdgeCacheService#require_tls}

        Parameters:
        requireTls - Require TLS (HTTPS) for all clients connecting to this service. This parameter is required.
        Returns:
        this
      • requireTls

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder requireTls​(com.hashicorp.cdktf.IResolvable requireTls)
        Require TLS (HTTPS) for all clients connecting to this service.

        Clients who connect over HTTP (port 80) will receive a HTTP 301 to the same URL over HTTPS (port 443). You must have at least one (1) edgeSslCertificate specified to enable this. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#require_tls NetworkServicesEdgeCacheService#require_tls}

        Parameters:
        requireTls - Require TLS (HTTPS) for all clients connecting to this service. This parameter is required.
        Returns:
        this
      • sslPolicy

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder sslPolicy​(String sslPolicy)
        URL of the SslPolicy resource that will be associated with the EdgeCacheService.

        If not set, the EdgeCacheService has no SSL policy configured, and will default to the "COMPATIBLE" policy. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/network_services_edge_cache_service#ssl_policy NetworkServicesEdgeCacheService#ssl_policy}

        Parameters:
        sslPolicy - URL of the SslPolicy resource that will be associated with the EdgeCacheService. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public NetworkServicesEdgeCacheService.Builder timeouts​(NetworkServicesEdgeCacheServiceTimeouts timeouts)
        timeouts block.

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

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