Class EdgeCacheServiceState.Builder

  • Enclosing class:
    EdgeCacheServiceState

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

      • description

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

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

        public EdgeCacheServiceState.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 EdgeCacheServiceState.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 EdgeCacheServiceState.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 EdgeCacheServiceState.Builder disableQuic​(java.lang.Boolean disableQuic)
        Parameters:
        disableQuic - HTTP/3 (IETF QUIC) and Google QUIC are enabled by default.
        Returns:
        builder
      • edgeSecurityPolicy

        public EdgeCacheServiceState.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 EdgeCacheServiceState.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 EdgeCacheServiceState.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 EdgeCacheServiceState.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 EdgeCacheServiceState.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
      • effectiveLabels

        public EdgeCacheServiceState.Builder effectiveLabels​(@Nullable
                                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> effectiveLabels)
        Parameters:
        effectiveLabels - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
        Returns:
        builder
      • effectiveLabels

        public EdgeCacheServiceState.Builder effectiveLabels​(java.util.Map<java.lang.String,​java.lang.String> effectiveLabels)
        Parameters:
        effectiveLabels - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
        Returns:
        builder
      • ipv4Addresses

        public EdgeCacheServiceState.Builder ipv4Addresses​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> ipv4Addresses)
        Parameters:
        ipv4Addresses - The IPv4 addresses associated with this service. Addresses are static for the lifetime of the service.
        Returns:
        builder
      • ipv4Addresses

        public EdgeCacheServiceState.Builder ipv4Addresses​(java.util.List<java.lang.String> ipv4Addresses)
        Parameters:
        ipv4Addresses - The IPv4 addresses associated with this service. Addresses are static for the lifetime of the service.
        Returns:
        builder
      • ipv4Addresses

        public EdgeCacheServiceState.Builder ipv4Addresses​(java.lang.String... ipv4Addresses)
        Parameters:
        ipv4Addresses - The IPv4 addresses associated with this service. Addresses are static for the lifetime of the service.
        Returns:
        builder
      • ipv6Addresses

        public EdgeCacheServiceState.Builder ipv6Addresses​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> ipv6Addresses)
        Parameters:
        ipv6Addresses - The IPv6 addresses associated with this service. Addresses are static for the lifetime of the service.
        Returns:
        builder
      • ipv6Addresses

        public EdgeCacheServiceState.Builder ipv6Addresses​(java.util.List<java.lang.String> ipv6Addresses)
        Parameters:
        ipv6Addresses - The IPv6 addresses associated with this service. Addresses are static for the lifetime of the service.
        Returns:
        builder
      • ipv6Addresses

        public EdgeCacheServiceState.Builder ipv6Addresses​(java.lang.String... ipv6Addresses)
        Parameters:
        ipv6Addresses - The IPv6 addresses associated with this service. Addresses are static for the lifetime of the service.
        Returns:
        builder
      • labels

        public EdgeCacheServiceState.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 EdgeCacheServiceState.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 EdgeCacheServiceState.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 EdgeCacheServiceState.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 EdgeCacheServiceState.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 EdgeCacheServiceState.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 EdgeCacheServiceState.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 EdgeCacheServiceState.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
      • pulumiLabels

        public EdgeCacheServiceState.Builder pulumiLabels​(@Nullable
                                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> pulumiLabels)
        Parameters:
        pulumiLabels - The combination of labels configured directly on the resource and default labels configured on the provider.
        Returns:
        builder
      • pulumiLabels

        public EdgeCacheServiceState.Builder pulumiLabels​(java.util.Map<java.lang.String,​java.lang.String> pulumiLabels)
        Parameters:
        pulumiLabels - The combination of labels configured directly on the resource and default labels configured on the provider.
        Returns:
        builder
      • requireTls

        public EdgeCacheServiceState.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 EdgeCacheServiceState.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 EdgeCacheServiceState.Builder routing​(@Nullable
                                                     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 EdgeCacheServiceState.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 EdgeCacheServiceState.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