Class NetworkEndpointGroupState.Builder

  • Enclosing class:
    NetworkEndpointGroupState

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

      • defaultPort

        public NetworkEndpointGroupState.Builder defaultPort​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> defaultPort)
        Parameters:
        defaultPort - The default port used if the port number is not specified in the network endpoint.
        Returns:
        builder
      • defaultPort

        public NetworkEndpointGroupState.Builder defaultPort​(java.lang.Integer defaultPort)
        Parameters:
        defaultPort - The default port used if the port number is not specified in the network endpoint.
        Returns:
        builder
      • description

        public NetworkEndpointGroupState.Builder description​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - An optional description of this resource. Provide this property when you create the resource.
        Returns:
        builder
      • description

        public NetworkEndpointGroupState.Builder description​(java.lang.String description)
        Parameters:
        description - An optional description of this resource. Provide this property when you create the resource.
        Returns:
        builder
      • name

        public NetworkEndpointGroupState.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-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
        Returns:
        builder
      • name

        public NetworkEndpointGroupState.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-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
        Returns:
        builder
      • network

        public NetworkEndpointGroupState.Builder network​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> network)
        Parameters:
        network - The network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. ***
        Returns:
        builder
      • network

        public NetworkEndpointGroupState.Builder network​(java.lang.String network)
        Parameters:
        network - The network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. ***
        Returns:
        builder
      • networkEndpointType

        public NetworkEndpointGroupState.Builder networkEndpointType​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> networkEndpointType)
        Parameters:
        networkEndpointType - Type of network endpoints in this network endpoint group. NON_GCP_PRIVATE_IP_PORT is used for hybrid connectivity network endpoint groups (see https://cloud.google.com/load-balancing/docs/hybrid). Note that NON_GCP_PRIVATE_IP_PORT can only be used with Backend Services that 1) have the following load balancing schemes: EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED, and INTERNAL_SELF_MANAGED and 2) support the RATE or CONNECTION balancing modes. Possible values include: GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_IP_PORT, INTERNET_FQDN_PORT, SERVERLESS, and PRIVATE_SERVICE_CONNECT. Default value is `GCE_VM_IP_PORT`. Possible values are: `GCE_VM_IP`, `GCE_VM_IP_PORT`, `NON_GCP_PRIVATE_IP_PORT`, `INTERNET_IP_PORT`, `INTERNET_FQDN_PORT`, `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`.
        Returns:
        builder
      • networkEndpointType

        public NetworkEndpointGroupState.Builder networkEndpointType​(java.lang.String networkEndpointType)
        Parameters:
        networkEndpointType - Type of network endpoints in this network endpoint group. NON_GCP_PRIVATE_IP_PORT is used for hybrid connectivity network endpoint groups (see https://cloud.google.com/load-balancing/docs/hybrid). Note that NON_GCP_PRIVATE_IP_PORT can only be used with Backend Services that 1) have the following load balancing schemes: EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED, and INTERNAL_SELF_MANAGED and 2) support the RATE or CONNECTION balancing modes. Possible values include: GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_IP_PORT, INTERNET_FQDN_PORT, SERVERLESS, and PRIVATE_SERVICE_CONNECT. Default value is `GCE_VM_IP_PORT`. Possible values are: `GCE_VM_IP`, `GCE_VM_IP_PORT`, `NON_GCP_PRIVATE_IP_PORT`, `INTERNET_IP_PORT`, `INTERNET_FQDN_PORT`, `SERVERLESS`, `PRIVATE_SERVICE_CONNECT`.
        Returns:
        builder
      • project

        public NetworkEndpointGroupState.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 NetworkEndpointGroupState.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
      • selfLink

        public NetworkEndpointGroupState.Builder selfLink​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> selfLink)
        Parameters:
        selfLink - The URI of the created resource.
        Returns:
        builder
      • selfLink

        public NetworkEndpointGroupState.Builder selfLink​(java.lang.String selfLink)
        Parameters:
        selfLink - The URI of the created resource.
        Returns:
        builder
      • size

        public NetworkEndpointGroupState.Builder size​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> size)
        Parameters:
        size - Number of network endpoints in the network endpoint group.
        Returns:
        builder
      • size

        public NetworkEndpointGroupState.Builder size​(java.lang.Integer size)
        Parameters:
        size - Number of network endpoints in the network endpoint group.
        Returns:
        builder
      • subnetwork

        public NetworkEndpointGroupState.Builder subnetwork​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> subnetwork)
        Parameters:
        subnetwork - Optional subnetwork to which all network endpoints in the NEG belong.
        Returns:
        builder
      • subnetwork

        public NetworkEndpointGroupState.Builder subnetwork​(java.lang.String subnetwork)
        Parameters:
        subnetwork - Optional subnetwork to which all network endpoints in the NEG belong.
        Returns:
        builder
      • zone

        public NetworkEndpointGroupState.Builder zone​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> zone)
        Parameters:
        zone - Zone where the network endpoint group is located.
        Returns:
        builder
      • zone

        public NetworkEndpointGroupState.Builder zone​(java.lang.String zone)
        Parameters:
        zone - Zone where the network endpoint group is located.
        Returns:
        builder