Class NetworkState.Builder

  • Enclosing class:
    NetworkState

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

      • Builder

        public Builder()
    • Method Detail

      • adminStateUp

        public NetworkState.Builder adminStateUp​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Boolean> adminStateUp)
        Parameters:
        adminStateUp - The administrative state of the network. Acceptable values are "true" and "false". Changing this value updates the state of the existing network.
        Returns:
        builder
      • adminStateUp

        public NetworkState.Builder adminStateUp​(java.lang.Boolean adminStateUp)
        Parameters:
        adminStateUp - The administrative state of the network. Acceptable values are "true" and "false". Changing this value updates the state of the existing network.
        Returns:
        builder
      • allTags

        public NetworkState.Builder allTags​(@Nullable
                                            com.pulumi.core.Output<java.util.List<java.lang.String>> allTags)
        Parameters:
        allTags - The collection of tags assigned on the network, which have been explicitly and implicitly added.
        Returns:
        builder
      • allTags

        public NetworkState.Builder allTags​(java.util.List<java.lang.String> allTags)
        Parameters:
        allTags - The collection of tags assigned on the network, which have been explicitly and implicitly added.
        Returns:
        builder
      • allTags

        public NetworkState.Builder allTags​(java.lang.String... allTags)
        Parameters:
        allTags - The collection of tags assigned on the network, which have been explicitly and implicitly added.
        Returns:
        builder
      • availabilityZoneHints

        public NetworkState.Builder availabilityZoneHints​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> availabilityZoneHints)
        Parameters:
        availabilityZoneHints - An availability zone is used to make network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing this creates a new network.
        Returns:
        builder
      • availabilityZoneHints

        public NetworkState.Builder availabilityZoneHints​(java.util.List<java.lang.String> availabilityZoneHints)
        Parameters:
        availabilityZoneHints - An availability zone is used to make network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing this creates a new network.
        Returns:
        builder
      • availabilityZoneHints

        public NetworkState.Builder availabilityZoneHints​(java.lang.String... availabilityZoneHints)
        Parameters:
        availabilityZoneHints - An availability zone is used to make network resources highly available. Used for resources with high availability so that they are scheduled on different availability zones. Changing this creates a new network.
        Returns:
        builder
      • description

        public NetworkState.Builder description​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Human-readable description of the network. Changing this updates the name of the existing network.
        Returns:
        builder
      • description

        public NetworkState.Builder description​(java.lang.String description)
        Parameters:
        description - Human-readable description of the network. Changing this updates the name of the existing network.
        Returns:
        builder
      • dnsDomain

        public NetworkState.Builder dnsDomain​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> dnsDomain)
        Parameters:
        dnsDomain - The network DNS domain. Available, when Neutron DNS extension is enabled. The `dns_domain` of a network in conjunction with the `dns_name` attribute of its ports will be published in an external DNS service when Neutron is configured to integrate with such a service.
        Returns:
        builder
      • dnsDomain

        public NetworkState.Builder dnsDomain​(java.lang.String dnsDomain)
        Parameters:
        dnsDomain - The network DNS domain. Available, when Neutron DNS extension is enabled. The `dns_domain` of a network in conjunction with the `dns_name` attribute of its ports will be published in an external DNS service when Neutron is configured to integrate with such a service.
        Returns:
        builder
      • external

        public NetworkState.Builder external​(@Nullable
                                             com.pulumi.core.Output<java.lang.Boolean> external)
        Parameters:
        external - Specifies whether the network resource has the external routing facility. Valid values are true and false. Defaults to false. Changing this updates the external attribute of the existing network.
        Returns:
        builder
      • external

        public NetworkState.Builder external​(java.lang.Boolean external)
        Parameters:
        external - Specifies whether the network resource has the external routing facility. Valid values are true and false. Defaults to false. Changing this updates the external attribute of the existing network.
        Returns:
        builder
      • mtu

        public NetworkState.Builder mtu​(@Nullable
                                        com.pulumi.core.Output<java.lang.Integer> mtu)
        Parameters:
        mtu - The network MTU. Available for read-only, when Neutron `net-mtu` extension is enabled. Available for the modification, when Neutron `net-mtu-writable` extension is enabled.
        Returns:
        builder
      • mtu

        public NetworkState.Builder mtu​(java.lang.Integer mtu)
        Parameters:
        mtu - The network MTU. Available for read-only, when Neutron `net-mtu` extension is enabled. Available for the modification, when Neutron `net-mtu-writable` extension is enabled.
        Returns:
        builder
      • name

        public NetworkState.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the network. Changing this updates the name of the existing network.
        Returns:
        builder
      • name

        public NetworkState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the network. Changing this updates the name of the existing network.
        Returns:
        builder
      • portSecurityEnabled

        public NetworkState.Builder portSecurityEnabled​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Boolean> portSecurityEnabled)
        Parameters:
        portSecurityEnabled - Whether to explicitly enable or disable port security on the network. Port Security is usually enabled by default, so omitting this argument will usually result in a value of "true". Setting this explicitly to `false` will disable port security. Valid values are `true` and `false`.
        Returns:
        builder
      • portSecurityEnabled

        public NetworkState.Builder portSecurityEnabled​(java.lang.Boolean portSecurityEnabled)
        Parameters:
        portSecurityEnabled - Whether to explicitly enable or disable port security on the network. Port Security is usually enabled by default, so omitting this argument will usually result in a value of "true". Setting this explicitly to `false` will disable port security. Valid values are `true` and `false`.
        Returns:
        builder
      • qosPolicyId

        public NetworkState.Builder qosPolicyId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> qosPolicyId)
        Parameters:
        qosPolicyId - Reference to the associated QoS policy.
        Returns:
        builder
      • qosPolicyId

        public NetworkState.Builder qosPolicyId​(java.lang.String qosPolicyId)
        Parameters:
        qosPolicyId - Reference to the associated QoS policy.
        Returns:
        builder
      • region

        public NetworkState.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 Neutron network. If omitted, the `region` argument of the provider is used. Changing this creates a new network.
        Returns:
        builder
      • region

        public NetworkState.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 Neutron network. If omitted, the `region` argument of the provider is used. Changing this creates a new network.
        Returns:
        builder
      • segments

        public NetworkState.Builder segments​(@Nullable
                                             com.pulumi.core.Output<java.util.List<NetworkSegmentArgs>> segments)
        Parameters:
        segments - An array of one or more provider segment objects. Note: most Networking plug-ins (e.g. ML2 Plugin) and drivers do not support updating any provider related segments attributes. Check your plug-in whether it supports updating.
        Returns:
        builder
      • segments

        public NetworkState.Builder segments​(java.util.List<NetworkSegmentArgs> segments)
        Parameters:
        segments - An array of one or more provider segment objects. Note: most Networking plug-ins (e.g. ML2 Plugin) and drivers do not support updating any provider related segments attributes. Check your plug-in whether it supports updating.
        Returns:
        builder
      • segments

        public NetworkState.Builder segments​(NetworkSegmentArgs... segments)
        Parameters:
        segments - An array of one or more provider segment objects. Note: most Networking plug-ins (e.g. ML2 Plugin) and drivers do not support updating any provider related segments attributes. Check your plug-in whether it supports updating.
        Returns:
        builder
      • shared

        public NetworkState.Builder shared​(@Nullable
                                           com.pulumi.core.Output<java.lang.Boolean> shared)
        Parameters:
        shared - Specifies whether the network resource can be accessed by any tenant or not. Changing this updates the sharing capabilities of the existing network.
        Returns:
        builder
      • shared

        public NetworkState.Builder shared​(java.lang.Boolean shared)
        Parameters:
        shared - Specifies whether the network resource can be accessed by any tenant or not. Changing this updates the sharing capabilities of the existing network.
        Returns:
        builder
      • tags

        public NetworkState.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.List<java.lang.String>> tags)
        Parameters:
        tags - A set of string tags for the network.
        Returns:
        builder
      • tags

        public NetworkState.Builder tags​(java.util.List<java.lang.String> tags)
        Parameters:
        tags - A set of string tags for the network.
        Returns:
        builder
      • tags

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

        public NetworkState.Builder tenantId​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> tenantId)
        Parameters:
        tenantId - The owner of the network. Required if admin wants to create a network for another tenant. Changing this creates a new network.
        Returns:
        builder
      • tenantId

        public NetworkState.Builder tenantId​(java.lang.String tenantId)
        Parameters:
        tenantId - The owner of the network. Required if admin wants to create a network for another tenant. Changing this creates a new network.
        Returns:
        builder
      • transparentVlan

        public NetworkState.Builder transparentVlan​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Boolean> transparentVlan)
        Parameters:
        transparentVlan - Specifies whether the network resource has the VLAN transparent attribute set. Valid values are true and false. Defaults to false. Changing this updates the `transparent_vlan` attribute of the existing network.
        Returns:
        builder
      • transparentVlan

        public NetworkState.Builder transparentVlan​(java.lang.Boolean transparentVlan)
        Parameters:
        transparentVlan - Specifies whether the network resource has the VLAN transparent attribute set. Valid values are true and false. Defaults to false. Changing this updates the `transparent_vlan` attribute of the existing network.
        Returns:
        builder
      • valueSpecs

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