Class NodePoolState.Builder

  • Enclosing class:
    NodePoolState

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

      • Builder

        public Builder()
    • Method Detail

      • cluster

        public NodePoolState.Builder cluster​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> cluster)
        Parameters:
        cluster - The name of the target Distributed Cloud Edge Cluster. ***
        Returns:
        builder
      • cluster

        public NodePoolState.Builder cluster​(java.lang.String cluster)
        Parameters:
        cluster - The name of the target Distributed Cloud Edge Cluster. ***
        Returns:
        builder
      • createTime

        public NodePoolState.Builder createTime​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> createTime)
        Parameters:
        createTime - The time when the node pool was created.
        Returns:
        builder
      • createTime

        public NodePoolState.Builder createTime​(java.lang.String createTime)
        Parameters:
        createTime - The time when the node pool was created.
        Returns:
        builder
      • effectiveLabels

        public NodePoolState.Builder effectiveLabels​(@Nullable
                                                     com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> effectiveLabels)
        Parameters:
        effectiveLabels - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
        Returns:
        builder
      • effectiveLabels

        public NodePoolState.Builder effectiveLabels​(java.util.Map<java.lang.String,​java.lang.String> effectiveLabels)
        Parameters:
        effectiveLabels - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
        Returns:
        builder
      • labels

        public NodePoolState.Builder labels​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - Labels associated with this resource. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
        Returns:
        builder
      • labels

        public NodePoolState.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - Labels associated with this resource. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
        Returns:
        builder
      • localDiskEncryption

        public NodePoolState.Builder localDiskEncryption​(@Nullable
                                                         com.pulumi.core.Output<NodePoolLocalDiskEncryptionArgs> localDiskEncryption)
        Parameters:
        localDiskEncryption - Local disk encryption options. This field is only used when enabling CMEK support. Structure is documented below.
        Returns:
        builder
      • localDiskEncryption

        public NodePoolState.Builder localDiskEncryption​(NodePoolLocalDiskEncryptionArgs localDiskEncryption)
        Parameters:
        localDiskEncryption - Local disk encryption options. This field is only used when enabling CMEK support. Structure is documented below.
        Returns:
        builder
      • location

        public NodePoolState.Builder location​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - The location of the resource.
        Returns:
        builder
      • location

        public NodePoolState.Builder location​(java.lang.String location)
        Parameters:
        location - The location of the resource.
        Returns:
        builder
      • machineFilter

        public NodePoolState.Builder machineFilter​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> machineFilter)
        Parameters:
        machineFilter - Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=<name>", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
        Returns:
        builder
      • machineFilter

        public NodePoolState.Builder machineFilter​(java.lang.String machineFilter)
        Parameters:
        machineFilter - Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=<name>", and is documented in more detail in [AIP-160](https://google.aip.dev/160).
        Returns:
        builder
      • name

        public NodePoolState.Builder name​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The resource name of the node pool.
        Returns:
        builder
      • name

        public NodePoolState.Builder name​(java.lang.String name)
        Parameters:
        name - The resource name of the node pool.
        Returns:
        builder
      • nodeConfig

        public NodePoolState.Builder nodeConfig​(@Nullable
                                                com.pulumi.core.Output<NodePoolNodeConfigArgs> nodeConfig)
        Parameters:
        nodeConfig - Configuration for each node in the NodePool Structure is documented below.
        Returns:
        builder
      • nodeCount

        public NodePoolState.Builder nodeCount​(@Nullable
                                               com.pulumi.core.Output<java.lang.Integer> nodeCount)
        Parameters:
        nodeCount - The number of nodes in the pool.
        Returns:
        builder
      • nodeCount

        public NodePoolState.Builder nodeCount​(java.lang.Integer nodeCount)
        Parameters:
        nodeCount - The number of nodes in the pool.
        Returns:
        builder
      • nodeLocation

        public NodePoolState.Builder nodeLocation​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> nodeLocation)
        Parameters:
        nodeLocation - Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.
        Returns:
        builder
      • nodeLocation

        public NodePoolState.Builder nodeLocation​(java.lang.String nodeLocation)
        Parameters:
        nodeLocation - Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`.
        Returns:
        builder
      • nodeVersion

        public NodePoolState.Builder nodeVersion​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> nodeVersion)
        Parameters:
        nodeVersion - The lowest release version among all worker nodes.
        Returns:
        builder
      • nodeVersion

        public NodePoolState.Builder nodeVersion​(java.lang.String nodeVersion)
        Parameters:
        nodeVersion - The lowest release version among all worker nodes.
        Returns:
        builder
      • project

        public NodePoolState.Builder project​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public NodePoolState.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • pulumiLabels

        public NodePoolState.Builder pulumiLabels​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> pulumiLabels)
        Parameters:
        pulumiLabels - The combination of labels configured directly on the resource and default labels configured on the provider.
        Returns:
        builder
      • pulumiLabels

        public NodePoolState.Builder pulumiLabels​(java.util.Map<java.lang.String,​java.lang.String> pulumiLabels)
        Parameters:
        pulumiLabels - The combination of labels configured directly on the resource and default labels configured on the provider.
        Returns:
        builder
      • updateTime

        public NodePoolState.Builder updateTime​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> updateTime)
        Parameters:
        updateTime - The time when the node pool was last updated.
        Returns:
        builder
      • updateTime

        public NodePoolState.Builder updateTime​(java.lang.String updateTime)
        Parameters:
        updateTime - The time when the node pool was last updated.
        Returns:
        builder