Class EdgeCacheServiceArgs.Builder

  • Enclosing class:
    EdgeCacheServiceArgs

    public static final class EdgeCacheServiceArgs.Builder
    extends java.lang.Object
    • Method Detail

      • description

        public EdgeCacheServiceArgs.Builder description​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A human-readable description of the hostRule.
        Returns:
        builder
      • description

        public EdgeCacheServiceArgs.Builder description​(java.lang.String description)
        Parameters:
        description - A human-readable description of the hostRule.
        Returns:
        builder
      • disableHttp2

        public EdgeCacheServiceArgs.Builder disableHttp2​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> disableHttp2)
        Parameters:
        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.
        Returns:
        builder
      • disableHttp2

        public EdgeCacheServiceArgs.Builder disableHttp2​(java.lang.Boolean disableHttp2)
        Parameters:
        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.
        Returns:
        builder
      • disableQuic

        public EdgeCacheServiceArgs.Builder disableQuic​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Boolean> disableQuic)
        Parameters:
        disableQuic - HTTP/3 (IETF QUIC) and Google QUIC are enabled by default.
        Returns:
        builder
      • disableQuic

        public EdgeCacheServiceArgs.Builder disableQuic​(java.lang.Boolean disableQuic)
        Parameters:
        disableQuic - HTTP/3 (IETF QUIC) and Google QUIC are enabled by default.
        Returns:
        builder
      • edgeSecurityPolicy

        public EdgeCacheServiceArgs.Builder edgeSecurityPolicy​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> edgeSecurityPolicy)
        Parameters:
        edgeSecurityPolicy - Resource URL that points at the Cloud Armor edge security policy that is applied on each request against the EdgeCacheService.
        Returns:
        builder
      • edgeSecurityPolicy

        public EdgeCacheServiceArgs.Builder edgeSecurityPolicy​(java.lang.String edgeSecurityPolicy)
        Parameters:
        edgeSecurityPolicy - Resource URL that points at the Cloud Armor edge security policy that is applied on each request against the EdgeCacheService.
        Returns:
        builder
      • edgeSslCertificates

        public EdgeCacheServiceArgs.Builder edgeSslCertificates​(@Nullable
                                                                com.pulumi.core.Output<java.util.List<java.lang.String>> edgeSslCertificates)
        Parameters:
        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.
        Returns:
        builder
      • edgeSslCertificates

        public EdgeCacheServiceArgs.Builder edgeSslCertificates​(java.util.List<java.lang.String> edgeSslCertificates)
        Parameters:
        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.
        Returns:
        builder
      • edgeSslCertificates

        public EdgeCacheServiceArgs.Builder edgeSslCertificates​(java.lang.String... edgeSslCertificates)
        Parameters:
        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.
        Returns:
        builder
      • labels

        public EdgeCacheServiceArgs.Builder labels​(@Nullable
                                                   com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        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.
        Returns:
        builder
      • labels

        public EdgeCacheServiceArgs.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        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.
        Returns:
        builder
      • logConfig

        public EdgeCacheServiceArgs.Builder logConfig​(@Nullable
                                                      com.pulumi.core.Output<EdgeCacheServiceLogConfigArgs> logConfig)
        Parameters:
        logConfig - Specifies the logging options for the traffic served by this service. If logging is enabled, logs will be exported to Cloud Logging. Structure is documented below.
        Returns:
        builder
      • logConfig

        public EdgeCacheServiceArgs.Builder logConfig​(EdgeCacheServiceLogConfigArgs logConfig)
        Parameters:
        logConfig - Specifies the logging options for the traffic served by this service. If logging is enabled, logs will be exported to Cloud Logging. Structure is documented below.
        Returns:
        builder
      • name

        public EdgeCacheServiceArgs.Builder name​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        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.
        Returns:
        builder
      • name

        public EdgeCacheServiceArgs.Builder name​(java.lang.String name)
        Parameters:
        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.
        Returns:
        builder
      • project

        public EdgeCacheServiceArgs.Builder project​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public EdgeCacheServiceArgs.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • requireTls

        public EdgeCacheServiceArgs.Builder requireTls​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> requireTls)
        Parameters:
        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.
        Returns:
        builder
      • requireTls

        public EdgeCacheServiceArgs.Builder requireTls​(java.lang.Boolean requireTls)
        Parameters:
        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.
        Returns:
        builder
      • routing

        public EdgeCacheServiceArgs.Builder routing​(com.pulumi.core.Output<EdgeCacheServiceRoutingArgs> routing)
        Parameters:
        routing - Defines how requests are routed, modified, cached and/or which origin content is filled from. Structure is documented below.
        Returns:
        builder
      • sslPolicy

        public EdgeCacheServiceArgs.Builder sslPolicy​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> sslPolicy)
        Parameters:
        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.
        Returns:
        builder
      • sslPolicy

        public EdgeCacheServiceArgs.Builder sslPolicy​(java.lang.String sslPolicy)
        Parameters:
        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.
        Returns:
        builder