Class VipState.Builder
- java.lang.Object
-
- com.pulumi.openstack.loadbalancer.inputs.VipState.Builder
-
- Enclosing class:
- VipState
public static final class VipState.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VipState.Builderaddress(com.pulumi.core.Output<java.lang.String> address)VipState.Builderaddress(java.lang.String address)VipState.BuilderadminStateUp(com.pulumi.core.Output<java.lang.Boolean> adminStateUp)VipState.BuilderadminStateUp(java.lang.Boolean adminStateUp)VipStatebuild()VipState.BuilderconnLimit(com.pulumi.core.Output<java.lang.Integer> connLimit)VipState.BuilderconnLimit(java.lang.Integer connLimit)VipState.Builderdescription(com.pulumi.core.Output<java.lang.String> description)VipState.Builderdescription(java.lang.String description)VipState.BuilderfloatingIp(com.pulumi.core.Output<java.lang.String> floatingIp)VipState.BuilderfloatingIp(java.lang.String floatingIp)VipState.Buildername(com.pulumi.core.Output<java.lang.String> name)VipState.Buildername(java.lang.String name)VipState.Builderpersistence(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> persistence)VipState.Builderpersistence(java.util.Map<java.lang.String,java.lang.Object> persistence)VipState.BuilderpoolId(com.pulumi.core.Output<java.lang.String> poolId)VipState.BuilderpoolId(java.lang.String poolId)VipState.Builderport(com.pulumi.core.Output<java.lang.Integer> port)VipState.Builderport(java.lang.Integer port)VipState.BuilderportId(com.pulumi.core.Output<java.lang.String> portId)VipState.BuilderportId(java.lang.String portId)VipState.Builderprotocol(com.pulumi.core.Output<java.lang.String> protocol)VipState.Builderprotocol(java.lang.String protocol)VipState.Builderregion(com.pulumi.core.Output<java.lang.String> region)VipState.Builderregion(java.lang.String region)VipState.BuildersubnetId(com.pulumi.core.Output<java.lang.String> subnetId)VipState.BuildersubnetId(java.lang.String subnetId)VipState.BuildertenantId(com.pulumi.core.Output<java.lang.String> tenantId)VipState.BuildertenantId(java.lang.String tenantId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VipState defaults)
-
-
Method Detail
-
address
public VipState.Builder address(@Nullable com.pulumi.core.Output<java.lang.String> address)
- Parameters:
address- The IP address of the vip. Changing this creates a new vip.- Returns:
- builder
-
address
public VipState.Builder address(java.lang.String address)
- Parameters:
address- The IP address of the vip. Changing this creates a new vip.- Returns:
- builder
-
adminStateUp
public VipState.Builder adminStateUp(@Nullable com.pulumi.core.Output<java.lang.Boolean> adminStateUp)
- Parameters:
adminStateUp- The administrative state of the vip. Acceptable values are "true" and "false". Changing this value updates the state of the existing vip.- Returns:
- builder
-
adminStateUp
public VipState.Builder adminStateUp(java.lang.Boolean adminStateUp)
- Parameters:
adminStateUp- The administrative state of the vip. Acceptable values are "true" and "false". Changing this value updates the state of the existing vip.- Returns:
- builder
-
connLimit
public VipState.Builder connLimit(@Nullable com.pulumi.core.Output<java.lang.Integer> connLimit)
- Parameters:
connLimit- The maximum number of connections allowed for the vip. Default is -1, meaning no limit. Changing this updates the conn_limit of the existing vip.- Returns:
- builder
-
connLimit
public VipState.Builder connLimit(java.lang.Integer connLimit)
- Parameters:
connLimit- The maximum number of connections allowed for the vip. Default is -1, meaning no limit. Changing this updates the conn_limit of the existing vip.- Returns:
- builder
-
description
public VipState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Human-readable description for the vip. Changing this updates the description of the existing vip.- Returns:
- builder
-
description
public VipState.Builder description(java.lang.String description)
- Parameters:
description- Human-readable description for the vip. Changing this updates the description of the existing vip.- Returns:
- builder
-
floatingIp
public VipState.Builder floatingIp(@Nullable com.pulumi.core.Output<java.lang.String> floatingIp)
- Parameters:
floatingIp- A *Networking* Floating IP that will be associated with the vip. The Floating IP must be provisioned already.- Returns:
- builder
-
floatingIp
public VipState.Builder floatingIp(java.lang.String floatingIp)
- Parameters:
floatingIp- A *Networking* Floating IP that will be associated with the vip. The Floating IP must be provisioned already.- Returns:
- builder
-
name
public VipState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the vip. Changing this updates the name of the existing vip.- Returns:
- builder
-
name
public VipState.Builder name(java.lang.String name)
- Parameters:
name- The name of the vip. Changing this updates the name of the existing vip.- Returns:
- builder
-
persistence
public VipState.Builder persistence(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> persistence)
- Parameters:
persistence- Omit this field to prevent session persistence. The persistence object structure is documented below. Changing this updates the persistence of the existing vip.- Returns:
- builder
-
persistence
public VipState.Builder persistence(java.util.Map<java.lang.String,java.lang.Object> persistence)
- Parameters:
persistence- Omit this field to prevent session persistence. The persistence object structure is documented below. Changing this updates the persistence of the existing vip.- Returns:
- builder
-
poolId
public VipState.Builder poolId(@Nullable com.pulumi.core.Output<java.lang.String> poolId)
- Parameters:
poolId- The ID of the pool with which the vip is associated. Changing this updates the pool_id of the existing vip.- Returns:
- builder
-
poolId
public VipState.Builder poolId(java.lang.String poolId)
- Parameters:
poolId- The ID of the pool with which the vip is associated. Changing this updates the pool_id of the existing vip.- Returns:
- builder
-
port
public VipState.Builder port(@Nullable com.pulumi.core.Output<java.lang.Integer> port)
- Parameters:
port- The port on which to listen for client traffic. Changing this creates a new vip.- Returns:
- builder
-
port
public VipState.Builder port(java.lang.Integer port)
- Parameters:
port- The port on which to listen for client traffic. Changing this creates a new vip.- Returns:
- builder
-
portId
public VipState.Builder portId(@Nullable com.pulumi.core.Output<java.lang.String> portId)
- Parameters:
portId- Port UUID for this VIP at associated floating IP (if any).- Returns:
- builder
-
portId
public VipState.Builder portId(java.lang.String portId)
- Parameters:
portId- Port UUID for this VIP at associated floating IP (if any).- Returns:
- builder
-
protocol
public VipState.Builder protocol(@Nullable com.pulumi.core.Output<java.lang.String> protocol)
- Parameters:
protocol- The protocol - can be either 'TCP, 'HTTP', or HTTPS'. Changing this creates a new vip.- Returns:
- builder
-
protocol
public VipState.Builder protocol(java.lang.String protocol)
- Parameters:
protocol- The protocol - can be either 'TCP, 'HTTP', or HTTPS'. Changing this creates a new vip.- Returns:
- builder
-
region
public VipState.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 VIP. If omitted, the `region` argument of the provider is used. Changing this creates a new VIP.- Returns:
- builder
-
region
public VipState.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 VIP. If omitted, the `region` argument of the provider is used. Changing this creates a new VIP.- Returns:
- builder
-
subnetId
public VipState.Builder subnetId(@Nullable com.pulumi.core.Output<java.lang.String> subnetId)
- Parameters:
subnetId- The network on which to allocate the vip's address. A tenant can only create vips on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new vip.- Returns:
- builder
-
subnetId
public VipState.Builder subnetId(java.lang.String subnetId)
- Parameters:
subnetId- The network on which to allocate the vip's address. A tenant can only create vips on networks authorized by policy (e.g. networks that belong to them or networks that are shared). Changing this creates a new vip.- Returns:
- builder
-
tenantId
public VipState.Builder tenantId(@Nullable com.pulumi.core.Output<java.lang.String> tenantId)
- Parameters:
tenantId- The owner of the vip. Required if admin wants to create a vip member for another tenant. Changing this creates a new vip.- Returns:
- builder
-
tenantId
public VipState.Builder tenantId(java.lang.String tenantId)
- Parameters:
tenantId- The owner of the vip. Required if admin wants to create a vip member for another tenant. Changing this creates a new vip.- Returns:
- builder
-
build
public VipState build()
-
-