Class NetworkEndpointState.Builder

  • Enclosing class:
    NetworkEndpointState

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

      • instance

        public NetworkEndpointState.Builder instance​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> instance)
        Parameters:
        instance - The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group.
        Returns:
        builder
      • instance

        public NetworkEndpointState.Builder instance​(java.lang.String instance)
        Parameters:
        instance - The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group.
        Returns:
        builder
      • ipAddress

        public NetworkEndpointState.Builder ipAddress​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> ipAddress)
        Parameters:
        ipAddress - IPv4 address of network endpoint. The IP address must belong to a VM in GCE (either the primary IP or as part of an aliased IP range).
        Returns:
        builder
      • ipAddress

        public NetworkEndpointState.Builder ipAddress​(java.lang.String ipAddress)
        Parameters:
        ipAddress - IPv4 address of network endpoint. The IP address must belong to a VM in GCE (either the primary IP or as part of an aliased IP range).
        Returns:
        builder
      • networkEndpointGroup

        public NetworkEndpointState.Builder networkEndpointGroup​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> networkEndpointGroup)
        Parameters:
        networkEndpointGroup - The network endpoint group this endpoint is part of. ***
        Returns:
        builder
      • networkEndpointGroup

        public NetworkEndpointState.Builder networkEndpointGroup​(java.lang.String networkEndpointGroup)
        Parameters:
        networkEndpointGroup - The network endpoint group this endpoint is part of. ***
        Returns:
        builder
      • port

        public NetworkEndpointState.Builder port​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - Port number of network endpoint. **Note** `port` is required unless the Network Endpoint Group is created with the type of `GCE_VM_IP`
        Returns:
        builder
      • port

        public NetworkEndpointState.Builder port​(java.lang.Integer port)
        Parameters:
        port - Port number of network endpoint. **Note** `port` is required unless the Network Endpoint Group is created with the type of `GCE_VM_IP`
        Returns:
        builder
      • project

        public NetworkEndpointState.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 NetworkEndpointState.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
      • zone

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

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