Class SubnetPoolState.Builder

  • Enclosing class:
    SubnetPoolState

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

      • Builder

        public Builder()
    • Method Detail

      • addressScopeId

        public SubnetPoolState.Builder addressScopeId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> addressScopeId)
        Parameters:
        addressScopeId - The Neutron address scope to assign to the subnetpool. Changing this updates the address scope id of the existing subnetpool.
        Returns:
        builder
      • addressScopeId

        public SubnetPoolState.Builder addressScopeId​(java.lang.String addressScopeId)
        Parameters:
        addressScopeId - The Neutron address scope to assign to the subnetpool. Changing this updates the address scope id of the existing subnetpool.
        Returns:
        builder
      • allTags

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

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

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

        public SubnetPoolState.Builder createdAt​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> createdAt)
        Parameters:
        createdAt - The time at which subnetpool was created.
        Returns:
        builder
      • createdAt

        public SubnetPoolState.Builder createdAt​(java.lang.String createdAt)
        Parameters:
        createdAt - The time at which subnetpool was created.
        Returns:
        builder
      • defaultPrefixlen

        public SubnetPoolState.Builder defaultPrefixlen​(@Nullable
                                                        com.pulumi.core.Output<java.lang.Integer> defaultPrefixlen)
        Parameters:
        defaultPrefixlen - The size of the prefix to allocate when the cidr or prefixlen attributes are omitted when you create the subnet. Defaults to the MinPrefixLen. Changing this updates the default prefixlen of the existing subnetpool.
        Returns:
        builder
      • defaultPrefixlen

        public SubnetPoolState.Builder defaultPrefixlen​(java.lang.Integer defaultPrefixlen)
        Parameters:
        defaultPrefixlen - The size of the prefix to allocate when the cidr or prefixlen attributes are omitted when you create the subnet. Defaults to the MinPrefixLen. Changing this updates the default prefixlen of the existing subnetpool.
        Returns:
        builder
      • defaultQuota

        public SubnetPoolState.Builder defaultQuota​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Integer> defaultQuota)
        Parameters:
        defaultQuota - The per-project quota on the prefix space that can be allocated from the subnetpool for project subnets. Changing this updates the default quota of the existing subnetpool.
        Returns:
        builder
      • defaultQuota

        public SubnetPoolState.Builder defaultQuota​(java.lang.Integer defaultQuota)
        Parameters:
        defaultQuota - The per-project quota on the prefix space that can be allocated from the subnetpool for project subnets. Changing this updates the default quota of the existing subnetpool.
        Returns:
        builder
      • description

        public SubnetPoolState.Builder description​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - The human-readable description for the subnetpool. Changing this updates the description of the existing subnetpool.
        Returns:
        builder
      • description

        public SubnetPoolState.Builder description​(java.lang.String description)
        Parameters:
        description - The human-readable description for the subnetpool. Changing this updates the description of the existing subnetpool.
        Returns:
        builder
      • ipVersion

        public SubnetPoolState.Builder ipVersion​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Integer> ipVersion)
        Parameters:
        ipVersion - The IP protocol version.
        Returns:
        builder
      • ipVersion

        public SubnetPoolState.Builder ipVersion​(java.lang.Integer ipVersion)
        Parameters:
        ipVersion - The IP protocol version.
        Returns:
        builder
      • isDefault

        public SubnetPoolState.Builder isDefault​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Boolean> isDefault)
        Parameters:
        isDefault - Indicates whether the subnetpool is default subnetpool or not. Changing this updates the default status of the existing subnetpool.
        Returns:
        builder
      • isDefault

        public SubnetPoolState.Builder isDefault​(java.lang.Boolean isDefault)
        Parameters:
        isDefault - Indicates whether the subnetpool is default subnetpool or not. Changing this updates the default status of the existing subnetpool.
        Returns:
        builder
      • maxPrefixlen

        public SubnetPoolState.Builder maxPrefixlen​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Integer> maxPrefixlen)
        Parameters:
        maxPrefixlen - The maximum prefix size that can be allocated from the subnetpool. For IPv4 subnetpools, default is 32. For IPv6 subnetpools, default is 128. Changing this updates the max prefixlen of the existing subnetpool.
        Returns:
        builder
      • maxPrefixlen

        public SubnetPoolState.Builder maxPrefixlen​(java.lang.Integer maxPrefixlen)
        Parameters:
        maxPrefixlen - The maximum prefix size that can be allocated from the subnetpool. For IPv4 subnetpools, default is 32. For IPv6 subnetpools, default is 128. Changing this updates the max prefixlen of the existing subnetpool.
        Returns:
        builder
      • minPrefixlen

        public SubnetPoolState.Builder minPrefixlen​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Integer> minPrefixlen)
        Parameters:
        minPrefixlen - The smallest prefix that can be allocated from a subnetpool. For IPv4 subnetpools, default is 8. For IPv6 subnetpools, default is 64. Changing this updates the min prefixlen of the existing subnetpool.
        Returns:
        builder
      • minPrefixlen

        public SubnetPoolState.Builder minPrefixlen​(java.lang.Integer minPrefixlen)
        Parameters:
        minPrefixlen - The smallest prefix that can be allocated from a subnetpool. For IPv4 subnetpools, default is 8. For IPv6 subnetpools, default is 64. Changing this updates the min prefixlen of the existing subnetpool.
        Returns:
        builder
      • name

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

        public SubnetPoolState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the subnetpool. Changing this updates the name of the existing subnetpool.
        Returns:
        builder
      • prefixes

        public SubnetPoolState.Builder prefixes​(@Nullable
                                                com.pulumi.core.Output<java.util.List<java.lang.String>> prefixes)
        Parameters:
        prefixes - A list of subnet prefixes to assign to the subnetpool. Neutron API merges adjacent prefixes and treats them as a single prefix. Each subnet prefix must be unique among all subnet prefixes in all subnetpools that are associated with the address scope. Changing this updates the prefixes list of the existing subnetpool.
        Returns:
        builder
      • prefixes

        public SubnetPoolState.Builder prefixes​(java.util.List<java.lang.String> prefixes)
        Parameters:
        prefixes - A list of subnet prefixes to assign to the subnetpool. Neutron API merges adjacent prefixes and treats them as a single prefix. Each subnet prefix must be unique among all subnet prefixes in all subnetpools that are associated with the address scope. Changing this updates the prefixes list of the existing subnetpool.
        Returns:
        builder
      • prefixes

        public SubnetPoolState.Builder prefixes​(java.lang.String... prefixes)
        Parameters:
        prefixes - A list of subnet prefixes to assign to the subnetpool. Neutron API merges adjacent prefixes and treats them as a single prefix. Each subnet prefix must be unique among all subnet prefixes in all subnetpools that are associated with the address scope. Changing this updates the prefixes list of the existing subnetpool.
        Returns:
        builder
      • projectId

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

        public SubnetPoolState.Builder projectId​(java.lang.String projectId)
        Parameters:
        projectId - The owner of the subnetpool. Required if admin wants to create a subnetpool for another project. Changing this creates a new subnetpool.
        Returns:
        builder
      • region

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

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

        public SubnetPoolState.Builder revisionNumber​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> revisionNumber)
        Parameters:
        revisionNumber - The revision number of the subnetpool.
        Returns:
        builder
      • revisionNumber

        public SubnetPoolState.Builder revisionNumber​(java.lang.Integer revisionNumber)
        Parameters:
        revisionNumber - The revision number of the subnetpool.
        Returns:
        builder
      • shared

        public SubnetPoolState.Builder shared​(@Nullable
                                              com.pulumi.core.Output<java.lang.Boolean> shared)
        Parameters:
        shared - Indicates whether this subnetpool is shared across all projects. Changing this updates the shared status of the existing subnetpool.
        Returns:
        builder
      • shared

        public SubnetPoolState.Builder shared​(java.lang.Boolean shared)
        Parameters:
        shared - Indicates whether this subnetpool is shared across all projects. Changing this updates the shared status of the existing subnetpool.
        Returns:
        builder
      • tags

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

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

        public SubnetPoolState.Builder tags​(java.lang.String... tags)
        Parameters:
        tags - A set of string tags for the subnetpool.
        Returns:
        builder
      • updatedAt

        public SubnetPoolState.Builder updatedAt​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> updatedAt)
        Parameters:
        updatedAt - The time at which subnetpool was created.
        Returns:
        builder
      • updatedAt

        public SubnetPoolState.Builder updatedAt​(java.lang.String updatedAt)
        Parameters:
        updatedAt - The time at which subnetpool was created.
        Returns:
        builder
      • valueSpecs

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