Class ConnectivityTestArgs.Builder

  • Enclosing class:
    ConnectivityTestArgs

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

      • description

        public ConnectivityTestArgs.Builder description​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The user-supplied description of the Connectivity Test. Maximum of 512 characters.
        Returns:
        builder
      • description

        public ConnectivityTestArgs.Builder description​(java.lang.String description)
        Parameters:
        description - The user-supplied description of the Connectivity Test. Maximum of 512 characters.
        Returns:
        builder
      • destination

        public ConnectivityTestArgs.Builder destination​(com.pulumi.core.Output<ConnectivityTestDestinationArgs> destination)
        Parameters:
        destination - Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test. Structure is documented below.
        Returns:
        builder
      • destination

        public ConnectivityTestArgs.Builder destination​(ConnectivityTestDestinationArgs destination)
        Parameters:
        destination - Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test. Structure is documented below.
        Returns:
        builder
      • labels

        public ConnectivityTestArgs.Builder labels​(@Nullable
                                                   com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - Resource labels to represent user-provided metadata.
        Returns:
        builder
      • labels

        public ConnectivityTestArgs.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - Resource labels to represent user-provided metadata.
        Returns:
        builder
      • name

        public ConnectivityTestArgs.Builder name​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Unique name for the connectivity test.
        Returns:
        builder
      • name

        public ConnectivityTestArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Unique name for the connectivity test.
        Returns:
        builder
      • project

        public ConnectivityTestArgs.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 ConnectivityTestArgs.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
      • protocol

        public ConnectivityTestArgs.Builder protocol​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> protocol)
        Parameters:
        protocol - IP Protocol of the test. When not provided, "TCP" is assumed.
        Returns:
        builder
      • protocol

        public ConnectivityTestArgs.Builder protocol​(java.lang.String protocol)
        Parameters:
        protocol - IP Protocol of the test. When not provided, "TCP" is assumed.
        Returns:
        builder
      • relatedProjects

        public ConnectivityTestArgs.Builder relatedProjects​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> relatedProjects)
        Parameters:
        relatedProjects - Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.
        Returns:
        builder
      • relatedProjects

        public ConnectivityTestArgs.Builder relatedProjects​(java.util.List<java.lang.String> relatedProjects)
        Parameters:
        relatedProjects - Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.
        Returns:
        builder
      • relatedProjects

        public ConnectivityTestArgs.Builder relatedProjects​(java.lang.String... relatedProjects)
        Parameters:
        relatedProjects - Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries.
        Returns:
        builder
      • source

        public ConnectivityTestArgs.Builder source​(com.pulumi.core.Output<ConnectivityTestSourceArgs> source)
        Parameters:
        source - Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test. Structure is documented below.
        Returns:
        builder
      • source

        public ConnectivityTestArgs.Builder source​(ConnectivityTestSourceArgs source)
        Parameters:
        source - Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test. Structure is documented below.
        Returns:
        builder