Class PortForwardingV2State.Builder
- java.lang.Object
-
- com.pulumi.openstack.networking.inputs.PortForwardingV2State.Builder
-
- Enclosing class:
- PortForwardingV2State
public static final class PortForwardingV2State.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(PortForwardingV2State defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortForwardingV2Statebuild()PortForwardingV2State.Builderdescription(com.pulumi.core.Output<java.lang.String> description)PortForwardingV2State.Builderdescription(java.lang.String description)PortForwardingV2State.BuilderexternalPort(com.pulumi.core.Output<java.lang.Integer> externalPort)PortForwardingV2State.BuilderexternalPort(java.lang.Integer externalPort)PortForwardingV2State.BuilderfloatingipId(com.pulumi.core.Output<java.lang.String> floatingipId)PortForwardingV2State.BuilderfloatingipId(java.lang.String floatingipId)PortForwardingV2State.BuilderinternalIpAddress(com.pulumi.core.Output<java.lang.String> internalIpAddress)PortForwardingV2State.BuilderinternalIpAddress(java.lang.String internalIpAddress)PortForwardingV2State.BuilderinternalPort(com.pulumi.core.Output<java.lang.Integer> internalPort)PortForwardingV2State.BuilderinternalPort(java.lang.Integer internalPort)PortForwardingV2State.BuilderinternalPortId(com.pulumi.core.Output<java.lang.String> internalPortId)PortForwardingV2State.BuilderinternalPortId(java.lang.String internalPortId)PortForwardingV2State.Builderprotocol(com.pulumi.core.Output<java.lang.String> protocol)PortForwardingV2State.Builderprotocol(java.lang.String protocol)PortForwardingV2State.Builderregion(com.pulumi.core.Output<java.lang.String> region)PortForwardingV2State.Builderregion(java.lang.String region)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PortForwardingV2State defaults)
-
-
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
-
build
public PortForwardingV2State build()
-
-