Class FloatingIpState.Builder
- java.lang.Object
-
- com.pulumi.openstack.networking.inputs.FloatingIpState.Builder
-
- Enclosing class:
- FloatingIpState
public static final class FloatingIpState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(FloatingIpState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatingIpState.Builderaddress(com.pulumi.core.Output<java.lang.String> address)FloatingIpState.Builderaddress(java.lang.String address)FloatingIpState.BuilderallTags(com.pulumi.core.Output<java.util.List<java.lang.String>> allTags)FloatingIpState.BuilderallTags(java.lang.String... allTags)FloatingIpState.BuilderallTags(java.util.List<java.lang.String> allTags)FloatingIpStatebuild()FloatingIpState.Builderdescription(com.pulumi.core.Output<java.lang.String> description)FloatingIpState.Builderdescription(java.lang.String description)FloatingIpState.BuilderdnsDomain(com.pulumi.core.Output<java.lang.String> dnsDomain)FloatingIpState.BuilderdnsDomain(java.lang.String dnsDomain)FloatingIpState.BuilderdnsName(com.pulumi.core.Output<java.lang.String> dnsName)FloatingIpState.BuilderdnsName(java.lang.String dnsName)FloatingIpState.BuilderfixedIp(com.pulumi.core.Output<java.lang.String> fixedIp)FloatingIpState.BuilderfixedIp(java.lang.String fixedIp)FloatingIpState.Builderpool(com.pulumi.core.Output<java.lang.String> pool)FloatingIpState.Builderpool(java.lang.String pool)FloatingIpState.BuilderportId(com.pulumi.core.Output<java.lang.String> portId)FloatingIpState.BuilderportId(java.lang.String portId)FloatingIpState.Builderregion(com.pulumi.core.Output<java.lang.String> region)FloatingIpState.Builderregion(java.lang.String region)FloatingIpState.BuildersubnetId(com.pulumi.core.Output<java.lang.String> subnetId)FloatingIpState.BuildersubnetId(java.lang.String subnetId)FloatingIpState.BuildersubnetIds(com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)FloatingIpState.BuildersubnetIds(java.lang.String... subnetIds)FloatingIpState.BuildersubnetIds(java.util.List<java.lang.String> subnetIds)FloatingIpState.Buildertags(com.pulumi.core.Output<java.util.List<java.lang.String>> tags)FloatingIpState.Buildertags(java.lang.String... tags)FloatingIpState.Buildertags(java.util.List<java.lang.String> tags)FloatingIpState.BuildertenantId(com.pulumi.core.Output<java.lang.String> tenantId)FloatingIpState.BuildertenantId(java.lang.String tenantId)FloatingIpState.BuildervalueSpecs(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> valueSpecs)FloatingIpState.BuildervalueSpecs(java.util.Map<java.lang.String,java.lang.Object> valueSpecs)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FloatingIpState defaults)
-
-
Method Detail
-
address
public FloatingIpState.Builder address(@Nullable com.pulumi.core.Output<java.lang.String> address)
- Parameters:
address- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.- Returns:
- builder
-
address
public FloatingIpState.Builder address(java.lang.String address)
- Parameters:
address- The actual/specific floating IP to obtain. By default, non-admin users are not able to specify a floating IP, so you must either be an admin user or have had a custom policy or role applied to your OpenStack user or project.- Returns:
- builder
-
allTags
public FloatingIpState.Builder allTags(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> allTags)
- Parameters:
allTags- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.- Returns:
- builder
-
allTags
public FloatingIpState.Builder allTags(java.util.List<java.lang.String> allTags)
- Parameters:
allTags- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.- Returns:
- builder
-
allTags
public FloatingIpState.Builder allTags(java.lang.String... allTags)
- Parameters:
allTags- The collection of tags assigned on the floating IP, which have been explicitly and implicitly added.- Returns:
- builder
-
description
public FloatingIpState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Human-readable description for the floating IP.- Returns:
- builder
-
description
public FloatingIpState.Builder description(java.lang.String description)
- Parameters:
description- Human-readable description for the floating IP.- Returns:
- builder
-
dnsDomain
public FloatingIpState.Builder dnsDomain(@Nullable com.pulumi.core.Output<java.lang.String> dnsDomain)
- Parameters:
dnsDomain- The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.- Returns:
- builder
-
dnsDomain
public FloatingIpState.Builder dnsDomain(java.lang.String dnsDomain)
- Parameters:
dnsDomain- The floating IP DNS domain. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.- Returns:
- builder
-
dnsName
public FloatingIpState.Builder dnsName(@Nullable com.pulumi.core.Output<java.lang.String> dnsName)
- Parameters:
dnsName- The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.- Returns:
- builder
-
dnsName
public FloatingIpState.Builder dnsName(java.lang.String dnsName)
- Parameters:
dnsName- The floating IP DNS name. Available, when Neutron DNS extension is enabled. The data in this attribute will be published in an external DNS service when Neutron is configured to integrate with such a service. Changing this creates a new floating IP.- Returns:
- builder
-
fixedIp
public FloatingIpState.Builder fixedIp(@Nullable com.pulumi.core.Output<java.lang.String> fixedIp)
- Parameters:
fixedIp- Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.- Returns:
- builder
-
fixedIp
public FloatingIpState.Builder fixedIp(java.lang.String fixedIp)
- Parameters:
fixedIp- Fixed IP of the port to associate with this floating IP. Required if the port has multiple fixed IPs.- Returns:
- builder
-
pool
public FloatingIpState.Builder pool(@Nullable com.pulumi.core.Output<java.lang.String> pool)
- Parameters:
pool- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.- Returns:
- builder
-
pool
public FloatingIpState.Builder pool(java.lang.String pool)
- Parameters:
pool- The name of the pool from which to obtain the floating IP. Changing this creates a new floating IP.- Returns:
- builder
-
portId
public FloatingIpState.Builder portId(@Nullable com.pulumi.core.Output<java.lang.String> portId)
- Parameters:
portId- ID of an existing port with at least one IP address to associate with this floating IP.- Returns:
- builder
-
portId
public FloatingIpState.Builder portId(java.lang.String portId)
- Parameters:
portId- ID of an existing port with at least one IP address to associate with this floating IP.- Returns:
- builder
-
region
public FloatingIpState.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 floating IP that can be used with another networking resource, such as a load balancer. If omitted, the `region` argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).- Returns:
- builder
-
region
public FloatingIpState.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 floating IP that can be used with another networking resource, such as a load balancer. If omitted, the `region` argument of the provider is used. Changing this creates a new floating IP (which may or may not have a different address).- Returns:
- builder
-
subnetId
public FloatingIpState.Builder subnetId(@Nullable com.pulumi.core.Output<java.lang.String> subnetId)
- Parameters:
subnetId- The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.- Returns:
- builder
-
subnetId
public FloatingIpState.Builder subnetId(java.lang.String subnetId)
- Parameters:
subnetId- The subnet ID of the floating IP pool. Specify this if the floating IP network has multiple subnets.- Returns:
- builder
-
subnetIds
public FloatingIpState.Builder subnetIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)
- Parameters:
subnetIds- A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a `subnet_id` argument.- Returns:
- builder
-
subnetIds
public FloatingIpState.Builder subnetIds(java.util.List<java.lang.String> subnetIds)
- Parameters:
subnetIds- A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a `subnet_id` argument.- Returns:
- builder
-
subnetIds
public FloatingIpState.Builder subnetIds(java.lang.String... subnetIds)
- Parameters:
subnetIds- A list of external subnet IDs to try over each to allocate a floating IP address. If a subnet ID in a list has exhausted floating IP pool, the next subnet ID will be tried. This argument is used only during the resource creation. Conflicts with a `subnet_id` argument.- Returns:
- builder
-
tags
public FloatingIpState.Builder tags(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> tags)
- Parameters:
tags- A set of string tags for the floating IP.- Returns:
- builder
-
tags
public FloatingIpState.Builder tags(java.util.List<java.lang.String> tags)
- Parameters:
tags- A set of string tags for the floating IP.- Returns:
- builder
-
tags
public FloatingIpState.Builder tags(java.lang.String... tags)
- Parameters:
tags- A set of string tags for the floating IP.- Returns:
- builder
-
tenantId
public FloatingIpState.Builder tenantId(@Nullable com.pulumi.core.Output<java.lang.String> tenantId)
- Parameters:
tenantId- The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)- Returns:
- builder
-
tenantId
public FloatingIpState.Builder tenantId(java.lang.String tenantId)
- Parameters:
tenantId- The target tenant ID in which to allocate the floating IP, if you specify this together with a port_id, make sure the target port belongs to the same tenant. Changing this creates a new floating IP (which may or may not have a different address)- Returns:
- builder
-
valueSpecs
public FloatingIpState.Builder valueSpecs(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> valueSpecs)
- Parameters:
valueSpecs- Map of additional options.- Returns:
- builder
-
valueSpecs
public FloatingIpState.Builder valueSpecs(java.util.Map<java.lang.String,java.lang.Object> valueSpecs)
- Parameters:
valueSpecs- Map of additional options.- Returns:
- builder
-
build
public FloatingIpState build()
-
-