Class PortForwardingV2Args.Builder

  • Enclosing class:
    PortForwardingV2Args

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

      • description

        public PortForwardingV2Args.Builder description​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A text describing the port forwarding. Changing this updates the `description` of an existing port forwarding.
        Returns:
        builder
      • description

        public PortForwardingV2Args.Builder description​(java.lang.String description)
        Parameters:
        description - A text describing the port forwarding. Changing this updates the `description` of an existing port forwarding.
        Returns:
        builder
      • externalPort

        public PortForwardingV2Args.Builder externalPort​(com.pulumi.core.Output<java.lang.Integer> externalPort)
        Parameters:
        externalPort - The TCP/UDP/other protocol port number of the port forwarding. Changing this updates the `external_port` of an existing port forwarding.
        Returns:
        builder
      • externalPort

        public PortForwardingV2Args.Builder externalPort​(java.lang.Integer externalPort)
        Parameters:
        externalPort - The TCP/UDP/other protocol port number of the port forwarding. Changing this updates the `external_port` of an existing port forwarding.
        Returns:
        builder
      • floatingipId

        public PortForwardingV2Args.Builder floatingipId​(com.pulumi.core.Output<java.lang.String> floatingipId)
        Parameters:
        floatingipId - The ID of the Neutron floating IP address. Changing this creates a new port forwarding.
        Returns:
        builder
      • floatingipId

        public PortForwardingV2Args.Builder floatingipId​(java.lang.String floatingipId)
        Parameters:
        floatingipId - The ID of the Neutron floating IP address. Changing this creates a new port forwarding.
        Returns:
        builder
      • internalIpAddress

        public PortForwardingV2Args.Builder internalIpAddress​(com.pulumi.core.Output<java.lang.String> internalIpAddress)
        Parameters:
        internalIpAddress - The fixed IPv4 address of the Neutron port associated with the port forwarding. Changing this updates the `internal_ip_address` of an existing port forwarding.
        Returns:
        builder
      • internalIpAddress

        public PortForwardingV2Args.Builder internalIpAddress​(java.lang.String internalIpAddress)
        Parameters:
        internalIpAddress - The fixed IPv4 address of the Neutron port associated with the port forwarding. Changing this updates the `internal_ip_address` of an existing port forwarding.
        Returns:
        builder
      • internalPort

        public PortForwardingV2Args.Builder internalPort​(com.pulumi.core.Output<java.lang.Integer> internalPort)
        Parameters:
        internalPort - The TCP/UDP/other protocol port number of the Neutron port fixed IP address associated to the port forwarding. Changing this updates the `internal_port` of an existing port forwarding.
        Returns:
        builder
      • internalPort

        public PortForwardingV2Args.Builder internalPort​(java.lang.Integer internalPort)
        Parameters:
        internalPort - The TCP/UDP/other protocol port number of the Neutron port fixed IP address associated to the port forwarding. Changing this updates the `internal_port` of an existing port forwarding.
        Returns:
        builder
      • internalPortId

        public PortForwardingV2Args.Builder internalPortId​(com.pulumi.core.Output<java.lang.String> internalPortId)
        Parameters:
        internalPortId - The ID of the Neutron port associated with the port forwarding. Changing this updates the `internal_port_id` of an existing port forwarding.
        Returns:
        builder
      • internalPortId

        public PortForwardingV2Args.Builder internalPortId​(java.lang.String internalPortId)
        Parameters:
        internalPortId - The ID of the Neutron port associated with the port forwarding. Changing this updates the `internal_port_id` of an existing port forwarding.
        Returns:
        builder
      • protocol

        public PortForwardingV2Args.Builder protocol​(com.pulumi.core.Output<java.lang.String> protocol)
        Parameters:
        protocol - The IP protocol used in the port forwarding. Changing this updates the `protocol` of an existing port forwarding.
        Returns:
        builder
      • protocol

        public PortForwardingV2Args.Builder protocol​(java.lang.String protocol)
        Parameters:
        protocol - The IP protocol used in the port forwarding. Changing this updates the `protocol` of an existing port forwarding.
        Returns:
        builder
      • region

        public PortForwardingV2Args.Builder region​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region in which to obtain the V2 networking client. A networking client is needed to create a port forwarding. If omitted, the `region` argument of the provider is used. Changing this creates a new port forwarding.
        Returns:
        builder
      • region

        public PortForwardingV2Args.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to obtain the V2 networking client. A networking client is needed to create a port forwarding. If omitted, the `region` argument of the provider is used. Changing this creates a new port forwarding.
        Returns:
        builder