Class FloatingIpArgs.Builder

  • Enclosing class:
    FloatingIpArgs

    public static final class FloatingIpArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • address

        public FloatingIpArgs.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 FloatingIpArgs.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
      • description

        public FloatingIpArgs.Builder description​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Human-readable description for the floating IP.
        Returns:
        builder
      • description

        public FloatingIpArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Human-readable description for the floating IP.
        Returns:
        builder
      • dnsDomain

        public FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.Builder pool​(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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.Builder tags​(java.util.List<java.lang.String> tags)
        Parameters:
        tags - A set of string tags for the floating IP.
        Returns:
        builder
      • tags

        public FloatingIpArgs.Builder tags​(java.lang.String... tags)
        Parameters:
        tags - A set of string tags for the floating IP.
        Returns:
        builder
      • tenantId

        public FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.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 FloatingIpArgs.Builder valueSpecs​(java.util.Map<java.lang.String,​java.lang.Object> valueSpecs)
        Parameters:
        valueSpecs - Map of additional options.
        Returns:
        builder