Class GatewayArgs.Builder

  • Enclosing class:
    GatewayArgs

    public static final class GatewayArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • addresses

        public GatewayArgs.Builder addresses​(@Nullable
                                             com.pulumi.core.Output<java.util.List<java.lang.String>> addresses)
        Parameters:
        addresses - Zero or one IPv4-address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0.
        Returns:
        builder
      • addresses

        public GatewayArgs.Builder addresses​(java.util.List<java.lang.String> addresses)
        Parameters:
        addresses - Zero or one IPv4-address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0.
        Returns:
        builder
      • addresses

        public GatewayArgs.Builder addresses​(java.lang.String... addresses)
        Parameters:
        addresses - Zero or one IPv4-address on which the Gateway will receive the traffic. When no address is provided, an IP from the subnetwork is allocated This field only applies to gateways of type 'SECURE_WEB_GATEWAY'. Gateways of type 'OPEN_MESH' listen on 0.0.0.0.
        Returns:
        builder
      • certificateUrls

        public GatewayArgs.Builder certificateUrls​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> certificateUrls)
        Parameters:
        certificateUrls - A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.
        Returns:
        builder
      • certificateUrls

        public GatewayArgs.Builder certificateUrls​(java.util.List<java.lang.String> certificateUrls)
        Parameters:
        certificateUrls - A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.
        Returns:
        builder
      • certificateUrls

        public GatewayArgs.Builder certificateUrls​(java.lang.String... certificateUrls)
        Parameters:
        certificateUrls - A fully-qualified Certificates URL reference. The proxy presents a Certificate (selected based on SNI) when establishing a TLS connection. This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'.
        Returns:
        builder
      • deleteSwgAutogenRouterOnDestroy

        public GatewayArgs.Builder deleteSwgAutogenRouterOnDestroy​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Boolean> deleteSwgAutogenRouterOnDestroy)
        Parameters:
        deleteSwgAutogenRouterOnDestroy - When deleting a gateway of type 'SECURE_WEB_GATEWAY', this boolean option will also delete auto generated router by the gateway creation. If there is no other gateway of type 'SECURE_WEB_GATEWAY' remaining for that region and network it will be deleted.
        Returns:
        builder
      • deleteSwgAutogenRouterOnDestroy

        public GatewayArgs.Builder deleteSwgAutogenRouterOnDestroy​(java.lang.Boolean deleteSwgAutogenRouterOnDestroy)
        Parameters:
        deleteSwgAutogenRouterOnDestroy - When deleting a gateway of type 'SECURE_WEB_GATEWAY', this boolean option will also delete auto generated router by the gateway creation. If there is no other gateway of type 'SECURE_WEB_GATEWAY' remaining for that region and network it will be deleted.
        Returns:
        builder
      • description

        public GatewayArgs.Builder description​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A free-text description of the resource. Max length 1024 characters.
        Returns:
        builder
      • description

        public GatewayArgs.Builder description​(java.lang.String description)
        Parameters:
        description - A free-text description of the resource. Max length 1024 characters.
        Returns:
        builder
      • gatewaySecurityPolicy

        public GatewayArgs.Builder gatewaySecurityPolicy​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> gatewaySecurityPolicy)
        Parameters:
        gatewaySecurityPolicy - A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security policy to inbound (VM to Proxy) initiated connections. For example: `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is specific to gateways of type 'SECURE_WEB_GATEWAY'.
        Returns:
        builder
      • gatewaySecurityPolicy

        public GatewayArgs.Builder gatewaySecurityPolicy​(java.lang.String gatewaySecurityPolicy)
        Parameters:
        gatewaySecurityPolicy - A fully-qualified GatewaySecurityPolicy URL reference. Defines how a server should apply security policy to inbound (VM to Proxy) initiated connections. For example: `projects/*/locations/*/gatewaySecurityPolicies/swg-policy`. This policy is specific to gateways of type 'SECURE_WEB_GATEWAY'.
        Returns:
        builder
      • labels

        public GatewayArgs.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 Gateway resource.
        Returns:
        builder
      • labels

        public GatewayArgs.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - Set of label tags associated with the Gateway resource.
        Returns:
        builder
      • location

        public GatewayArgs.Builder location​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - The location of the gateway. The default value is `global`.
        Returns:
        builder
      • location

        public GatewayArgs.Builder location​(java.lang.String location)
        Parameters:
        location - The location of the gateway. The default value is `global`.
        Returns:
        builder
      • name

        public GatewayArgs.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Short name of the Gateway resource to be created. ***
        Returns:
        builder
      • name

        public GatewayArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Short name of the Gateway resource to be created. ***
        Returns:
        builder
      • network

        public GatewayArgs.Builder network​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> network)
        Parameters:
        network - The relative resource name identifying the VPC network that is using this configuration. For example: `projects/*/global/networks/network-1`. Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY'.
        Returns:
        builder
      • network

        public GatewayArgs.Builder network​(java.lang.String network)
        Parameters:
        network - The relative resource name identifying the VPC network that is using this configuration. For example: `projects/*/global/networks/network-1`. Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY'.
        Returns:
        builder
      • ports

        public GatewayArgs.Builder ports​(com.pulumi.core.Output<java.util.List<java.lang.Integer>> ports)
        Parameters:
        ports - One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
        Returns:
        builder
      • ports

        public GatewayArgs.Builder ports​(java.util.List<java.lang.Integer> ports)
        Parameters:
        ports - One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
        Returns:
        builder
      • ports

        public GatewayArgs.Builder ports​(java.lang.Integer... ports)
        Parameters:
        ports - One or more port numbers (1-65535), on which the Gateway will receive traffic. The proxy binds to the specified ports. Gateways of type 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' listen on 0.0.0.0 and support multiple ports.
        Returns:
        builder
      • project

        public GatewayArgs.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 GatewayArgs.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
      • scope

        public GatewayArgs.Builder scope​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> scope)
        Parameters:
        scope - Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
        Returns:
        builder
      • scope

        public GatewayArgs.Builder scope​(java.lang.String scope)
        Parameters:
        scope - Immutable. Scope determines how configuration across multiple Gateway instances are merged. The configuration for multiple Gateway instances with the same scope will be merged as presented as a single coniguration to the proxy/load balancer. Max length 64 characters. Scope should start with a letter and can only have letters, numbers, hyphens.
        Returns:
        builder
      • serverTlsPolicy

        public GatewayArgs.Builder serverTlsPolicy​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> serverTlsPolicy)
        Parameters:
        serverTlsPolicy - A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
        Returns:
        builder
      • serverTlsPolicy

        public GatewayArgs.Builder serverTlsPolicy​(java.lang.String serverTlsPolicy)
        Parameters:
        serverTlsPolicy - A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS traffic is terminated. If empty, TLS termination is disabled.
        Returns:
        builder
      • subnetwork

        public GatewayArgs.Builder subnetwork​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> subnetwork)
        Parameters:
        subnetwork - The relative resource name identifying the subnetwork in which this SWG is allocated. For example: `projects/*/regions/us-central1/subnetworks/network-1`. Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY.
        Returns:
        builder
      • subnetwork

        public GatewayArgs.Builder subnetwork​(java.lang.String subnetwork)
        Parameters:
        subnetwork - The relative resource name identifying the subnetwork in which this SWG is allocated. For example: `projects/*/regions/us-central1/subnetworks/network-1`. Currently, this field is specific to gateways of type 'SECURE_WEB_GATEWAY.
        Returns:
        builder
      • type

        public GatewayArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are: `TYPE_UNSPECIFIED`, `OPEN_MESH`, `SECURE_WEB_GATEWAY`.
        Returns:
        builder
      • type

        public GatewayArgs.Builder type​(java.lang.String type)
        Parameters:
        type - Immutable. The type of the customer-managed gateway. Possible values are: * OPEN_MESH * SECURE_WEB_GATEWAY. Possible values are: `TYPE_UNSPECIFIED`, `OPEN_MESH`, `SECURE_WEB_GATEWAY`.
        Returns:
        builder