Class PortForwardingV2State.Builder

  • Enclosing class:
    PortForwardingV2State

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

      • description

        public PortForwardingV2State.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 PortForwardingV2State.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 PortForwardingV2State.Builder externalPort​(@Nullable
                                                          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 PortForwardingV2State.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 PortForwardingV2State.Builder floatingipId​(@Nullable
                                                          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 PortForwardingV2State.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 PortForwardingV2State.Builder internalIpAddress​(@Nullable
                                                               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 PortForwardingV2State.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 PortForwardingV2State.Builder internalPort​(@Nullable
                                                          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 PortForwardingV2State.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 PortForwardingV2State.Builder internalPortId​(@Nullable
                                                            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 PortForwardingV2State.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 PortForwardingV2State.Builder protocol​(@Nullable
                                                      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 PortForwardingV2State.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 PortForwardingV2State.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 PortForwardingV2State.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